Added documents support for spoilers

This commit is contained in:
Profitroll
2023-01-05 21:15:34 +01:00
parent 67f1ce535f
commit 1195df894c
5 changed files with 16 additions and 3 deletions

View File

@@ -8,6 +8,7 @@
"photo",
"video",
"animation",
"document",
"caption",
"text"
],
@@ -41,6 +42,10 @@
"bsonType": ["string", "null"],
"description": "Spoilered animation/GIF"
},
"document": {
"bsonType": ["string", "null"],
"description": "Spoilered document/file"
},
"caption": {
"bsonType": ["string", "null"],
"description": "Spoilered caption for media"