Added basic support of Bot API 6.6

This commit is contained in:
Alex Root Junior 2023-03-09 00:29:58 +02:00
parent 5adaf7a567
commit 824df34534
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
109 changed files with 2907 additions and 25 deletions

View file

@ -0,0 +1,35 @@
{
"meta": {
"deprecated": false
},
"group": {
"title": "Upcoming update",
"anchor": "upcoming-update"
},
"object": {
"anchor": "setstickerkeywords",
"name": "setStickerKeywords",
"description": "Use this method to change search keywords assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success.",
"html_description": "<p>Use this method to change search keywords assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns <em>True</em> on success.</p>",
"rst_description": "Use this method to change search keywords assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns :code:`True` on success.",
"annotations": [
{
"type": "String",
"required": true,
"description": "File identifier of the sticker",
"html_description": "<td>File identifier of the sticker</td>",
"rst_description": "File identifier of the sticker\n",
"name": "sticker"
},
{
"type": "Array of String",
"required": false,
"description": "A JSON-serialized list of 0-20 search keywords for the sticker with total length of up to 64 characters",
"html_description": "<td>A JSON-serialized list of 0-20 search keywords for the sticker with total length of up to 64 characters</td>",
"rst_description": "A JSON-serialized list of 0-20 search keywords for the sticker with total length of up to 64 characters\n",
"name": "keywords"
}
],
"category": "methods"
}
}