mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Bot API 6.6 (#1139)
* Added basic support of Bot API 6.6 * Update descriptions * Added StickerFormat enum * Bump version * Refresh from docs * Fixed CommandStart * Fixed files uploading * Cover new functionality * Added changelog * Update texts
This commit is contained in:
parent
5adaf7a567
commit
6570d0bab1
218 changed files with 7687 additions and 1741 deletions
51
.butcher/types/InputSticker/entity.json
Normal file
51
.butcher/types/InputSticker/entity.json
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
"meta": {
|
||||
"deprecated": false
|
||||
},
|
||||
"group": {
|
||||
"title": "Stickers",
|
||||
"anchor": "stickers"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "inputsticker",
|
||||
"name": "InputSticker",
|
||||
"description": "This object describes a sticker to be added to a sticker set.",
|
||||
"html_description": "<p>This object describes a sticker to be added to a sticker set.</p>",
|
||||
"rst_description": "This object describes a sticker to be added to a sticker set.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "InputFile or String",
|
||||
"description": "The added sticker. Pass a file_id as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. Animated and video stickers can't be uploaded via HTTP URL. More information on Sending Files",
|
||||
"html_description": "<td>The added sticker. Pass a <em>file_id</em> as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. Animated and video stickers can't be uploaded via HTTP URL. <a href=\"#sending-files\">More information on Sending Files »</a></td>",
|
||||
"rst_description": "The added sticker. Pass a *file_id* as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. Animated and video stickers can't be uploaded via HTTP URL. :ref:`More information on Sending Files » <sending-files>`\n",
|
||||
"name": "sticker",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "Array of String",
|
||||
"description": "List of 1-20 emoji associated with the sticker",
|
||||
"html_description": "<td>List of 1-20 emoji associated with the sticker</td>",
|
||||
"rst_description": "List of 1-20 emoji associated with the sticker\n",
|
||||
"name": "emoji_list",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "MaskPosition",
|
||||
"description": "Position where the mask should be placed on faces. For 'mask' stickers only.",
|
||||
"html_description": "<td><em>Optional</em>. Position where the mask should be placed on faces. For “mask” stickers only.</td>",
|
||||
"rst_description": "*Optional*. Position where the mask should be placed on faces. For 'mask' stickers only.\n",
|
||||
"name": "mask_position",
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"type": "Array of String",
|
||||
"description": "List of 0-20 search keywords for the sticker with total length of up to 64 characters. For 'regular' and 'custom_emoji' stickers only.",
|
||||
"html_description": "<td><em>Optional</em>. List of 0-20 search keywords for the sticker with total length of up to 64 characters. For “regular” and “custom_emoji” stickers only.</td>",
|
||||
"rst_description": "*Optional*. List of 0-20 search keywords for the sticker with total length of up to 64 characters. For 'regular' and 'custom_emoji' stickers only.\n",
|
||||
"name": "keywords",
|
||||
"required": false
|
||||
}
|
||||
],
|
||||
"category": "types"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue