mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 16:15:51 +00:00
Added support for Bot API 7.0 (#1387)
* Added support for Bot API 7.0 * Fixed available tests * Fixed text decorations * Bot API 7.0 tests for ForwardMessages * Bot API 7.0 tests for CopyMessages * Bot API 7.0 tests for DeleteMessages * Bot API 7.0 tests for GetUserChatBoosts * Bot API 7.0 tests for SetMessageReaction * Fixed custom_emoji attribute name * Fixed tests * Test parsing CallbackQuery message (inaccessible and accessible) * Added changes description * Bot API 7.0 tests for dispatcher handle update message_reaction * Bot API 7.0 tests for dispatcher handle update message_reaction_count * Bot API 7.0 tests for dispatcher handle update chat_boost * Bot API 7.0 tests for dispatcher handle update removed_chat_boost * fix tests: update ReactionTypeCustomEmoji custom_emoji -> custom_emoji_id * micro fix Markdown V2 blockquote * add tests for Markdown tools * fix markdown test apply single entity * add tests coverage for Message.react * check that all messages and content types are covered for Message.content_type * sort imports in tests (run `make reformat lint`) * update Giveaway objects Unix time field to DateTime type * Update Message.content_type property * upgrade tests for message content_types and sent_copy * Update Giveaway type generation config * Update GiveawayWinners and PassportFile types generation configs --------- Co-authored-by: Suren Khorenyan <surenkhorenyan@gmail.com>
This commit is contained in:
parent
756cfeba0a
commit
6795b3de05
244 changed files with 9401 additions and 1715 deletions
|
|
@ -7,9 +7,9 @@
|
|||
"object": {
|
||||
"anchor": "copymessage",
|
||||
"name": "copyMessage",
|
||||
"description": "Use this method to copy messages of any kind. Service messages and invoice messages can't be copied. A quiz poll can be copied only if the value of the field correct_option_id is known to the bot. The method is analogous to the method forwardMessage, but the copied message doesn't have a link to the original message. Returns the MessageId of the sent message on success.",
|
||||
"html_description": "<p>Use this method to copy messages of any kind. Service messages and invoice messages can't be copied. A quiz <a href=\"#poll\">poll</a> can be copied only if the value of the field <em>correct_option_id</em> is known to the bot. The method is analogous to the method <a href=\"#forwardmessage\">forwardMessage</a>, but the copied message doesn't have a link to the original message. Returns the <a href=\"#messageid\">MessageId</a> of the sent message on success.</p>",
|
||||
"rst_description": "Use this method to copy messages of any kind. Service messages and invoice messages can't be copied. A quiz :class:`aiogram.methods.poll.Poll` can be copied only if the value of the field *correct_option_id* is known to the bot. The method is analogous to the method :class:`aiogram.methods.forward_message.ForwardMessage`, but the copied message doesn't have a link to the original message. Returns the :class:`aiogram.types.message_id.MessageId` of the sent message on success.",
|
||||
"description": "Use this method to copy messages of any kind. Service messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz poll can be copied only if the value of the field correct_option_id is known to the bot. The method is analogous to the method forwardMessage, but the copied message doesn't have a link to the original message. Returns the MessageId of the sent message on success.",
|
||||
"html_description": "<p>Use this method to copy messages of any kind. Service messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz <a href=\"#poll\">poll</a> can be copied only if the value of the field <em>correct_option_id</em> is known to the bot. The method is analogous to the method <a href=\"#forwardmessage\">forwardMessage</a>, but the copied message doesn't have a link to the original message. Returns the <a href=\"#messageid\">MessageId</a> of the sent message on success.</p>",
|
||||
"rst_description": "Use this method to copy messages of any kind. Service messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz :class:`aiogram.methods.poll.Poll` can be copied only if the value of the field *correct_option_id* is known to the bot. The method is analogous to the method :class:`aiogram.methods.forward_message.ForwardMessage`, but the copied message doesn't have a link to the original message. Returns the :class:`aiogram.types.message_id.MessageId` of the sent message on success.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "Integer or String",
|
||||
|
|
@ -84,20 +84,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -106,6 +98,30 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
73
.butcher/methods/copyMessages/entity.json
Normal file
73
.butcher/methods/copyMessages/entity.json
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
{
|
||||
"meta": {},
|
||||
"group": {
|
||||
"title": "Available methods",
|
||||
"anchor": "available-methods"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "copymessages",
|
||||
"name": "copyMessages",
|
||||
"description": "Use this method to copy messages of any kind. If some of the specified messages can't be found or copied, they are skipped. Service messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz poll can be copied only if the value of the field correct_option_id is known to the bot. The method is analogous to the method forwardMessages, but the copied messages don't have a link to the original message. Album grouping is kept for copied messages. On success, an array of MessageId of the sent messages is returned.",
|
||||
"html_description": "<p>Use this method to copy messages of any kind. If some of the specified messages can't be found or copied, they are skipped. Service messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz <a href=\"#poll\">poll</a> can be copied only if the value of the field <em>correct_option_id</em> is known to the bot. The method is analogous to the method <a href=\"#forwardmessages\">forwardMessages</a>, but the copied messages don't have a link to the original message. Album grouping is kept for copied messages. On success, an array of <a href=\"#messageid\">MessageId</a> of the sent messages is returned.</p>",
|
||||
"rst_description": "Use this method to copy messages of any kind. If some of the specified messages can't be found or copied, they are skipped. Service messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz :class:`aiogram.methods.poll.Poll` can be copied only if the value of the field *correct_option_id* is known to the bot. The method is analogous to the method :class:`aiogram.methods.forward_messages.ForwardMessages`, but the copied messages don't have a link to the original message. Album grouping is kept for copied messages. On success, an array of :class:`aiogram.types.message_id.MessageId` of the sent messages is returned.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "Integer or String",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
|
||||
"html_description": "<td>Unique identifier for the target chat or username of the target channel (in the format <code>@channelusername</code>)</td>",
|
||||
"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 (topic) of the forum; for forum supergroups only",
|
||||
"html_description": "<td>Unique identifier for the target message thread (topic) of the forum; for forum supergroups only</td>",
|
||||
"rst_description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only\n",
|
||||
"name": "message_thread_id"
|
||||
},
|
||||
{
|
||||
"type": "Integer or String",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the chat where the original messages were sent (or channel username in the format @channelusername)",
|
||||
"html_description": "<td>Unique identifier for the chat where the original messages were sent (or channel username in the format <code>@channelusername</code>)</td>",
|
||||
"rst_description": "Unique identifier for the chat where the original messages were sent (or channel username in the format :code:`@channelusername`)\n",
|
||||
"name": "from_chat_id"
|
||||
},
|
||||
{
|
||||
"type": "Array of Integer",
|
||||
"required": true,
|
||||
"description": "Identifiers of 1-100 messages in the chat from_chat_id to copy. The identifiers must be specified in a strictly increasing order.",
|
||||
"html_description": "<td>Identifiers of 1-100 messages in the chat <em>from_chat_id</em> to copy. The identifiers must be specified in a strictly increasing order.</td>",
|
||||
"rst_description": "Identifiers of 1-100 messages in the chat *from_chat_id* to copy. The identifiers must be specified in a strictly increasing order.\n",
|
||||
"name": "message_ids"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Sends the messages silently. Users will receive a notification with no sound.",
|
||||
"html_description": "<td>Sends the messages <a href=\"https://telegram.org/blog/channels-2-0#silent-messages\">silently</a>. Users will receive a notification with no sound.</td>",
|
||||
"rst_description": "Sends the messages `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound.\n",
|
||||
"name": "disable_notification"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Protects the contents of the sent messages from forwarding and saving",
|
||||
"html_description": "<td>Protects the contents of the sent messages from forwarding and saving</td>",
|
||||
"rst_description": "Protects the contents of the sent messages from forwarding and saving\n",
|
||||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True to copy the messages without their captions",
|
||||
"html_description": "<td>Pass <em>True</em> to copy the messages without their captions</td>",
|
||||
"rst_description": "Pass :code:`True` to copy the messages without their captions\n",
|
||||
"name": "remove_caption"
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
}
|
||||
}
|
||||
33
.butcher/methods/deleteMessages/entity.json
Normal file
33
.butcher/methods/deleteMessages/entity.json
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"meta": {},
|
||||
"group": {
|
||||
"title": "Updating messages",
|
||||
"anchor": "updating-messages"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "deletemessages",
|
||||
"name": "deleteMessages",
|
||||
"description": "Use this method to delete multiple messages simultaneously. If some of the specified messages can't be found, they are skipped. Returns True on success.",
|
||||
"html_description": "<p>Use this method to delete multiple messages simultaneously. If some of the specified messages can't be found, they are skipped. Returns <em>True</em> on success.</p>",
|
||||
"rst_description": "Use this method to delete multiple messages simultaneously. If some of the specified messages can't be found, they are skipped. Returns :code:`True` on success.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "Integer or String",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
|
||||
"html_description": "<td>Unique identifier for the target chat or username of the target channel (in the format <code>@channelusername</code>)</td>",
|
||||
"rst_description": "Unique identifier for the target chat or username of the target channel (in the format :code:`@channelusername`)\n",
|
||||
"name": "chat_id"
|
||||
},
|
||||
{
|
||||
"type": "Array of Integer",
|
||||
"required": true,
|
||||
"description": "Identifiers of 1-100 messages to delete. See deleteMessage for limitations on which messages can be deleted",
|
||||
"html_description": "<td>Identifiers of 1-100 messages to delete. See <a href=\"#deletemessage\">deleteMessage</a> for limitations on which messages can be deleted</td>",
|
||||
"rst_description": "Identifiers of 1-100 messages to delete. See :class:`aiogram.methods.delete_message.DeleteMessage` for limitations on which messages can be deleted\n",
|
||||
"name": "message_ids"
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
}
|
||||
}
|
||||
|
|
@ -60,12 +60,12 @@
|
|||
"name": "entities"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"type": "LinkPreviewOptions",
|
||||
"required": false,
|
||||
"description": "Disables link previews for links in this message",
|
||||
"html_description": "<td>Disables link previews for links in this message</td>",
|
||||
"rst_description": "Disables link previews for links in this message\n",
|
||||
"name": "disable_web_page_preview"
|
||||
"description": "Link preview generation options for the message",
|
||||
"html_description": "<td>Link preview generation options for the message</td>",
|
||||
"rst_description": "Link preview generation options for the message\n",
|
||||
"name": "link_preview_options"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup",
|
||||
|
|
@ -74,6 +74,18 @@
|
|||
"html_description": "<td>A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>.</td>",
|
||||
"rst_description": "A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Disables link previews for links in this message",
|
||||
"html_description": "<td>Disables link previews for links in this message</td>",
|
||||
"rst_description": "Disables link previews for links in this message\n",
|
||||
"name": "disable_web_page_preview",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@
|
|||
"object": {
|
||||
"anchor": "forwardmessage",
|
||||
"name": "forwardMessage",
|
||||
"description": "Use this method to forward messages of any kind. Service messages can't be forwarded. On success, the sent Message is returned.",
|
||||
"html_description": "<p>Use this method to forward messages of any kind. Service messages can't be forwarded. On success, the sent <a href=\"#message\">Message</a> is returned.</p>",
|
||||
"rst_description": "Use this method to forward messages of any kind. Service messages can't be forwarded. On success, the sent :class:`aiogram.types.message.Message` is returned.",
|
||||
"description": "Use this method to forward messages of any kind. Service messages and messages with protected content can't be forwarded. On success, the sent Message is returned.",
|
||||
"html_description": "<p>Use this method to forward messages of any kind. Service messages and messages with protected content can't be forwarded. On success, the sent <a href=\"#message\">Message</a> is returned.</p>",
|
||||
"rst_description": "Use this method to forward messages of any kind. Service messages and messages with protected content can't be forwarded. On success, the sent :class:`aiogram.types.message.Message` is returned.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "Integer or String",
|
||||
|
|
|
|||
65
.butcher/methods/forwardMessages/entity.json
Normal file
65
.butcher/methods/forwardMessages/entity.json
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
{
|
||||
"meta": {},
|
||||
"group": {
|
||||
"title": "Available methods",
|
||||
"anchor": "available-methods"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "forwardmessages",
|
||||
"name": "forwardMessages",
|
||||
"description": "Use this method to forward multiple messages of any kind. If some of the specified messages can't be found or forwarded, they are skipped. Service messages and messages with protected content can't be forwarded. Album grouping is kept for forwarded messages. On success, an array of MessageId of the sent messages is returned.",
|
||||
"html_description": "<p>Use this method to forward multiple messages of any kind. If some of the specified messages can't be found or forwarded, they are skipped. Service messages and messages with protected content can't be forwarded. Album grouping is kept for forwarded messages. On success, an array of <a href=\"#messageid\">MessageId</a> of the sent messages is returned.</p>",
|
||||
"rst_description": "Use this method to forward multiple messages of any kind. If some of the specified messages can't be found or forwarded, they are skipped. Service messages and messages with protected content can't be forwarded. Album grouping is kept for forwarded messages. On success, an array of :class:`aiogram.types.message_id.MessageId` of the sent messages is returned.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "Integer or String",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
|
||||
"html_description": "<td>Unique identifier for the target chat or username of the target channel (in the format <code>@channelusername</code>)</td>",
|
||||
"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 (topic) of the forum; for forum supergroups only",
|
||||
"html_description": "<td>Unique identifier for the target message thread (topic) of the forum; for forum supergroups only</td>",
|
||||
"rst_description": "Unique identifier for the target message thread (topic) of the forum; for forum supergroups only\n",
|
||||
"name": "message_thread_id"
|
||||
},
|
||||
{
|
||||
"type": "Integer or String",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the chat where the original messages were sent (or channel username in the format @channelusername)",
|
||||
"html_description": "<td>Unique identifier for the chat where the original messages were sent (or channel username in the format <code>@channelusername</code>)</td>",
|
||||
"rst_description": "Unique identifier for the chat where the original messages were sent (or channel username in the format :code:`@channelusername`)\n",
|
||||
"name": "from_chat_id"
|
||||
},
|
||||
{
|
||||
"type": "Array of Integer",
|
||||
"required": true,
|
||||
"description": "Identifiers of 1-100 messages in the chat from_chat_id to forward. The identifiers must be specified in a strictly increasing order.",
|
||||
"html_description": "<td>Identifiers of 1-100 messages in the chat <em>from_chat_id</em> to forward. The identifiers must be specified in a strictly increasing order.</td>",
|
||||
"rst_description": "Identifiers of 1-100 messages in the chat *from_chat_id* to forward. The identifiers must be specified in a strictly increasing order.\n",
|
||||
"name": "message_ids"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Sends the messages silently. Users will receive a notification with no sound.",
|
||||
"html_description": "<td>Sends the messages <a href=\"https://telegram.org/blog/channels-2-0#silent-messages\">silently</a>. Users will receive a notification with no sound.</td>",
|
||||
"rst_description": "Sends the messages `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound.\n",
|
||||
"name": "disable_notification"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Protects the contents of the forwarded messages from forwarding and saving",
|
||||
"html_description": "<td>Protects the contents of the forwarded messages from forwarding and saving</td>",
|
||||
"rst_description": "Protects the contents of the forwarded messages from forwarding and saving\n",
|
||||
"name": "protect_content"
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
}
|
||||
}
|
||||
|
|
@ -7,9 +7,9 @@
|
|||
"object": {
|
||||
"anchor": "getchat",
|
||||
"name": "getChat",
|
||||
"description": "Use this method to get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.). Returns a Chat object on success.",
|
||||
"html_description": "<p>Use this method to get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.). Returns a <a href=\"#chat\">Chat</a> object on success.</p>",
|
||||
"rst_description": "Use this method to get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.). Returns a :class:`aiogram.types.chat.Chat` object on success.",
|
||||
"description": "Use this method to get up to date information about the chat. Returns a Chat object on success.",
|
||||
"html_description": "<p>Use this method to get up to date information about the chat. Returns a <a href=\"#chat\">Chat</a> object on success.</p>",
|
||||
"rst_description": "Use this method to get up to date information about the chat. Returns a :class:`aiogram.types.chat.Chat` object on success.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "Integer or String",
|
||||
|
|
|
|||
|
|
@ -38,9 +38,9 @@
|
|||
{
|
||||
"type": "Array of String",
|
||||
"required": false,
|
||||
"description": "A JSON-serialized list of the update types you want your bot to receive. For example, specify [\"message\", \"edited_channel_post\", \"callback_query\"] to only receive updates of these types. See Update for a complete list of available update types. Specify an empty list to receive all update types except chat_member (default). If not specified, the previous setting will be used.\n\nPlease note that this parameter doesn't affect updates created before the call to the getUpdates, so unwanted updates may be received for a short period of time.",
|
||||
"html_description": "<td>A JSON-serialized list of the update types you want your bot to receive. For example, specify <code>[\"message\", \"edited_channel_post\", \"callback_query\"]</code> to only receive updates of these types. See <a href=\"#update\">Update</a> for a complete list of available update types. Specify an empty list to receive all update types except <em>chat_member</em> (default). If not specified, the previous setting will be used.<br/>\n<br/>\nPlease note that this parameter doesn't affect updates created before the call to the getUpdates, so unwanted updates may be received for a short period of time.</td>",
|
||||
"rst_description": "A JSON-serialized list of the update types you want your bot to receive. For example, specify :code:`[\"message\", \"edited_channel_post\", \"callback_query\"]` to only receive updates of these types. See :class:`aiogram.types.update.Update` for a complete list of available update types. Specify an empty list to receive all update types except *chat_member* (default). If not specified, the previous setting will be used.\n\n\n\nPlease note that this parameter doesn't affect updates created before the call to the getUpdates, so unwanted updates may be received for a short period of time.\n",
|
||||
"description": "A JSON-serialized list of the update types you want your bot to receive. For example, specify [\"message\", \"edited_channel_post\", \"callback_query\"] to only receive updates of these types. See Update for a complete list of available update types. Specify an empty list to receive all update types except chat_member, message_reaction, and message_reaction_count (default). If not specified, the previous setting will be used.\n\nPlease note that this parameter doesn't affect updates created before the call to the getUpdates, so unwanted updates may be received for a short period of time.",
|
||||
"html_description": "<td>A JSON-serialized list of the update types you want your bot to receive. For example, specify <code>[\"message\", \"edited_channel_post\", \"callback_query\"]</code> to only receive updates of these types. See <a href=\"#update\">Update</a> for a complete list of available update types. Specify an empty list to receive all update types except <em>chat_member</em>, <em>message_reaction</em>, and <em>message_reaction_count</em> (default). If not specified, the previous setting will be used.<br/>\n<br/>\nPlease note that this parameter doesn't affect updates created before the call to the getUpdates, so unwanted updates may be received for a short period of time.</td>",
|
||||
"rst_description": "A JSON-serialized list of the update types you want your bot to receive. For example, specify :code:`[\"message\", \"edited_channel_post\", \"callback_query\"]` to only receive updates of these types. See :class:`aiogram.types.update.Update` for a complete list of available update types. Specify an empty list to receive all update types except *chat_member*, *message_reaction*, and *message_reaction_count* (default). If not specified, the previous setting will be used.\n\n\n\nPlease note that this parameter doesn't affect updates created before the call to the getUpdates, so unwanted updates may be received for a short period of time.\n",
|
||||
"name": "allowed_updates"
|
||||
}
|
||||
],
|
||||
|
|
|
|||
33
.butcher/methods/getUserChatBoosts/entity.json
Normal file
33
.butcher/methods/getUserChatBoosts/entity.json
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"meta": {},
|
||||
"group": {
|
||||
"title": "Available methods",
|
||||
"anchor": "available-methods"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "getuserchatboosts",
|
||||
"name": "getUserChatBoosts",
|
||||
"description": "Use this method to get the list of boosts added to a chat by a user. Requires administrator rights in the chat. Returns a UserChatBoosts object.",
|
||||
"html_description": "<p>Use this method to get the list of boosts added to a chat by a user. Requires administrator rights in the chat. Returns a <a href=\"#userchatboosts\">UserChatBoosts</a> object.</p>",
|
||||
"rst_description": "Use this method to get the list of boosts added to a chat by a user. Requires administrator rights in the chat. Returns a :class:`aiogram.types.user_chat_boosts.UserChatBoosts` object.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "Integer or String",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the chat or username of the channel (in the format @channelusername)",
|
||||
"html_description": "<td>Unique identifier for the chat or username of the channel (in the format <code>@channelusername</code>)</td>",
|
||||
"rst_description": "Unique identifier for the chat or username of the channel (in the format :code:`@channelusername`)\n",
|
||||
"name": "chat_id"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": true,
|
||||
"description": "Unique identifier of the target user",
|
||||
"html_description": "<td>Unique identifier of the target user</td>",
|
||||
"rst_description": "Unique identifier of the target user\n",
|
||||
"name": "user_id"
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
}
|
||||
}
|
||||
|
|
@ -116,20 +116,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -138,6 +130,30 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -108,20 +108,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -130,6 +122,30 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -76,20 +76,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -98,6 +90,30 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -52,20 +52,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -74,6 +66,30 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -92,20 +92,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -114,6 +106,30 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -52,20 +52,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup",
|
||||
|
|
@ -74,6 +66,30 @@
|
|||
"html_description": "<td>A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>. If empty, one 'Play game_title' button will be shown. If not empty, the first button must launch the game.</td>",
|
||||
"rst_description": "A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_. If empty, one 'Play game_title' button will be shown. If not empty, the first button must launch the game.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -212,20 +212,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup",
|
||||
|
|
@ -234,6 +226,30 @@
|
|||
"html_description": "<td>A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>. If empty, one 'Pay <code>total price</code>' button will be shown. If not empty, the first button must be a Pay button.</td>",
|
||||
"rst_description": "A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_. If empty, one 'Pay :code:`total price`' button will be shown. If not empty, the first button must be a Pay button.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -92,20 +92,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -114,6 +106,30 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -52,12 +52,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the messages are a reply, ID of the original message",
|
||||
"html_description": "<td>If the messages are a reply, ID of the original message</td>",
|
||||
"rst_description": "If the messages are a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
|
|
@ -65,7 +65,23 @@
|
|||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the messages are a reply, ID of the original message",
|
||||
"html_description": "<td>If the messages are a reply, ID of the original message</td>",
|
||||
"rst_description": "If the messages are a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -52,12 +52,12 @@
|
|||
"name": "entities"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"type": "LinkPreviewOptions",
|
||||
"required": false,
|
||||
"description": "Disables link previews for links in this message",
|
||||
"html_description": "<td>Disables link previews for links in this message</td>",
|
||||
"rst_description": "Disables link previews for links in this message\n",
|
||||
"name": "disable_web_page_preview"
|
||||
"description": "Link preview generation options for the message",
|
||||
"html_description": "<td>Link preview generation options for the message</td>",
|
||||
"rst_description": "Link preview generation options for the message\n",
|
||||
"name": "link_preview_options"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
|
|
@ -76,20 +76,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -98,6 +90,42 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Disables link previews for links in this message",
|
||||
"html_description": "<td>Disables link previews for links in this message</td>",
|
||||
"rst_description": "Disables link previews for links in this message\n",
|
||||
"name": "disable_web_page_preview",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -84,20 +84,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -106,6 +98,30 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -140,20 +140,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -162,6 +154,30 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -60,20 +60,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -82,6 +74,30 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -108,20 +108,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -130,6 +122,30 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -124,20 +124,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -146,6 +138,30 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -76,20 +76,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -98,6 +90,30 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
|
|
@ -84,20 +84,12 @@
|
|||
"name": "protect_content"
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"type": "ReplyParameters",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply"
|
||||
"description": "Description of the message to reply to",
|
||||
"html_description": "<td>Description of the message to reply to</td>",
|
||||
"rst_description": "Description of the message to reply to\n",
|
||||
"name": "reply_parameters"
|
||||
},
|
||||
{
|
||||
"type": "InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply",
|
||||
|
|
@ -106,6 +98,30 @@
|
|||
"html_description": "<td>Additional interface options. A JSON-serialized object for an <a href=\"/bots/features#inline-keyboards\">inline keyboard</a>, <a href=\"/bots/features#keyboards\">custom reply keyboard</a>, instructions to remove reply keyboard or to force a reply from the user.</td>",
|
||||
"rst_description": "Additional interface options. A JSON-serialized object for an `inline keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, `custom reply keyboard <https://core.telegram.org/bots/features#keyboards>`_, instructions to remove reply keyboard or to force a reply from the user.\n",
|
||||
"name": "reply_markup"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True if the message should be sent even if the specified replied-to message is not found",
|
||||
"html_description": "<td>Pass <em>True</em> if the message should be sent even if the specified replied-to message is not found</td>",
|
||||
"rst_description": "Pass :code:`True` if the message should be sent even if the specified replied-to message is not found\n",
|
||||
"name": "allow_sending_without_reply",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Integer",
|
||||
"required": false,
|
||||
"description": "If the message is a reply, ID of the original message",
|
||||
"html_description": "<td>If the message is a reply, ID of the original message</td>",
|
||||
"rst_description": "If the message is a reply, ID of the original message\n",
|
||||
"name": "reply_to_message_id",
|
||||
"deprecated": {
|
||||
"version": "7.0",
|
||||
"release_date": "2023-12-29"
|
||||
}
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
|
|
|
|||
49
.butcher/methods/setMessageReaction/entity.json
Normal file
49
.butcher/methods/setMessageReaction/entity.json
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
"meta": {},
|
||||
"group": {
|
||||
"title": "Available methods",
|
||||
"anchor": "available-methods"
|
||||
},
|
||||
"object": {
|
||||
"anchor": "setmessagereaction",
|
||||
"name": "setMessageReaction",
|
||||
"description": "Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. In albums, bots must react to the first message. Returns True on success.",
|
||||
"html_description": "<p>Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. In albums, bots must react to the first message. Returns <em>True</em> on success.</p>",
|
||||
"rst_description": "Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. In albums, bots must react to the first message. Returns :code:`True` on success.",
|
||||
"annotations": [
|
||||
{
|
||||
"type": "Integer or String",
|
||||
"required": true,
|
||||
"description": "Unique identifier for the target chat or username of the target channel (in the format @channelusername)",
|
||||
"html_description": "<td>Unique identifier for the target chat or username of the target channel (in the format <code>@channelusername</code>)</td>",
|
||||
"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": true,
|
||||
"description": "Identifier of the target message",
|
||||
"html_description": "<td>Identifier of the target message</td>",
|
||||
"rst_description": "Identifier of the target message\n",
|
||||
"name": "message_id"
|
||||
},
|
||||
{
|
||||
"type": "Array of ReactionType",
|
||||
"required": false,
|
||||
"description": "New list of reaction types to set on the message. Currently, as non-premium users, bots can set up to one reaction per message. A custom emoji reaction can be used if it is either already present on the message or explicitly allowed by chat administrators.",
|
||||
"html_description": "<td>New list of reaction types to set on the message. Currently, as non-premium users, bots can set up to one reaction per message. A custom emoji reaction can be used if it is either already present on the message or explicitly allowed by chat administrators.</td>",
|
||||
"rst_description": "New list of reaction types to set on the message. Currently, as non-premium users, bots can set up to one reaction per message. A custom emoji reaction can be used if it is either already present on the message or explicitly allowed by chat administrators.\n",
|
||||
"name": "reaction"
|
||||
},
|
||||
{
|
||||
"type": "Boolean",
|
||||
"required": false,
|
||||
"description": "Pass True to set the reaction with a big animation",
|
||||
"html_description": "<td>Pass <em>True</em> to set the reaction with a big animation</td>",
|
||||
"rst_description": "Pass :code:`True` to set the reaction with a big animation\n",
|
||||
"name": "is_big"
|
||||
}
|
||||
],
|
||||
"category": "methods"
|
||||
}
|
||||
}
|
||||
|
|
@ -46,9 +46,9 @@
|
|||
{
|
||||
"type": "Array of String",
|
||||
"required": false,
|
||||
"description": "A JSON-serialized list of the update types you want your bot to receive. For example, specify [\"message\", \"edited_channel_post\", \"callback_query\"] to only receive updates of these types. See Update for a complete list of available update types. Specify an empty list to receive all update types except chat_member (default). If not specified, the previous setting will be used.\nPlease note that this parameter doesn't affect updates created before the call to the setWebhook, so unwanted updates may be received for a short period of time.",
|
||||
"html_description": "<td>A JSON-serialized list of the update types you want your bot to receive. For example, specify <code>[\"message\", \"edited_channel_post\", \"callback_query\"]</code> to only receive updates of these types. See <a href=\"#update\">Update</a> for a complete list of available update types. Specify an empty list to receive all update types except <em>chat_member</em> (default). If not specified, the previous setting will be used.<br/>\nPlease note that this parameter doesn't affect updates created before the call to the setWebhook, so unwanted updates may be received for a short period of time.</td>",
|
||||
"rst_description": "A JSON-serialized list of the update types you want your bot to receive. For example, specify :code:`[\"message\", \"edited_channel_post\", \"callback_query\"]` to only receive updates of these types. See :class:`aiogram.types.update.Update` for a complete list of available update types. Specify an empty list to receive all update types except *chat_member* (default). If not specified, the previous setting will be used.\n\nPlease note that this parameter doesn't affect updates created before the call to the setWebhook, so unwanted updates may be received for a short period of time.\n",
|
||||
"description": "A JSON-serialized list of the update types you want your bot to receive. For example, specify [\"message\", \"edited_channel_post\", \"callback_query\"] to only receive updates of these types. See Update for a complete list of available update types. Specify an empty list to receive all update types except chat_member, message_reaction, and message_reaction_count (default). If not specified, the previous setting will be used.\nPlease note that this parameter doesn't affect updates created before the call to the setWebhook, so unwanted updates may be received for a short period of time.",
|
||||
"html_description": "<td>A JSON-serialized list of the update types you want your bot to receive. For example, specify <code>[\"message\", \"edited_channel_post\", \"callback_query\"]</code> to only receive updates of these types. See <a href=\"#update\">Update</a> for a complete list of available update types. Specify an empty list to receive all update types except <em>chat_member</em>, <em>message_reaction</em>, and <em>message_reaction_count</em> (default). If not specified, the previous setting will be used.<br/>\nPlease note that this parameter doesn't affect updates created before the call to the setWebhook, so unwanted updates may be received for a short period of time.</td>",
|
||||
"rst_description": "A JSON-serialized list of the update types you want your bot to receive. For example, specify :code:`[\"message\", \"edited_channel_post\", \"callback_query\"]` to only receive updates of these types. See :class:`aiogram.types.update.Update` for a complete list of available update types. Specify an empty list to receive all update types except *chat_member*, *message_reaction*, and *message_reaction_count* (default). If not specified, the previous setting will be used.\n\nPlease note that this parameter doesn't affect updates created before the call to the setWebhook, so unwanted updates may be received for a short period of time.\n",
|
||||
"name": "allowed_updates"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue