Merge branch 'aiogram:dev-3.x' into dev-3.x

This commit is contained in:
Łukasz Tshipenchko 2023-04-02 23:24:43 +06:00 committed by GitHub
commit 2d9f07e619
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
907 changed files with 16631 additions and 17310 deletions

View file

@ -1 +1 @@
6.3
6.6

View file

@ -1,8 +1,8 @@
name: InlineQueryResultType
description: |
The part of the face relative to which the mask should be placed.
Type of inline query result
Source: https://core.telegram.org/bots/api#maskposition
Source: https://core.telegram.org/bots/api#inlinequeryresult
multi_parse:
attribute: type
regexp: "must be ([a-z_]+)"

View file

@ -0,0 +1,10 @@
name: StickerFormat
description: |
Format of the sticker
Source: https://core.telegram.org/bots/api#createnewstickerset
parse:
category: methods
entity: createNewStickerSet
attribute: sticker_format
regexp: "'([a-z_]+)'"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Stickers",
"anchor": "stickers"
@ -9,9 +7,9 @@
"object": {
"anchor": "addstickertoset",
"name": "addStickerToSet",
"description": "Use this method to add a new sticker to a set created by the bot. You must use exactly one of the fields png_sticker, tgs_sticker, or webm_sticker. Animated stickers can be added to animated sticker sets and only to them. Animated sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns True on success.",
"html_description": "<p>Use this method to add a new sticker to a set created by the bot. You <strong>must</strong> use exactly one of the fields <em>png_sticker</em>, <em>tgs_sticker</em>, or <em>webm_sticker</em>. Animated stickers can be added to animated sticker sets and only to them. Animated sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns <em>True</em> on success.</p>",
"rst_description": "Use this method to add a new sticker to a set created by the bot. You **must** use exactly one of the fields *png_sticker*, *tgs_sticker*, or *webm_sticker*. Animated stickers can be added to animated sticker sets and only to them. Animated sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns :code:`True` on success.",
"description": "Use this method to add a new sticker to a set created by the bot. The format of the added sticker must match the format of the other stickers in the set. Emoji sticker sets can have up to 200 stickers. Animated and video sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns True on success.",
"html_description": "<p>Use this method to add a new sticker to a set created by the bot. The format of the added sticker must match the format of the other stickers in the set. Emoji sticker sets can have up to 200 stickers. Animated and video sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns <em>True</em> on success.</p>",
"rst_description": "Use this method to add a new sticker to a set created by the bot. The format of the added sticker must match the format of the other stickers in the set. Emoji sticker sets can have up to 200 stickers. Animated and video sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns :code:`True` on success.",
"annotations": [
{
"type": "Integer",
@ -30,44 +28,12 @@
"name": "name"
},
{
"type": "InputFile or String",
"required": false,
"description": "PNG image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px. 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. More information on Sending Files",
"html_description": "<td><strong>PNG</strong> image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px. 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. <a href=\"#sending-files\">More information on Sending Files &#187;</a></td>",
"rst_description": "**PNG** image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px. 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. :ref:`More information on Sending Files » <sending-files>`\n",
"name": "png_sticker"
},
{
"type": "InputFile",
"required": false,
"description": "TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#animated-sticker-requirements for technical requirements",
"html_description": "<td><strong>TGS</strong> animation with the sticker, uploaded using multipart/form-data. See <a href=\"/stickers#animated-sticker-requirements\"/><a href=\"https://core.telegram.org/stickers#animated-sticker-requirements\">https://core.telegram.org/stickers#animated-sticker-requirements</a> for technical requirements</td>",
"rst_description": "**TGS** animation with the sticker, uploaded using multipart/form-data. See `https://core.telegram.org/stickers#animated-sticker-requirements <https://core.telegram.org/stickers#animated-sticker-requirements>`_`https://core.telegram.org/stickers#animated-sticker-requirements <https://core.telegram.org/stickers#animated-sticker-requirements>`_ for technical requirements\n",
"name": "tgs_sticker"
},
{
"type": "InputFile",
"required": false,
"description": "WEBM video with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#video-sticker-requirements for technical requirements",
"html_description": "<td><strong>WEBM</strong> video with the sticker, uploaded using multipart/form-data. See <a href=\"/stickers#video-sticker-requirements\"/><a href=\"https://core.telegram.org/stickers#video-sticker-requirements\">https://core.telegram.org/stickers#video-sticker-requirements</a> for technical requirements</td>",
"rst_description": "**WEBM** video with the sticker, uploaded using multipart/form-data. See `https://core.telegram.org/stickers#video-sticker-requirements <https://core.telegram.org/stickers#video-sticker-requirements>`_`https://core.telegram.org/stickers#video-sticker-requirements <https://core.telegram.org/stickers#video-sticker-requirements>`_ for technical requirements\n",
"name": "webm_sticker"
},
{
"type": "String",
"type": "InputSticker",
"required": true,
"description": "One or more emoji corresponding to the sticker",
"html_description": "<td>One or more emoji corresponding to the sticker</td>",
"rst_description": "One or more emoji corresponding to the sticker\n",
"name": "emojis"
},
{
"type": "MaskPosition",
"required": false,
"description": "A JSON-serialized object for position where the mask should be placed on faces",
"html_description": "<td>A JSON-serialized object for position where the mask should be placed on faces</td>",
"rst_description": "A JSON-serialized object for position where the mask should be placed on faces\n",
"name": "mask_position"
"description": "A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set isn't changed.",
"html_description": "<td>A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set isn't changed.</td>",
"rst_description": "A JSON-serialized object with information about the added sticker. If exactly the same sticker had already been added to the set, then the set isn't changed.\n",
"name": "sticker"
}
],
"category": "methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Inline mode",
"anchor": "inline-mode"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Payments",
"anchor": "payments"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Payments",
"anchor": "payments"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Inline mode",
"anchor": "inline-mode"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -0,0 +1,25 @@
{
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
},
"object": {
"anchor": "closegeneralforumtopic",
"name": "closeGeneralForumTopic",
"description": "Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.",
"html_description": "<p>Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the <em>can_manage_topics</em> administrator rights. Returns <em>True</em> on success.</p>",
"rst_description": "Use this method to close an open 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the *can_manage_topics* administrator rights. Returns :code:`True` on success.",
"annotations": [
{
"type": "Integer or String",
"required": true,
"description": "Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)",
"html_description": "<td>Unique identifier for the target chat or username of the target supergroup (in the format <code>@supergroupusername</code>)</td>",
"rst_description": "Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)\n",
"name": "chat_id"
}
],
"category": "methods"
}
}

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,3 +1,5 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Payments",
"anchor": "payments"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Stickers",
"anchor": "stickers"
@ -9,9 +7,9 @@
"object": {
"anchor": "createnewstickerset",
"name": "createNewStickerSet",
"description": "Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You must use exactly one of the fields png_sticker, tgs_sticker, or webm_sticker. Returns True on success.",
"html_description": "<p>Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You <strong>must</strong> use exactly one of the fields <em>png_sticker</em>, <em>tgs_sticker</em>, or <em>webm_sticker</em>. Returns <em>True</em> on success.</p>",
"rst_description": "Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You **must** use exactly one of the fields *png_sticker*, *tgs_sticker*, or *webm_sticker*. Returns :code:`True` on success.",
"description": "Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. Returns True on success.",
"html_description": "<p>Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. Returns <em>True</em> on success.</p>",
"rst_description": "Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. Returns :code:`True` on success.",
"annotations": [
{
"type": "Integer",
@ -38,52 +36,36 @@
"name": "title"
},
{
"type": "InputFile or String",
"required": false,
"description": "PNG image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px. 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. More information on Sending Files",
"html_description": "<td><strong>PNG</strong> image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px. 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. <a href=\"#sending-files\">More information on Sending Files &#187;</a></td>",
"rst_description": "**PNG** image with the sticker, must be up to 512 kilobytes in size, dimensions must not exceed 512px, and either width or height must be exactly 512px. 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. :ref:`More information on Sending Files » <sending-files>`\n",
"name": "png_sticker"
},
{
"type": "InputFile",
"required": false,
"description": "TGS animation with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#animated-sticker-requirements for technical requirements",
"html_description": "<td><strong>TGS</strong> animation with the sticker, uploaded using multipart/form-data. See <a href=\"/stickers#animated-sticker-requirements\"/><a href=\"https://core.telegram.org/stickers#animated-sticker-requirements\">https://core.telegram.org/stickers#animated-sticker-requirements</a> for technical requirements</td>",
"rst_description": "**TGS** animation with the sticker, uploaded using multipart/form-data. See `https://core.telegram.org/stickers#animated-sticker-requirements <https://core.telegram.org/stickers#animated-sticker-requirements>`_`https://core.telegram.org/stickers#animated-sticker-requirements <https://core.telegram.org/stickers#animated-sticker-requirements>`_ for technical requirements\n",
"name": "tgs_sticker"
},
{
"type": "InputFile",
"required": false,
"description": "WEBM video with the sticker, uploaded using multipart/form-data. See https://core.telegram.org/stickers#video-sticker-requirements for technical requirements",
"html_description": "<td><strong>WEBM</strong> video with the sticker, uploaded using multipart/form-data. See <a href=\"/stickers#video-sticker-requirements\"/><a href=\"https://core.telegram.org/stickers#video-sticker-requirements\">https://core.telegram.org/stickers#video-sticker-requirements</a> for technical requirements</td>",
"rst_description": "**WEBM** video with the sticker, uploaded using multipart/form-data. See `https://core.telegram.org/stickers#video-sticker-requirements <https://core.telegram.org/stickers#video-sticker-requirements>`_`https://core.telegram.org/stickers#video-sticker-requirements <https://core.telegram.org/stickers#video-sticker-requirements>`_ for technical requirements\n",
"name": "webm_sticker"
},
{
"type": "String",
"required": false,
"description": "Type of stickers in the set, pass 'regular' or 'mask'. Custom emoji sticker sets can't be created via the Bot API at the moment. By default, a regular sticker set is created.",
"html_description": "<td>Type of stickers in the set, pass &#8220;regular&#8221; or &#8220;mask&#8221;. Custom emoji sticker sets can't be created via the Bot API at the moment. By default, a regular sticker set is created.</td>",
"rst_description": "Type of stickers in the set, pass 'regular' or 'mask'. Custom emoji sticker sets can't be created via the Bot API at the moment. By default, a regular sticker set is created.\n",
"name": "sticker_type"
"type": "Array of InputSticker",
"required": true,
"description": "A JSON-serialized list of 1-50 initial stickers to be added to the sticker set",
"html_description": "<td>A JSON-serialized list of 1-50 initial stickers to be added to the sticker set</td>",
"rst_description": "A JSON-serialized list of 1-50 initial stickers to be added to the sticker set\n",
"name": "stickers"
},
{
"type": "String",
"required": true,
"description": "One or more emoji corresponding to the sticker",
"html_description": "<td>One or more emoji corresponding to the sticker</td>",
"rst_description": "One or more emoji corresponding to the sticker\n",
"name": "emojis"
"description": "Format of stickers in the set, must be one of 'static', 'animated', 'video'",
"html_description": "<td>Format of stickers in the set, must be one of &#8220;static&#8221;, &#8220;animated&#8221;, &#8220;video&#8221;</td>",
"rst_description": "Format of stickers in the set, must be one of 'static', 'animated', 'video'\n",
"name": "sticker_format"
},
{
"type": "MaskPosition",
"type": "String",
"required": false,
"description": "A JSON-serialized object for position where the mask should be placed on faces",
"html_description": "<td>A JSON-serialized object for position where the mask should be placed on faces</td>",
"rst_description": "A JSON-serialized object for position where the mask should be placed on faces\n",
"name": "mask_position"
"description": "Type of stickers in the set, pass 'regular', 'mask', or 'custom_emoji'. By default, a regular sticker set is created.",
"html_description": "<td>Type of stickers in the set, pass &#8220;regular&#8221;, &#8220;mask&#8221;, or &#8220;custom_emoji&#8221;. By default, a regular sticker set is created.</td>",
"rst_description": "Type of stickers in the set, pass 'regular', 'mask', or 'custom_emoji'. By default, a regular sticker set is created.\n",
"name": "sticker_type"
},
{
"type": "Boolean",
"required": false,
"description": "Pass True if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context; for custom emoji sticker sets only",
"html_description": "<td>Pass <em>True</em> if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context; for custom emoji sticker sets only</td>",
"rst_description": "Pass :code:`True` if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context; for custom emoji sticker sets only\n",
"name": "needs_repainting"
}
],
"category": "methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Updating messages",
"anchor": "updating-messages"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Stickers",
"anchor": "stickers"

View file

@ -0,0 +1,25 @@
{
"meta": {},
"group": {
"title": "Stickers",
"anchor": "stickers"
},
"object": {
"anchor": "deletestickerset",
"name": "deleteStickerSet",
"description": "Use this method to delete a sticker set that was created by the bot. Returns True on success.",
"html_description": "<p>Use this method to delete a sticker set that was created by the bot. Returns <em>True</em> on success.</p>",
"rst_description": "Use this method to delete a sticker set that was created by the bot. Returns :code:`True` on success.",
"annotations": [
{
"type": "String",
"required": true,
"description": "Sticker set name",
"html_description": "<td>Sticker set name</td>",
"rst_description": "Sticker set name\n",
"name": "name"
}
],
"category": "methods"
}
}

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Getting updates",
"anchor": "getting-updates"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
@ -31,18 +29,18 @@
},
{
"type": "String",
"required": true,
"description": "New topic name, 1-128 characters",
"html_description": "<td>New topic name, 1-128 characters</td>",
"rst_description": "New topic name, 1-128 characters\n",
"required": false,
"description": "New topic name, 0-128 characters. If not specified or empty, the current name of the topic will be kept",
"html_description": "<td>New topic name, 0-128 characters. If not specified or empty, the current name of the topic will be kept</td>",
"rst_description": "New topic name, 0-128 characters. If not specified or empty, the current name of the topic will be kept\n",
"name": "name"
},
{
"type": "String",
"required": true,
"description": "New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers.",
"html_description": "<td>New unique identifier of the custom emoji shown as the topic icon. Use <a href=\"#getforumtopiciconstickers\">getForumTopicIconStickers</a> to get all allowed custom emoji identifiers.</td>",
"rst_description": "New unique identifier of the custom emoji shown as the topic icon. Use :class:`aiogram.methods.get_forum_topic_icon_stickers.GetForumTopicIconStickers` to get all allowed custom emoji identifiers.\n",
"required": false,
"description": "New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers. Pass an empty string to remove the icon. If not specified, the current icon will be kept",
"html_description": "<td>New unique identifier of the custom emoji shown as the topic icon. Use <a href=\"#getforumtopiciconstickers\">getForumTopicIconStickers</a> to get all allowed custom emoji identifiers. Pass an empty string to remove the icon. If not specified, the current icon will be kept</td>",
"rst_description": "New unique identifier of the custom emoji shown as the topic icon. Use :class:`aiogram.methods.get_forum_topic_icon_stickers.GetForumTopicIconStickers` to get all allowed custom emoji identifiers. Pass an empty string to remove the icon. If not specified, the current icon will be kept\n",
"name": "icon_custom_emoji_id"
}
],

View file

@ -0,0 +1,33 @@
{
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
},
"object": {
"anchor": "editgeneralforumtopic",
"name": "editGeneralForumTopic",
"description": "Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have can_manage_topics administrator rights. Returns True on success.",
"html_description": "<p>Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have <em>can_manage_topics</em> administrator rights. Returns <em>True</em> on success.</p>",
"rst_description": "Use this method to edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have *can_manage_topics* administrator rights. Returns :code:`True` on success.",
"annotations": [
{
"type": "Integer or String",
"required": true,
"description": "Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)",
"html_description": "<td>Unique identifier for the target chat or username of the target supergroup (in the format <code>@supergroupusername</code>)</td>",
"rst_description": "Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)\n",
"name": "chat_id"
},
{
"type": "String",
"required": true,
"description": "New topic name, 1-128 characters",
"html_description": "<td>New topic name, 1-128 characters</td>",
"rst_description": "New topic name, 1-128 characters\n",
"name": "name"
}
],
"category": "methods"
}
}

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Updating messages",
"anchor": "updating-messages"

View file

@ -1,3 +1,3 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE

View file

@ -1,10 +1,8 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
"title": "Updating messages",
"anchor": "updating-messages"
},
"object": {
"anchor": "editmessagelivelocation",

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Updating messages",
"anchor": "updating-messages"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Updating messages",
"anchor": "updating-messages"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Updating messages",
"anchor": "updating-messages"

View file

@ -1,3 +1,5 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
disable_web_page_preview:
value: UNSET_DISABLE_WEB_PAGE_PREVIEW

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
@ -9,9 +7,9 @@
"object": {
"anchor": "getchatmember",
"name": "getChatMember",
"description": "Use this method to get information about a member of a chat. Returns a ChatMember object on success.",
"html_description": "<p>Use this method to get information about a member of a chat. Returns a <a href=\"#chatmember\">ChatMember</a> object on success.</p>",
"rst_description": "Use this method to get information about a member of a chat. Returns a :class:`aiogram.types.chat_member.ChatMember` object on success.",
"description": "Use this method to get information about a member of a chat. The method is only guaranteed to work for other users if the bot is an administrator in the chat. Returns a ChatMember object on success.",
"html_description": "<p>Use this method to get information about a member of a chat. The method is only guaranteed to work for other users if the bot is an administrator in the chat. Returns a <a href=\"#chatmember\">ChatMember</a> object on success.</p>",
"rst_description": "Use this method to get information about a member of a chat. The method is only guaranteed to work for other users if the bot is an administrator in the chat. Returns a :class:`aiogram.types.chat_member.ChatMember` object on success.",
"annotations": [
{
"type": "Integer or String",

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Stickers",
"anchor": "stickers"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Games",
"anchor": "games"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -0,0 +1,25 @@
{
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
},
"object": {
"anchor": "getmydescription",
"name": "getMyDescription",
"description": "Use this method to get the current bot description for the given user language. Returns BotDescription on success.",
"html_description": "<p>Use this method to get the current bot description for the given user language. Returns <a href=\"#botdescription\">BotDescription</a> on success.</p>",
"rst_description": "Use this method to get the current bot description for the given user language. Returns :class:`aiogram.types.bot_description.BotDescription` on success.",
"annotations": [
{
"type": "String",
"required": false,
"description": "A two-letter ISO 639-1 language code or an empty string",
"html_description": "<td>A two-letter ISO 639-1 language code or an empty string</td>",
"rst_description": "A two-letter ISO 639-1 language code or an empty string\n",
"name": "language_code"
}
],
"category": "methods"
}
}

View file

@ -0,0 +1,25 @@
{
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
},
"object": {
"anchor": "getmyshortdescription",
"name": "getMyShortDescription",
"description": "Use this method to get the current bot short description for the given user language. Returns BotShortDescription on success.",
"html_description": "<p>Use this method to get the current bot short description for the given user language. Returns <a href=\"#botshortdescription\">BotShortDescription</a> on success.</p>",
"rst_description": "Use this method to get the current bot short description for the given user language. Returns :class:`aiogram.types.bot_short_description.BotShortDescription` on success.",
"annotations": [
{
"type": "String",
"required": false,
"description": "A two-letter ISO 639-1 language code or an empty string",
"html_description": "<td>A two-letter ISO 639-1 language code or an empty string</td>",
"rst_description": "A two-letter ISO 639-1 language code or an empty string\n",
"name": "language_code"
}
],
"category": "methods"
}
}

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Stickers",
"anchor": "stickers"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Getting updates",
"anchor": "getting-updates"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Getting updates",
"anchor": "getting-updates"

View file

@ -0,0 +1,25 @@
{
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
},
"object": {
"anchor": "hidegeneralforumtopic",
"name": "hideGeneralForumTopic",
"description": "Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically closed if it was open. Returns True on success.",
"html_description": "<p>Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the <em>can_manage_topics</em> administrator rights. The topic will be automatically closed if it was open. Returns <em>True</em> on success.</p>",
"rst_description": "Use this method to hide the 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the *can_manage_topics* administrator rights. The topic will be automatically closed if it was open. Returns :code:`True` on success.",
"annotations": [
{
"type": "Integer or String",
"required": true,
"description": "Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)",
"html_description": "<td>Unique identifier for the target chat or username of the target supergroup (in the format <code>@supergroupusername</code>)</td>",
"rst_description": "Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)\n",
"name": "chat_id"
}
],
"category": "methods"
}
}

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
@ -88,9 +86,9 @@
{
"type": "Boolean",
"required": false,
"description": "Pass True if the administrator can add new administrators with a subset of their own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by him)",
"html_description": "<td>Pass <em>True</em> if the administrator can add new administrators with a subset of their own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by him)</td>",
"rst_description": "Pass :code:`True` if the administrator can add new administrators with a subset of their own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by him)\n",
"description": "Pass True if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by him)",
"html_description": "<td>Pass <em>True</em> if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by him)</td>",
"rst_description": "Pass :code:`True` if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by him)\n",
"name": "can_promote_members"
},
{

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -0,0 +1,25 @@
{
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
},
"object": {
"anchor": "reopengeneralforumtopic",
"name": "reopenGeneralForumTopic",
"description": "Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically unhidden if it was hidden. Returns True on success.",
"html_description": "<p>Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the <em>can_manage_topics</em> administrator rights. The topic will be automatically unhidden if it was hidden. Returns <em>True</em> on success.</p>",
"rst_description": "Use this method to reopen a closed 'General' topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the *can_manage_topics* administrator rights. The topic will be automatically unhidden if it was hidden. Returns :code:`True` on success.",
"annotations": [
{
"type": "Integer or String",
"required": true,
"description": "Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)",
"html_description": "<td>Unique identifier for the target chat or username of the target supergroup (in the format <code>@supergroupusername</code>)</td>",
"rst_description": "Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)\n",
"name": "chat_id"
}
],
"category": "methods"
}
}

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
@ -37,6 +35,14 @@
"rst_description": "A JSON-serialized object for new user permissions\n",
"name": "permissions"
},
{
"type": "Boolean",
"required": false,
"description": "Pass True if chat permissions are set independently. Otherwise, the can_send_other_messages and can_add_web_page_previews permissions will imply the can_send_messages, can_send_audios, can_send_documents, can_send_photos, can_send_videos, can_send_video_notes, and can_send_voice_notes permissions; the can_send_polls permission will imply the can_send_messages permission.",
"html_description": "<td>Pass <em>True</em> if chat permissions are set independently. Otherwise, the <em>can_send_other_messages</em> and <em>can_add_web_page_previews</em> permissions will imply the <em>can_send_messages</em>, <em>can_send_audios</em>, <em>can_send_documents</em>, <em>can_send_photos</em>, <em>can_send_videos</em>, <em>can_send_video_notes</em>, and <em>can_send_voice_notes</em> permissions; the <em>can_send_polls</em> permission will imply the <em>can_send_messages</em> permission.</td>",
"rst_description": "Pass :code:`True` if chat permissions are set independently. Otherwise, the *can_send_other_messages* and *can_add_web_page_previews* permissions will imply the *can_send_messages*, *can_send_audios*, *can_send_documents*, *can_send_photos*, *can_send_videos*, *can_send_video_notes*, and *can_send_voice_notes* permissions; the *can_send_polls* permission will imply the *can_send_messages* permission.\n",
"name": "use_independent_chat_permissions"
},
{
"type": "Integer",
"required": false,

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
@ -67,7 +65,7 @@
"description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files",
"html_description": "<td>Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass &#8220;attach://&lt;file_attach_name&gt;&#8221; if the thumbnail was uploaded using multipart/form-data under &lt;file_attach_name&gt;. <a href=\"#sending-files\">More information on Sending Files &#187;</a></td>",
"rst_description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. :ref:`More information on Sending Files » <sending-files>`\n",
"name": "thumb"
"name": "thumbnail"
},
{
"type": "String",
@ -93,6 +91,14 @@
"rst_description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*\n",
"name": "caption_entities"
},
{
"type": "Boolean",
"required": false,
"description": "Pass True if the animation needs to be covered with a spoiler animation",
"html_description": "<td>Pass <em>True</em> if the animation needs to be covered with a spoiler animation</td>",
"rst_description": "Pass :code:`True` if the animation needs to be covered with a spoiler animation\n",
"name": "has_spoiler"
},
{
"type": "Boolean",
"required": false,

View file

@ -1,3 +1,5 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
@ -91,7 +89,7 @@
"description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files",
"html_description": "<td>Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass &#8220;attach://&lt;file_attach_name&gt;&#8221; if the thumbnail was uploaded using multipart/form-data under &lt;file_attach_name&gt;. <a href=\"#sending-files\">More information on Sending Files &#187;</a></td>",
"rst_description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. :ref:`More information on Sending Files » <sending-files>`\n",
"name": "thumb"
"name": "thumbnail"
},
{
"type": "Boolean",

View file

@ -1,3 +1,5 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
@ -21,6 +19,14 @@
"rst_description": "Unique identifier for the target chat or username of the target channel (in the format :code:`@channelusername`)\n",
"name": "chat_id"
},
{
"type": "Integer",
"required": false,
"description": "Unique identifier for the target message thread; supergroups only",
"html_description": "<td>Unique identifier for the target message thread; supergroups only</td>",
"rst_description": "Unique identifier for the target message thread; supergroups only\n",
"name": "message_thread_id"
},
{
"type": "String",
"required": true,

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
@ -43,7 +41,7 @@
"description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files",
"html_description": "<td>Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass &#8220;attach://&lt;file_attach_name&gt;&#8221; if the thumbnail was uploaded using multipart/form-data under &lt;file_attach_name&gt;. <a href=\"#sending-files\">More information on Sending Files &#187;</a></td>",
"rst_description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. :ref:`More information on Sending Files » <sending-files>`\n",
"name": "thumb"
"name": "thumbnail"
},
{
"type": "String",

View file

@ -1,3 +1,5 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Games",
"anchor": "games"

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Payments",
"anchor": "payments"

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,3 +1,7 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
disable_web_page_preview:
value: UNSET_DISABLE_WEB_PAGE_PREVIEW
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
@ -61,6 +59,14 @@
"rst_description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*\n",
"name": "caption_entities"
},
{
"type": "Boolean",
"required": false,
"description": "Pass True if the photo needs to be covered with a spoiler animation",
"html_description": "<td>Pass <em>True</em> if the photo needs to be covered with a spoiler animation</td>",
"rst_description": "Pass :code:`True` if the photo needs to be covered with a spoiler animation\n",
"name": "has_spoiler"
},
{
"type": "Boolean",
"required": false,

View file

@ -1,3 +1,5 @@
annotations:
parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -1,6 +1,8 @@
annotations:
explanation_parse_mode:
value: UNSET
value: UNSET_PARSE_MODE
protect_content:
value: UNSET_PROTECT_CONTENT
close_date:
parsed_type:
type: union

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Stickers",
"anchor": "stickers"
@ -32,11 +30,19 @@
{
"type": "InputFile or String",
"required": true,
"description": "Sticker to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a .WEBP file from the Internet, or upload a new one using multipart/form-data. More information on Sending Files",
"html_description": "<td>Sticker to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a .WEBP file from the Internet, or upload a new one using multipart/form-data. <a href=\"#sending-files\">More information on Sending Files &#187;</a></td>",
"rst_description": "Sticker to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a .WEBP file from the Internet, or upload a new one using multipart/form-data. :ref:`More information on Sending Files » <sending-files>`\n",
"description": "Sticker to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a .WEBP sticker from the Internet, or upload a new .WEBP or .TGS sticker using multipart/form-data. More information on Sending Files. Video stickers can only be sent by a file_id. Animated stickers can't be sent via an HTTP URL.",
"html_description": "<td>Sticker to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a .WEBP sticker from the Internet, or upload a new .WEBP or .TGS sticker using multipart/form-data. <a href=\"#sending-files\">More information on Sending Files &#187;</a>. Video stickers can only be sent by a file_id. Animated stickers can't be sent via an HTTP URL.</td>",
"rst_description": "Sticker to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a .WEBP sticker from the Internet, or upload a new .WEBP or .TGS sticker using multipart/form-data. :ref:`More information on Sending Files » <sending-files>`. Video stickers can only be sent by a file_id. Animated stickers can't be sent via an HTTP URL.\n",
"name": "sticker"
},
{
"type": "String",
"required": false,
"description": "Emoji associated with the sticker; only for just uploaded stickers",
"html_description": "<td>Emoji associated with the sticker; only for just uploaded stickers</td>",
"rst_description": "Emoji associated with the sticker; only for just uploaded stickers\n",
"name": "emoji"
},
{
"type": "Boolean",
"required": false,

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"

View file

@ -0,0 +1,3 @@
annotations:
protect_content:
value: UNSET_PROTECT_CONTENT

View file

@ -1,7 +1,5 @@
{
"meta": {
"deprecated": false
},
"meta": {},
"group": {
"title": "Available methods",
"anchor": "available-methods"
@ -67,7 +65,7 @@
"description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files",
"html_description": "<td>Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass &#8220;attach://&lt;file_attach_name&gt;&#8221; if the thumbnail was uploaded using multipart/form-data under &lt;file_attach_name&gt;. <a href=\"#sending-files\">More information on Sending Files &#187;</a></td>",
"rst_description": "Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can't be reused and can be only uploaded as a new file, so you can pass 'attach://<file_attach_name>' if the thumbnail was uploaded using multipart/form-data under <file_attach_name>. :ref:`More information on Sending Files » <sending-files>`\n",
"name": "thumb"
"name": "thumbnail"
},
{
"type": "String",
@ -93,6 +91,14 @@
"rst_description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*\n",
"name": "caption_entities"
},
{
"type": "Boolean",
"required": false,
"description": "Pass True if the video needs to be covered with a spoiler animation",
"html_description": "<td>Pass <em>True</em> if the video needs to be covered with a spoiler animation</td>",
"rst_description": "Pass :code:`True` if the video needs to be covered with a spoiler animation\n",
"name": "has_spoiler"
},
{
"type": "Boolean",
"required": false,

Some files were not shown because too many files have changed in this diff Show more