Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x

This commit is contained in:
Alex Root Junior 2023-01-07 22:36:09 +02:00
commit d8e943424a
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
105 changed files with 2522 additions and 407 deletions

View file

@ -1 +1 @@
6.3 6.4

View file

@ -0,0 +1,27 @@
{
"meta": {
"deprecated": false
},
"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

@ -31,18 +31,18 @@
}, },
{ {
"type": "String", "type": "String",
"required": true, "required": false,
"description": "New topic name, 1-128 characters", "description": "New topic name, 0-128 characters. If not specififed or empty, the current name of the topic will be kept",
"html_description": "<td>New topic name, 1-128 characters</td>", "html_description": "<td>New topic name, 0-128 characters. If not specififed or empty, the current name of the topic will be kept</td>",
"rst_description": "New topic name, 1-128 characters\n", "rst_description": "New topic name, 0-128 characters. If not specififed or empty, the current name of the topic will be kept\n",
"name": "name" "name": "name"
}, },
{ {
"type": "String", "type": "String",
"required": true, "required": false,
"description": "New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers.", "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.</td>", "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.\n", "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" "name": "icon_custom_emoji_id"
} }
], ],

View file

@ -0,0 +1,35 @@
{
"meta": {
"deprecated": false
},
"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

@ -9,9 +9,9 @@
"object": { "object": {
"anchor": "getchatmember", "anchor": "getchatmember",
"name": "getChatMember", "name": "getChatMember",
"description": "Use this method to get information about a member of a chat. Returns a ChatMember object on success.", "description": "Use this method to get information about a member of a chat. The method is guaranteed to work only 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. Returns a <a href=\"#chatmember\">ChatMember</a> object on success.</p>", "html_description": "<p>Use this method to get information about a member of a chat. The method is guaranteed to work only 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. Returns a :class:`aiogram.types.chat_member.ChatMember` object on success.", "rst_description": "Use this method to get information about a member of a chat. The method is guaranteed to work only if the bot is an administrator in the chat. Returns a :class:`aiogram.types.chat_member.ChatMember` object on success.",
"annotations": [ "annotations": [
{ {
"type": "Integer or String", "type": "Integer or String",

View file

@ -0,0 +1,27 @@
{
"meta": {
"deprecated": false
},
"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

@ -0,0 +1,27 @@
{
"meta": {
"deprecated": false
},
"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

@ -93,6 +93,14 @@
"rst_description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*\n", "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" "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", "type": "Boolean",
"required": false, "required": false,

View file

@ -21,6 +21,14 @@
"rst_description": "Unique identifier for the target chat or username of the target channel (in the format :code:`@channelusername`)\n", "rst_description": "Unique identifier for the target chat or username of the target channel (in the format :code:`@channelusername`)\n",
"name": "chat_id" "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", "type": "String",
"required": true, "required": true,

View file

@ -61,6 +61,14 @@
"rst_description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*\n", "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" "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", "type": "Boolean",
"required": false, "required": false,

View file

@ -93,6 +93,14 @@
"rst_description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*\n", "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" "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", "type": "Boolean",
"required": false, "required": false,

View file

@ -0,0 +1,27 @@
{
"meta": {
"deprecated": false
},
"group": {
"title": "Available methods",
"anchor": "available-methods"
},
"object": {
"anchor": "unhidegeneralforumtopic",
"name": "unhideGeneralForumTopic",
"description": "Use this method to unhide 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. Returns True on success.",
"html_description": "<p>Use this method to unhide 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. Returns <em>True</em> on success.</p>",
"rst_description": "Use this method to unhide 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. 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,7 @@
{ {
"api": { "api": {
"version": "6.3", "version": "6.4",
"release_date": "2022-11-05" "release_date": "2022-12-30"
}, },
"items": [ "items": [
{ {
@ -635,6 +635,22 @@
"name": "message_auto_delete_time", "name": "message_auto_delete_time",
"required": false "required": false
}, },
{
"type": "True",
"description": "True, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators. Returned only in getChat.",
"html_description": "<td><em>Optional</em>. <em>True</em>, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators. Returned only in <a href=\"#getchat\">getChat</a>.</td>",
"rst_description": "*Optional*. :code:`True`, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators. Returned only in :class:`aiogram.methods.get_chat.GetChat`.\n",
"name": "has_aggressive_anti_spam_enabled",
"required": false
},
{
"type": "True",
"description": "True, if non-administrators can only get the list of bots and administrators in the chat. Returned only in getChat.",
"html_description": "<td><em>Optional</em>. <em>True</em>, if non-administrators can only get the list of bots and administrators in the chat. Returned only in <a href=\"#getchat\">getChat</a>.</td>",
"rst_description": "*Optional*. :code:`True`, if non-administrators can only get the list of bots and administrators in the chat. Returned only in :class:`aiogram.methods.get_chat.GetChat`.\n",
"name": "has_hidden_members",
"required": false
},
{ {
"type": "True", "type": "True",
"description": "True, if messages from the chat can't be forwarded to other chats. Returned only in getChat.", "description": "True, if messages from the chat can't be forwarded to other chats. Returned only in getChat.",
@ -941,6 +957,14 @@
"name": "caption_entities", "name": "caption_entities",
"required": false "required": false
}, },
{
"type": "True",
"description": "True, if the message media is covered by a spoiler animation",
"html_description": "<td><em>Optional</em>. <em>True</em>, if the message media is covered by a spoiler animation</td>",
"rst_description": "*Optional*. :code:`True`, if the message media is covered by a spoiler animation\n",
"name": "has_media_spoiler",
"required": false
},
{ {
"type": "Contact", "type": "Contact",
"description": "Message is a shared contact, information about the contact", "description": "Message is a shared contact, information about the contact",
@ -1109,6 +1133,14 @@
"name": "connected_website", "name": "connected_website",
"required": false "required": false
}, },
{
"type": "WriteAccessAllowed",
"description": "Service message: the user allowed the bot added to the attachment menu to write messages",
"html_description": "<td><em>Optional</em>. Service message: the user allowed the bot added to the attachment menu to write messages</td>",
"rst_description": "*Optional*. Service message: the user allowed the bot added to the attachment menu to write messages\n",
"name": "write_access_allowed",
"required": false
},
{ {
"type": "PassportData", "type": "PassportData",
"description": "Telegram Passport data", "description": "Telegram Passport data",
@ -1133,6 +1165,14 @@
"name": "forum_topic_created", "name": "forum_topic_created",
"required": false "required": false
}, },
{
"type": "ForumTopicEdited",
"description": "Service message: forum topic edited",
"html_description": "<td><em>Optional</em>. Service message: forum topic edited</td>",
"rst_description": "*Optional*. Service message: forum topic edited\n",
"name": "forum_topic_edited",
"required": false
},
{ {
"type": "ForumTopicClosed", "type": "ForumTopicClosed",
"description": "Service message: forum topic closed", "description": "Service message: forum topic closed",
@ -1149,6 +1189,22 @@
"name": "forum_topic_reopened", "name": "forum_topic_reopened",
"required": false "required": false
}, },
{
"type": "GeneralForumTopicHidden",
"description": "Service message: the 'General' forum topic hidden",
"html_description": "<td><em>Optional</em>. Service message: the 'General' forum topic hidden</td>",
"rst_description": "*Optional*. Service message: the 'General' forum topic hidden\n",
"name": "general_forum_topic_hidden",
"required": false
},
{
"type": "GeneralForumTopicUnhidden",
"description": "Service message: the 'General' forum topic unhidden",
"html_description": "<td><em>Optional</em>. Service message: the 'General' forum topic unhidden</td>",
"rst_description": "*Optional*. Service message: the 'General' forum topic unhidden\n",
"name": "general_forum_topic_unhidden",
"required": false
},
{ {
"type": "VideoChatScheduled", "type": "VideoChatScheduled",
"description": "Service message: video chat scheduled", "description": "Service message: video chat scheduled",
@ -2241,6 +2297,32 @@
"annotations": [], "annotations": [],
"category": "types" "category": "types"
}, },
{
"anchor": "forumtopicedited",
"name": "ForumTopicEdited",
"description": "This object represents a service message about an edited forum topic.",
"html_description": "<p>This object represents a service message about an edited forum topic.</p>",
"rst_description": "This object represents a service message about an edited forum topic.",
"annotations": [
{
"type": "String",
"description": "New name of the topic, if it was edited",
"html_description": "<td><em>Optional</em>. New name of the topic, if it was edited</td>",
"rst_description": "*Optional*. New name of the topic, if it was edited\n",
"name": "name",
"required": false
},
{
"type": "String",
"description": "New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed",
"html_description": "<td><em>Optional</em>. New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed</td>",
"rst_description": "*Optional*. New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed\n",
"name": "icon_custom_emoji_id",
"required": false
}
],
"category": "types"
},
{ {
"anchor": "forumtopicreopened", "anchor": "forumtopicreopened",
"name": "ForumTopicReopened", "name": "ForumTopicReopened",
@ -2250,6 +2332,33 @@
"annotations": [], "annotations": [],
"category": "types" "category": "types"
}, },
{
"anchor": "generalforumtopichidden",
"name": "GeneralForumTopicHidden",
"description": "This object represents a service message about General forum topic hidden in the chat. Currently holds no information.",
"html_description": "<p>This object represents a service message about General forum topic hidden in the chat. Currently holds no information.</p>",
"rst_description": "This object represents a service message about General forum topic hidden in the chat. Currently holds no information.",
"annotations": [],
"category": "types"
},
{
"anchor": "generalforumtopicunhidden",
"name": "GeneralForumTopicUnhidden",
"description": "This object represents a service message about General forum topic unhidden in the chat. Currently holds no information.",
"html_description": "<p>This object represents a service message about General forum topic unhidden in the chat. Currently holds no information.</p>",
"rst_description": "This object represents a service message about General forum topic unhidden in the chat. Currently holds no information.",
"annotations": [],
"category": "types"
},
{
"anchor": "writeaccessallowed",
"name": "WriteAccessAllowed",
"description": "This object represents a service message about a user allowing a bot added to the attachment menu to write messages. Currently holds no information.",
"html_description": "<p>This object represents a service message about a user allowing a bot added to the attachment menu to write messages. Currently holds no information.</p>",
"rst_description": "This object represents a service message about a user allowing a bot added to the attachment menu to write messages. Currently holds no information.",
"annotations": [],
"category": "types"
},
{ {
"anchor": "videochatscheduled", "anchor": "videochatscheduled",
"name": "VideoChatScheduled", "name": "VideoChatScheduled",
@ -2414,6 +2523,14 @@
"name": "keyboard", "name": "keyboard",
"required": true "required": true
}, },
{
"type": "Boolean",
"description": "Requests clients to always show the keyboard when the regular keyboard is hidden. Defaults to false, in which case the custom keyboard can be hidden and opened with a keyboard icon.",
"html_description": "<td><em>Optional</em>. Requests clients to always show the keyboard when the regular keyboard is hidden. Defaults to <em>false</em>, in which case the custom keyboard can be hidden and opened with a keyboard icon.</td>",
"rst_description": "*Optional*. Requests clients to always show the keyboard when the regular keyboard is hidden. Defaults to *false*, in which case the custom keyboard can be hidden and opened with a keyboard icon.\n",
"name": "is_persistent",
"required": false
},
{ {
"type": "Boolean", "type": "Boolean",
"description": "Requests clients to resize the keyboard vertically for optimal fit (e.g., make the keyboard smaller if there are just two rows of buttons). Defaults to false, in which case the custom keyboard is always of the same height as the app's standard keyboard.", "description": "Requests clients to resize the keyboard vertically for optimal fit (e.g., make the keyboard smaller if there are just two rows of buttons). Defaults to false, in which case the custom keyboard is always of the same height as the app's standard keyboard.",
@ -4015,6 +4132,14 @@
"rst_description": "*Optional*. List of special entities that appear in the caption, which can be specified instead of *parse_mode*\n", "rst_description": "*Optional*. List of special entities that appear in the caption, which can be specified instead of *parse_mode*\n",
"name": "caption_entities", "name": "caption_entities",
"required": false "required": false
},
{
"type": "Boolean",
"description": "Pass True if the photo needs to be covered with a spoiler animation",
"html_description": "<td><em>Optional</em>. Pass <em>True</em> if the photo needs to be covered with a spoiler animation</td>",
"rst_description": "*Optional*. Pass :code:`True` if the photo needs to be covered with a spoiler animation\n",
"name": "has_spoiler",
"required": false
} }
], ],
"category": "types" "category": "types"
@ -4105,6 +4230,14 @@
"rst_description": "*Optional*. Pass :code:`True` if the uploaded video is suitable for streaming\n", "rst_description": "*Optional*. Pass :code:`True` if the uploaded video is suitable for streaming\n",
"name": "supports_streaming", "name": "supports_streaming",
"required": false "required": false
},
{
"type": "Boolean",
"description": "Pass True if the video needs to be covered with a spoiler animation",
"html_description": "<td><em>Optional</em>. Pass <em>True</em> if the video needs to be covered with a spoiler animation</td>",
"rst_description": "*Optional*. Pass :code:`True` if the video needs to be covered with a spoiler animation\n",
"name": "has_spoiler",
"required": false
} }
], ],
"category": "types" "category": "types"
@ -4187,6 +4320,14 @@
"rst_description": "*Optional*. Animation duration in seconds\n", "rst_description": "*Optional*. Animation duration in seconds\n",
"name": "duration", "name": "duration",
"required": false "required": false
},
{
"type": "Boolean",
"description": "Pass True if the animation needs to be covered with a spoiler animation",
"html_description": "<td><em>Optional</em>. Pass <em>True</em> if the animation needs to be covered with a spoiler animation</td>",
"rst_description": "*Optional*. Pass :code:`True` if the animation needs to be covered with a spoiler animation\n",
"name": "has_spoiler",
"required": false
} }
], ],
"category": "types" "category": "types"
@ -4699,6 +4840,14 @@
"rst_description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*\n", "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" "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", "type": "Boolean",
"required": false, "required": false,
@ -5073,6 +5222,14 @@
"rst_description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*\n", "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" "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", "type": "Boolean",
"required": false, "required": false,
@ -5211,6 +5368,14 @@
"rst_description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*\n", "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" "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", "type": "Boolean",
"required": false, "required": false,
@ -6241,6 +6406,14 @@
"rst_description": "Unique identifier for the target chat or username of the target channel (in the format :code:`@channelusername`)\n", "rst_description": "Unique identifier for the target chat or username of the target channel (in the format :code:`@channelusername`)\n",
"name": "chat_id" "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", "type": "String",
"required": true, "required": true,
@ -7109,9 +7282,9 @@
{ {
"anchor": "getchatmember", "anchor": "getchatmember",
"name": "getChatMember", "name": "getChatMember",
"description": "Use this method to get information about a member of a chat. Returns a ChatMember object on success.", "description": "Use this method to get information about a member of a chat. The method is guaranteed to work only 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. Returns a <a href=\"#chatmember\">ChatMember</a> object on success.</p>", "html_description": "<p>Use this method to get information about a member of a chat. The method is guaranteed to work only 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. Returns a :class:`aiogram.types.chat_member.ChatMember` object on success.", "rst_description": "Use this method to get information about a member of a chat. The method is guaranteed to work only if the bot is an administrator in the chat. Returns a :class:`aiogram.types.chat_member.ChatMember` object on success.",
"annotations": [ "annotations": [
{ {
"type": "Integer or String", "type": "Integer or String",
@ -7252,18 +7425,18 @@
}, },
{ {
"type": "String", "type": "String",
"required": true, "required": false,
"description": "New topic name, 1-128 characters", "description": "New topic name, 0-128 characters. If not specififed or empty, the current name of the topic will be kept",
"html_description": "<td>New topic name, 1-128 characters</td>", "html_description": "<td>New topic name, 0-128 characters. If not specififed or empty, the current name of the topic will be kept</td>",
"rst_description": "New topic name, 1-128 characters\n", "rst_description": "New topic name, 0-128 characters. If not specififed or empty, the current name of the topic will be kept\n",
"name": "name" "name": "name"
}, },
{ {
"type": "String", "type": "String",
"required": true, "required": false,
"description": "New unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers.", "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.</td>", "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.\n", "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" "name": "icon_custom_emoji_id"
} }
], ],
@ -7373,6 +7546,104 @@
], ],
"category": "methods" "category": "methods"
}, },
{
"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"
},
{
"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"
},
{
"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"
},
{
"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"
},
{
"anchor": "unhidegeneralforumtopic",
"name": "unhideGeneralForumTopic",
"description": "Use this method to unhide 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. Returns True on success.",
"html_description": "<p>Use this method to unhide 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. Returns <em>True</em> on success.</p>",
"rst_description": "Use this method to unhide 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. 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"
},
{ {
"anchor": "answercallbackquery", "anchor": "answercallbackquery",
"name": "answerCallbackQuery", "name": "answerCallbackQuery",

View file

@ -181,6 +181,22 @@
"name": "message_auto_delete_time", "name": "message_auto_delete_time",
"required": false "required": false
}, },
{
"type": "True",
"description": "True, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators. Returned only in getChat.",
"html_description": "<td><em>Optional</em>. <em>True</em>, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators. Returned only in <a href=\"#getchat\">getChat</a>.</td>",
"rst_description": "*Optional*. :code:`True`, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators. Returned only in :class:`aiogram.methods.get_chat.GetChat`.\n",
"name": "has_aggressive_anti_spam_enabled",
"required": false
},
{
"type": "True",
"description": "True, if non-administrators can only get the list of bots and administrators in the chat. Returned only in getChat.",
"html_description": "<td><em>Optional</em>. <em>True</em>, if non-administrators can only get the list of bots and administrators in the chat. Returned only in <a href=\"#getchat\">getChat</a>.</td>",
"rst_description": "*Optional*. :code:`True`, if non-administrators can only get the list of bots and administrators in the chat. Returned only in :class:`aiogram.methods.get_chat.GetChat`.\n",
"name": "has_hidden_members",
"required": false
},
{ {
"type": "True", "type": "True",
"description": "True, if messages from the chat can't be forwarded to other chats. Returned only in getChat.", "description": "True, if messages from the chat can't be forwarded to other chats. Returned only in getChat.",

View file

@ -0,0 +1,35 @@
{
"meta": {
"deprecated": false
},
"group": {
"title": "Available types",
"anchor": "available-types"
},
"object": {
"anchor": "forumtopicedited",
"name": "ForumTopicEdited",
"description": "This object represents a service message about an edited forum topic.",
"html_description": "<p>This object represents a service message about an edited forum topic.</p>",
"rst_description": "This object represents a service message about an edited forum topic.",
"annotations": [
{
"type": "String",
"description": "New name of the topic, if it was edited",
"html_description": "<td><em>Optional</em>. New name of the topic, if it was edited</td>",
"rst_description": "*Optional*. New name of the topic, if it was edited\n",
"name": "name",
"required": false
},
{
"type": "String",
"description": "New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed",
"html_description": "<td><em>Optional</em>. New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed</td>",
"rst_description": "*Optional*. New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed\n",
"name": "icon_custom_emoji_id",
"required": false
}
],
"category": "types"
}
}

View file

@ -0,0 +1,18 @@
{
"meta": {
"deprecated": false
},
"group": {
"title": "Available types",
"anchor": "available-types"
},
"object": {
"anchor": "generalforumtopichidden",
"name": "GeneralForumTopicHidden",
"description": "This object represents a service message about General forum topic hidden in the chat. Currently holds no information.",
"html_description": "<p>This object represents a service message about General forum topic hidden in the chat. Currently holds no information.</p>",
"rst_description": "This object represents a service message about General forum topic hidden in the chat. Currently holds no information.",
"annotations": [],
"category": "types"
}
}

View file

@ -0,0 +1,18 @@
{
"meta": {
"deprecated": false
},
"group": {
"title": "Available types",
"anchor": "available-types"
},
"object": {
"anchor": "generalforumtopicunhidden",
"name": "GeneralForumTopicUnhidden",
"description": "This object represents a service message about General forum topic unhidden in the chat. Currently holds no information.",
"html_description": "<p>This object represents a service message about General forum topic unhidden in the chat. Currently holds no information.</p>",
"rst_description": "This object represents a service message about General forum topic unhidden in the chat. Currently holds no information.",
"annotations": [],
"category": "types"
}
}

View file

@ -84,6 +84,14 @@
"rst_description": "*Optional*. Animation duration in seconds\n", "rst_description": "*Optional*. Animation duration in seconds\n",
"name": "duration", "name": "duration",
"required": false "required": false
},
{
"type": "Boolean",
"description": "Pass True if the animation needs to be covered with a spoiler animation",
"html_description": "<td><em>Optional</em>. Pass <em>True</em> if the animation needs to be covered with a spoiler animation</td>",
"rst_description": "*Optional*. Pass :code:`True` if the animation needs to be covered with a spoiler animation\n",
"name": "has_spoiler",
"required": false
} }
], ],
"category": "types" "category": "types"

View file

@ -52,6 +52,14 @@
"rst_description": "*Optional*. List of special entities that appear in the caption, which can be specified instead of *parse_mode*\n", "rst_description": "*Optional*. List of special entities that appear in the caption, which can be specified instead of *parse_mode*\n",
"name": "caption_entities", "name": "caption_entities",
"required": false "required": false
},
{
"type": "Boolean",
"description": "Pass True if the photo needs to be covered with a spoiler animation",
"html_description": "<td><em>Optional</em>. Pass <em>True</em> if the photo needs to be covered with a spoiler animation</td>",
"rst_description": "*Optional*. Pass :code:`True` if the photo needs to be covered with a spoiler animation\n",
"name": "has_spoiler",
"required": false
} }
], ],
"category": "types" "category": "types"

View file

@ -92,6 +92,14 @@
"rst_description": "*Optional*. Pass :code:`True` if the uploaded video is suitable for streaming\n", "rst_description": "*Optional*. Pass :code:`True` if the uploaded video is suitable for streaming\n",
"name": "supports_streaming", "name": "supports_streaming",
"required": false "required": false
},
{
"type": "Boolean",
"description": "Pass True if the video needs to be covered with a spoiler animation",
"html_description": "<td><em>Optional</em>. Pass <em>True</em> if the video needs to be covered with a spoiler animation</td>",
"rst_description": "*Optional*. Pass :code:`True` if the video needs to be covered with a spoiler animation\n",
"name": "has_spoiler",
"required": false
} }
], ],
"category": "types" "category": "types"

View file

@ -269,6 +269,14 @@
"name": "caption_entities", "name": "caption_entities",
"required": false "required": false
}, },
{
"type": "True",
"description": "True, if the message media is covered by a spoiler animation",
"html_description": "<td><em>Optional</em>. <em>True</em>, if the message media is covered by a spoiler animation</td>",
"rst_description": "*Optional*. :code:`True`, if the message media is covered by a spoiler animation\n",
"name": "has_media_spoiler",
"required": false
},
{ {
"type": "Contact", "type": "Contact",
"description": "Message is a shared contact, information about the contact", "description": "Message is a shared contact, information about the contact",
@ -437,6 +445,14 @@
"name": "connected_website", "name": "connected_website",
"required": false "required": false
}, },
{
"type": "WriteAccessAllowed",
"description": "Service message: the user allowed the bot added to the attachment menu to write messages",
"html_description": "<td><em>Optional</em>. Service message: the user allowed the bot added to the attachment menu to write messages</td>",
"rst_description": "*Optional*. Service message: the user allowed the bot added to the attachment menu to write messages\n",
"name": "write_access_allowed",
"required": false
},
{ {
"type": "PassportData", "type": "PassportData",
"description": "Telegram Passport data", "description": "Telegram Passport data",
@ -461,6 +477,14 @@
"name": "forum_topic_created", "name": "forum_topic_created",
"required": false "required": false
}, },
{
"type": "ForumTopicEdited",
"description": "Service message: forum topic edited",
"html_description": "<td><em>Optional</em>. Service message: forum topic edited</td>",
"rst_description": "*Optional*. Service message: forum topic edited\n",
"name": "forum_topic_edited",
"required": false
},
{ {
"type": "ForumTopicClosed", "type": "ForumTopicClosed",
"description": "Service message: forum topic closed", "description": "Service message: forum topic closed",
@ -477,6 +501,22 @@
"name": "forum_topic_reopened", "name": "forum_topic_reopened",
"required": false "required": false
}, },
{
"type": "GeneralForumTopicHidden",
"description": "Service message: the 'General' forum topic hidden",
"html_description": "<td><em>Optional</em>. Service message: the 'General' forum topic hidden</td>",
"rst_description": "*Optional*. Service message: the 'General' forum topic hidden\n",
"name": "general_forum_topic_hidden",
"required": false
},
{
"type": "GeneralForumTopicUnhidden",
"description": "Service message: the 'General' forum topic unhidden",
"html_description": "<td><em>Optional</em>. Service message: the 'General' forum topic unhidden</td>",
"rst_description": "*Optional*. Service message: the 'General' forum topic unhidden\n",
"name": "general_forum_topic_unhidden",
"required": false
},
{ {
"type": "VideoChatScheduled", "type": "VideoChatScheduled",
"description": "Service message: video chat scheduled", "description": "Service message: video chat scheduled",

View file

@ -21,6 +21,14 @@
"name": "keyboard", "name": "keyboard",
"required": true "required": true
}, },
{
"type": "Boolean",
"description": "Requests clients to always show the keyboard when the regular keyboard is hidden. Defaults to false, in which case the custom keyboard can be hidden and opened with a keyboard icon.",
"html_description": "<td><em>Optional</em>. Requests clients to always show the keyboard when the regular keyboard is hidden. Defaults to <em>false</em>, in which case the custom keyboard can be hidden and opened with a keyboard icon.</td>",
"rst_description": "*Optional*. Requests clients to always show the keyboard when the regular keyboard is hidden. Defaults to *false*, in which case the custom keyboard can be hidden and opened with a keyboard icon.\n",
"name": "is_persistent",
"required": false
},
{ {
"type": "Boolean", "type": "Boolean",
"description": "Requests clients to resize the keyboard vertically for optimal fit (e.g., make the keyboard smaller if there are just two rows of buttons). Defaults to false, in which case the custom keyboard is always of the same height as the app's standard keyboard.", "description": "Requests clients to resize the keyboard vertically for optimal fit (e.g., make the keyboard smaller if there are just two rows of buttons). Defaults to false, in which case the custom keyboard is always of the same height as the app's standard keyboard.",

View file

@ -0,0 +1,18 @@
{
"meta": {
"deprecated": false
},
"group": {
"title": "Available types",
"anchor": "available-types"
},
"object": {
"anchor": "writeaccessallowed",
"name": "WriteAccessAllowed",
"description": "This object represents a service message about a user allowing a bot added to the attachment menu to write messages. Currently holds no information.",
"html_description": "<p>This object represents a service message about a user allowing a bot added to the attachment menu to write messages. Currently holds no information.</p>",
"rst_description": "This object represents a service message about a user allowing a bot added to the attachment menu to write messages. Currently holds no information.",
"annotations": [],
"category": "types"
}
}

1
CHANGES/1088.feature.rst Normal file
View file

@ -0,0 +1 @@
Added full support of `Bot API 6.4 <https://core.telegram.org/bots/api-changelog#december-30-2022>`_

View file

@ -13,7 +13,7 @@ aiogram |beta badge|
:target: https://pypi.python.org/pypi/aiogram :target: https://pypi.python.org/pypi/aiogram
:alt: Supported python versions :alt: Supported python versions
.. image:: https://img.shields.io/badge/Telegram%20Bot%20API-6.3-blue.svg?logo=telegram .. image:: https://img.shields.io/badge/Telegram%20Bot%20API-6.4-blue.svg?logo=telegram
:target: https://core.telegram.org/bots/api :target: https://core.telegram.org/bots/api
:alt: Telegram Bot API :alt: Telegram Bot API
@ -67,7 +67,7 @@ Features
- Asynchronous (`asyncio docs <https://docs.python.org/3/library/asyncio.html>`_, :pep:`492`) - Asynchronous (`asyncio docs <https://docs.python.org/3/library/asyncio.html>`_, :pep:`492`)
- Has type hints (:pep:`484`) and can be used with `mypy <http://mypy-lang.org/>`_ - Has type hints (:pep:`484`) and can be used with `mypy <http://mypy-lang.org/>`_
- Supports `PyPy <https://www.pypy.org/>`_ - Supports `PyPy <https://www.pypy.org/>`_
- Supports `Telegram Bot API 6.3 <https://core.telegram.org/bots/api>`_ and gets fast updates to the latest versions of the Bot API - Supports `Telegram Bot API 6.4 <https://core.telegram.org/bots/api>`_ and gets fast updates to the latest versions of the Bot API
- Telegram Bot API integration code was `autogenerated <https://github.com/aiogram/tg-codegen>`_ and can be easily re-generated when API gets updated - Telegram Bot API integration code was `autogenerated <https://github.com/aiogram/tg-codegen>`_ and can be easily re-generated when API gets updated
- Updates router (Blueprints) - Updates router (Blueprints)
- Has Finite State Machine - Has Finite State Machine

View file

@ -36,4 +36,4 @@ __all__ = (
) )
__version__ = "3.0.0b7" __version__ = "3.0.0b7"
__api_version__ = "6.3" __api_version__ = "6.4"

View file

@ -33,6 +33,7 @@ from ..methods import (
BanChatSenderChat, BanChatSenderChat,
Close, Close,
CloseForumTopic, CloseForumTopic,
CloseGeneralForumTopic,
CopyMessage, CopyMessage,
CreateChatInviteLink, CreateChatInviteLink,
CreateForumTopic, CreateForumTopic,
@ -48,6 +49,7 @@ from ..methods import (
DeleteWebhook, DeleteWebhook,
EditChatInviteLink, EditChatInviteLink,
EditForumTopic, EditForumTopic,
EditGeneralForumTopic,
EditMessageCaption, EditMessageCaption,
EditMessageLiveLocation, EditMessageLiveLocation,
EditMessageMedia, EditMessageMedia,
@ -71,11 +73,13 @@ from ..methods import (
GetUpdates, GetUpdates,
GetUserProfilePhotos, GetUserProfilePhotos,
GetWebhookInfo, GetWebhookInfo,
HideGeneralForumTopic,
LeaveChat, LeaveChat,
LogOut, LogOut,
PinChatMessage, PinChatMessage,
PromoteChatMember, PromoteChatMember,
ReopenForumTopic, ReopenForumTopic,
ReopenGeneralForumTopic,
RestrictChatMember, RestrictChatMember,
RevokeChatInviteLink, RevokeChatInviteLink,
SendAnimation, SendAnimation,
@ -115,6 +119,7 @@ from ..methods import (
TelegramMethod, TelegramMethod,
UnbanChatMember, UnbanChatMember,
UnbanChatSenderChat, UnbanChatSenderChat,
UnhideGeneralForumTopic,
UnpinAllChatMessages, UnpinAllChatMessages,
UnpinAllForumTopicMessages, UnpinAllForumTopicMessages,
UnpinChatMessage, UnpinChatMessage,
@ -1103,8 +1108,8 @@ class Bot(ContextInstanceMixin["Bot"]):
self, self,
chat_id: Union[int, str], chat_id: Union[int, str],
message_thread_id: int, message_thread_id: int,
name: str, name: Optional[str] = None,
icon_custom_emoji_id: str, icon_custom_emoji_id: Optional[str] = None,
request_timeout: Optional[int] = None, request_timeout: Optional[int] = None,
) -> bool: ) -> bool:
""" """
@ -1112,8 +1117,8 @@ class Bot(ContextInstanceMixin["Bot"]):
:param chat_id: Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`) :param chat_id: Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)
:param message_thread_id: Unique identifier for the target message thread of the forum topic :param message_thread_id: Unique identifier for the target message thread of the forum topic
:param name: New topic name, 1-128 characters :param name: New topic name, 0-128 characters. If not specififed or empty, the current name of the topic will be kept
:param icon_custom_emoji_id: 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. :param icon_custom_emoji_id: 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
:param request_timeout: Request timeout :param request_timeout: Request timeout
:return: Returns :code:`True` on success. :return: Returns :code:`True` on success.
""" """
@ -1412,7 +1417,7 @@ class Bot(ContextInstanceMixin["Bot"]):
ChatMemberBanned, ChatMemberBanned,
]: ]:
""" """
Use this method to get information about a member of a chat. Returns a :class:`aiogram.types.chat_member.ChatMember` object on success. Use this method to get information about a member of a chat. The method is guaranteed to work only if the bot is an administrator in the chat. Returns a :class:`aiogram.types.chat_member.ChatMember` object on success.
:param chat_id: Unique identifier for the target chat or username of the target supergroup or channel (in the format :code:`@channelusername`) :param chat_id: Unique identifier for the target chat or username of the target supergroup or channel (in the format :code:`@channelusername`)
:param user_id: Unique identifier of the target user :param user_id: Unique identifier of the target user
@ -1878,6 +1883,7 @@ class Bot(ContextInstanceMixin["Bot"]):
caption: Optional[str] = None, caption: Optional[str] = None,
parse_mode: Optional[str] = UNSET, parse_mode: Optional[str] = UNSET,
caption_entities: Optional[List[MessageEntity]] = None, caption_entities: Optional[List[MessageEntity]] = None,
has_spoiler: Optional[bool] = None,
disable_notification: Optional[bool] = None, disable_notification: Optional[bool] = None,
protect_content: Optional[bool] = None, protect_content: Optional[bool] = None,
reply_to_message_id: Optional[int] = None, reply_to_message_id: Optional[int] = None,
@ -1900,6 +1906,7 @@ class Bot(ContextInstanceMixin["Bot"]):
:param caption: Animation caption (may also be used when resending animation by *file_id*), 0-1024 characters after entities parsing :param caption: Animation caption (may also be used when resending animation by *file_id*), 0-1024 characters after entities parsing
:param parse_mode: Mode for parsing entities in the animation caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details. :param parse_mode: Mode for parsing entities in the animation caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details.
:param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode* :param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*
:param has_spoiler: Pass :code:`True` if the animation needs to be covered with a spoiler animation
:param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound. :param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound.
:param protect_content: Protects the contents of the sent message from forwarding and saving :param protect_content: Protects the contents of the sent message from forwarding and saving
:param reply_to_message_id: If the message is a reply, ID of the original message :param reply_to_message_id: If the message is a reply, ID of the original message
@ -1920,6 +1927,7 @@ class Bot(ContextInstanceMixin["Bot"]):
caption=caption, caption=caption,
parse_mode=parse_mode, parse_mode=parse_mode,
caption_entities=caption_entities, caption_entities=caption_entities,
has_spoiler=has_spoiler,
disable_notification=disable_notification, disable_notification=disable_notification,
protect_content=protect_content, protect_content=protect_content,
reply_to_message_id=reply_to_message_id, reply_to_message_id=reply_to_message_id,
@ -1995,6 +2003,7 @@ class Bot(ContextInstanceMixin["Bot"]):
self, self,
chat_id: Union[int, str], chat_id: Union[int, str],
action: str, action: str,
message_thread_id: Optional[int] = None,
request_timeout: Optional[int] = None, request_timeout: Optional[int] = None,
) -> bool: ) -> bool:
""" """
@ -2006,6 +2015,7 @@ class Bot(ContextInstanceMixin["Bot"]):
:param chat_id: Unique identifier for the target chat or username of the target channel (in the format :code:`@channelusername`) :param chat_id: Unique identifier for the target chat or username of the target channel (in the format :code:`@channelusername`)
:param action: Type of action to broadcast. Choose one, depending on what the user is about to receive: *typing* for `text messages <https://core.telegram.org/bots/api#sendmessage>`_, *upload_photo* for `photos <https://core.telegram.org/bots/api#sendphoto>`_, *record_video* or *upload_video* for `videos <https://core.telegram.org/bots/api#sendvideo>`_, *record_voice* or *upload_voice* for `voice notes <https://core.telegram.org/bots/api#sendvoice>`_, *upload_document* for `general files <https://core.telegram.org/bots/api#senddocument>`_, *choose_sticker* for `stickers <https://core.telegram.org/bots/api#sendsticker>`_, *find_location* for `location data <https://core.telegram.org/bots/api#sendlocation>`_, *record_video_note* or *upload_video_note* for `video notes <https://core.telegram.org/bots/api#sendvideonote>`_. :param action: Type of action to broadcast. Choose one, depending on what the user is about to receive: *typing* for `text messages <https://core.telegram.org/bots/api#sendmessage>`_, *upload_photo* for `photos <https://core.telegram.org/bots/api#sendphoto>`_, *record_video* or *upload_video* for `videos <https://core.telegram.org/bots/api#sendvideo>`_, *record_voice* or *upload_voice* for `voice notes <https://core.telegram.org/bots/api#sendvoice>`_, *upload_document* for `general files <https://core.telegram.org/bots/api#senddocument>`_, *choose_sticker* for `stickers <https://core.telegram.org/bots/api#sendsticker>`_, *find_location* for `location data <https://core.telegram.org/bots/api#sendlocation>`_, *record_video_note* or *upload_video_note* for `video notes <https://core.telegram.org/bots/api#sendvideonote>`_.
:param message_thread_id: Unique identifier for the target message thread; supergroups only
:param request_timeout: Request timeout :param request_timeout: Request timeout
:return: The user will see a 'sending photo' status for the bot. :return: The user will see a 'sending photo' status for the bot.
""" """
@ -2013,6 +2023,7 @@ class Bot(ContextInstanceMixin["Bot"]):
call = SendChatAction( call = SendChatAction(
chat_id=chat_id, chat_id=chat_id,
action=action, action=action,
message_thread_id=message_thread_id,
) )
return await self(call, request_timeout=request_timeout) return await self(call, request_timeout=request_timeout)
@ -2451,6 +2462,7 @@ class Bot(ContextInstanceMixin["Bot"]):
caption: Optional[str] = None, caption: Optional[str] = None,
parse_mode: Optional[str] = UNSET, parse_mode: Optional[str] = UNSET,
caption_entities: Optional[List[MessageEntity]] = None, caption_entities: Optional[List[MessageEntity]] = None,
has_spoiler: Optional[bool] = None,
disable_notification: Optional[bool] = None, disable_notification: Optional[bool] = None,
protect_content: Optional[bool] = None, protect_content: Optional[bool] = None,
reply_to_message_id: Optional[int] = None, reply_to_message_id: Optional[int] = None,
@ -2469,6 +2481,7 @@ class Bot(ContextInstanceMixin["Bot"]):
:param caption: Photo caption (may also be used when resending photos by *file_id*), 0-1024 characters after entities parsing :param caption: Photo caption (may also be used when resending photos by *file_id*), 0-1024 characters after entities parsing
:param parse_mode: Mode for parsing entities in the photo caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details. :param parse_mode: Mode for parsing entities in the photo caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details.
:param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode* :param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*
:param has_spoiler: Pass :code:`True` if the photo needs to be covered with a spoiler animation
:param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound. :param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound.
:param protect_content: Protects the contents of the sent message from forwarding and saving :param protect_content: Protects the contents of the sent message from forwarding and saving
:param reply_to_message_id: If the message is a reply, ID of the original message :param reply_to_message_id: If the message is a reply, ID of the original message
@ -2485,6 +2498,7 @@ class Bot(ContextInstanceMixin["Bot"]):
caption=caption, caption=caption,
parse_mode=parse_mode, parse_mode=parse_mode,
caption_entities=caption_entities, caption_entities=caption_entities,
has_spoiler=has_spoiler,
disable_notification=disable_notification, disable_notification=disable_notification,
protect_content=protect_content, protect_content=protect_content,
reply_to_message_id=reply_to_message_id, reply_to_message_id=reply_to_message_id,
@ -2682,6 +2696,7 @@ class Bot(ContextInstanceMixin["Bot"]):
caption: Optional[str] = None, caption: Optional[str] = None,
parse_mode: Optional[str] = UNSET, parse_mode: Optional[str] = UNSET,
caption_entities: Optional[List[MessageEntity]] = None, caption_entities: Optional[List[MessageEntity]] = None,
has_spoiler: Optional[bool] = None,
supports_streaming: Optional[bool] = None, supports_streaming: Optional[bool] = None,
disable_notification: Optional[bool] = None, disable_notification: Optional[bool] = None,
protect_content: Optional[bool] = None, protect_content: Optional[bool] = None,
@ -2705,6 +2720,7 @@ class Bot(ContextInstanceMixin["Bot"]):
:param caption: Video caption (may also be used when resending videos by *file_id*), 0-1024 characters after entities parsing :param caption: Video caption (may also be used when resending videos by *file_id*), 0-1024 characters after entities parsing
:param parse_mode: Mode for parsing entities in the video caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details. :param parse_mode: Mode for parsing entities in the video caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details.
:param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode* :param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*
:param has_spoiler: Pass :code:`True` if the video needs to be covered with a spoiler animation
:param supports_streaming: Pass :code:`True` if the uploaded video is suitable for streaming :param supports_streaming: Pass :code:`True` if the uploaded video is suitable for streaming
:param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound. :param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound.
:param protect_content: Protects the contents of the sent message from forwarding and saving :param protect_content: Protects the contents of the sent message from forwarding and saving
@ -2726,6 +2742,7 @@ class Bot(ContextInstanceMixin["Bot"]):
caption=caption, caption=caption,
parse_mode=parse_mode, parse_mode=parse_mode,
caption_entities=caption_entities, caption_entities=caption_entities,
has_spoiler=has_spoiler,
supports_streaming=supports_streaming, supports_streaming=supports_streaming,
disable_notification=disable_notification, disable_notification=disable_notification,
protect_content=protect_content, protect_content=protect_content,
@ -3360,3 +3377,96 @@ class Bot(ContextInstanceMixin["Bot"]):
png_sticker=png_sticker, png_sticker=png_sticker,
) )
return await self(call, request_timeout=request_timeout) return await self(call, request_timeout=request_timeout)
async def close_general_forum_topic(
self,
chat_id: Union[int, str],
request_timeout: Optional[int] = None,
) -> bool:
"""
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.
:param chat_id: Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)
:param request_timeout: Request timeout
:return: Returns :code:`True` on success.
"""
call = CloseGeneralForumTopic(
chat_id=chat_id,
)
return await self(call, request_timeout=request_timeout)
async def edit_general_forum_topic(
self,
chat_id: Union[int, str],
name: str,
request_timeout: Optional[int] = None,
) -> bool:
"""
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.
:param chat_id: Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)
:param name: New topic name, 1-128 characters
:param request_timeout: Request timeout
:return: Returns :code:`True` on success.
"""
call = EditGeneralForumTopic(
chat_id=chat_id,
name=name,
)
return await self(call, request_timeout=request_timeout)
async def hide_general_forum_topic(
self,
chat_id: Union[int, str],
request_timeout: Optional[int] = None,
) -> bool:
"""
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.
:param chat_id: Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)
:param request_timeout: Request timeout
:return: Returns :code:`True` on success.
"""
call = HideGeneralForumTopic(
chat_id=chat_id,
)
return await self(call, request_timeout=request_timeout)
async def reopen_general_forum_topic(
self,
chat_id: Union[int, str],
request_timeout: Optional[int] = None,
) -> bool:
"""
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.
:param chat_id: Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)
:param request_timeout: Request timeout
:return: Returns :code:`True` on success.
"""
call = ReopenGeneralForumTopic(
chat_id=chat_id,
)
return await self(call, request_timeout=request_timeout)
async def unhide_general_forum_topic(
self,
chat_id: Union[int, str],
request_timeout: Optional[int] = None,
) -> bool:
"""
Use this method to unhide 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. Returns :code:`True` on success.
:param chat_id: Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)
:param request_timeout: Request timeout
:return: Returns :code:`True` on success.
"""
call = UnhideGeneralForumTopic(
chat_id=chat_id,
)
return await self(call, request_timeout=request_timeout)

View file

@ -17,6 +17,7 @@ class ContentType(str, Enum):
VIDEO = "video" VIDEO = "video"
VIDEO_NOTE = "video_note" VIDEO_NOTE = "video_note"
VOICE = "voice" VOICE = "voice"
HAS_MEDIA_SPOILER = "has_media_spoiler"
CONTACT = "contact" CONTACT = "contact"
DICE = "dice" DICE = "dice"
GAME = "game" GAME = "game"
@ -38,11 +39,15 @@ class ContentType(str, Enum):
INVOICE = "invoice" INVOICE = "invoice"
SUCCESSFUL_PAYMENT = "successful_payment" SUCCESSFUL_PAYMENT = "successful_payment"
CONNECTED_WEBSITE = "connected_website" CONNECTED_WEBSITE = "connected_website"
WRITE_ACCESS_ALLOWED = "write_access_allowed"
PASSPORT_DATA = "passport_data" PASSPORT_DATA = "passport_data"
PROXIMITY_ALERT_TRIGGERED = "proximity_alert_triggered" PROXIMITY_ALERT_TRIGGERED = "proximity_alert_triggered"
FORUM_TOPIC_CREATED = "forum_topic_created" FORUM_TOPIC_CREATED = "forum_topic_created"
FORUM_TOPIC_EDITED = "forum_topic_edited"
FORUM_TOPIC_CLOSED = "forum_topic_closed" FORUM_TOPIC_CLOSED = "forum_topic_closed"
FORUM_TOPIC_REOPENED = "forum_topic_reopened" FORUM_TOPIC_REOPENED = "forum_topic_reopened"
GENERAL_FORUM_TOPIC_HIDDEN = "general_forum_topic_hidden"
GENERAL_FORUM_TOPIC_UNHIDDEN = "general_forum_topic_unhidden"
VIDEO_CHAT_SCHEDULED = "video_chat_scheduled" VIDEO_CHAT_SCHEDULED = "video_chat_scheduled"
VIDEO_CHAT_STARTED = "video_chat_started" VIDEO_CHAT_STARTED = "video_chat_started"
VIDEO_CHAT_ENDED = "video_chat_ended" VIDEO_CHAT_ENDED = "video_chat_ended"

View file

@ -10,6 +10,7 @@ from .ban_chat_sender_chat import BanChatSenderChat
from .base import Request, Response, TelegramMethod from .base import Request, Response, TelegramMethod
from .close import Close from .close import Close
from .close_forum_topic import CloseForumTopic from .close_forum_topic import CloseForumTopic
from .close_general_forum_topic import CloseGeneralForumTopic
from .copy_message import CopyMessage from .copy_message import CopyMessage
from .create_chat_invite_link import CreateChatInviteLink from .create_chat_invite_link import CreateChatInviteLink
from .create_forum_topic import CreateForumTopic from .create_forum_topic import CreateForumTopic
@ -25,6 +26,7 @@ from .delete_sticker_from_set import DeleteStickerFromSet
from .delete_webhook import DeleteWebhook from .delete_webhook import DeleteWebhook
from .edit_chat_invite_link import EditChatInviteLink from .edit_chat_invite_link import EditChatInviteLink
from .edit_forum_topic import EditForumTopic from .edit_forum_topic import EditForumTopic
from .edit_general_forum_topic import EditGeneralForumTopic
from .edit_message_caption import EditMessageCaption from .edit_message_caption import EditMessageCaption
from .edit_message_live_location import EditMessageLiveLocation from .edit_message_live_location import EditMessageLiveLocation
from .edit_message_media import EditMessageMedia from .edit_message_media import EditMessageMedia
@ -48,11 +50,13 @@ from .get_sticker_set import GetStickerSet
from .get_updates import GetUpdates from .get_updates import GetUpdates
from .get_user_profile_photos import GetUserProfilePhotos from .get_user_profile_photos import GetUserProfilePhotos
from .get_webhook_info import GetWebhookInfo from .get_webhook_info import GetWebhookInfo
from .hide_general_forum_topic import HideGeneralForumTopic
from .leave_chat import LeaveChat from .leave_chat import LeaveChat
from .log_out import LogOut from .log_out import LogOut
from .pin_chat_message import PinChatMessage from .pin_chat_message import PinChatMessage
from .promote_chat_member import PromoteChatMember from .promote_chat_member import PromoteChatMember
from .reopen_forum_topic import ReopenForumTopic from .reopen_forum_topic import ReopenForumTopic
from .reopen_general_forum_topic import ReopenGeneralForumTopic
from .restrict_chat_member import RestrictChatMember from .restrict_chat_member import RestrictChatMember
from .revoke_chat_invite_link import RevokeChatInviteLink from .revoke_chat_invite_link import RevokeChatInviteLink
from .send_animation import SendAnimation from .send_animation import SendAnimation
@ -91,109 +95,115 @@ from .stop_message_live_location import StopMessageLiveLocation
from .stop_poll import StopPoll from .stop_poll import StopPoll
from .unban_chat_member import UnbanChatMember from .unban_chat_member import UnbanChatMember
from .unban_chat_sender_chat import UnbanChatSenderChat from .unban_chat_sender_chat import UnbanChatSenderChat
from .unhide_general_forum_topic import UnhideGeneralForumTopic
from .unpin_all_chat_messages import UnpinAllChatMessages from .unpin_all_chat_messages import UnpinAllChatMessages
from .unpin_all_forum_topic_messages import UnpinAllForumTopicMessages from .unpin_all_forum_topic_messages import UnpinAllForumTopicMessages
from .unpin_chat_message import UnpinChatMessage from .unpin_chat_message import UnpinChatMessage
from .upload_sticker_file import UploadStickerFile from .upload_sticker_file import UploadStickerFile
__all__ = ( __all__ = (
"TelegramMethod", "AddStickerToSet",
"Request",
"Response",
"GetUpdates",
"SetWebhook",
"DeleteWebhook",
"GetWebhookInfo",
"GetMe",
"LogOut",
"Close",
"SendMessage",
"ForwardMessage",
"CopyMessage",
"SendPhoto",
"SendAudio",
"SendDocument",
"SendVideo",
"SendAnimation",
"SendVoice",
"SendVideoNote",
"SendMediaGroup",
"SendLocation",
"EditMessageLiveLocation",
"StopMessageLiveLocation",
"SendVenue",
"SendContact",
"SendPoll",
"SendDice",
"SendChatAction",
"GetUserProfilePhotos",
"GetFile",
"BanChatMember",
"UnbanChatMember",
"RestrictChatMember",
"PromoteChatMember",
"SetChatAdministratorCustomTitle",
"BanChatSenderChat",
"UnbanChatSenderChat",
"SetChatPermissions",
"ExportChatInviteLink",
"CreateChatInviteLink",
"EditChatInviteLink",
"RevokeChatInviteLink",
"ApproveChatJoinRequest",
"DeclineChatJoinRequest",
"SetChatPhoto",
"DeleteChatPhoto",
"SetChatTitle",
"SetChatDescription",
"PinChatMessage",
"UnpinChatMessage",
"UnpinAllChatMessages",
"LeaveChat",
"GetChat",
"GetChatAdministrators",
"GetChatMemberCount",
"GetChatMember",
"SetChatStickerSet",
"DeleteChatStickerSet",
"GetForumTopicIconStickers",
"CreateForumTopic",
"EditForumTopic",
"CloseForumTopic",
"ReopenForumTopic",
"DeleteForumTopic",
"UnpinAllForumTopicMessages",
"AnswerCallbackQuery", "AnswerCallbackQuery",
"SetMyCommands", "AnswerInlineQuery",
"AnswerPreCheckoutQuery",
"AnswerShippingQuery",
"AnswerWebAppQuery",
"ApproveChatJoinRequest",
"BanChatMember",
"BanChatSenderChat",
"Close",
"CloseForumTopic",
"CloseGeneralForumTopic",
"CopyMessage",
"CreateChatInviteLink",
"CreateForumTopic",
"CreateInvoiceLink",
"CreateNewStickerSet",
"DeclineChatJoinRequest",
"DeleteChatPhoto",
"DeleteChatStickerSet",
"DeleteForumTopic",
"DeleteMessage",
"DeleteMyCommands", "DeleteMyCommands",
"GetMyCommands", "DeleteStickerFromSet",
"SetChatMenuButton", "DeleteWebhook",
"GetChatMenuButton", "EditChatInviteLink",
"SetMyDefaultAdministratorRights", "EditForumTopic",
"GetMyDefaultAdministratorRights", "EditGeneralForumTopic",
"EditMessageText",
"EditMessageCaption", "EditMessageCaption",
"EditMessageLiveLocation",
"EditMessageMedia", "EditMessageMedia",
"EditMessageReplyMarkup", "EditMessageReplyMarkup",
"StopPoll", "EditMessageText",
"DeleteMessage", "ExportChatInviteLink",
"SendSticker", "ForwardMessage",
"GetStickerSet", "GetChat",
"GetChatAdministrators",
"GetChatMember",
"GetChatMemberCount",
"GetChatMenuButton",
"GetCustomEmojiStickers", "GetCustomEmojiStickers",
"UploadStickerFile", "GetFile",
"CreateNewStickerSet", "GetForumTopicIconStickers",
"AddStickerToSet",
"SetStickerPositionInSet",
"DeleteStickerFromSet",
"SetStickerSetThumb",
"AnswerInlineQuery",
"AnswerWebAppQuery",
"SendInvoice",
"CreateInvoiceLink",
"AnswerShippingQuery",
"AnswerPreCheckoutQuery",
"SetPassportDataErrors",
"SendGame",
"SetGameScore",
"GetGameHighScores", "GetGameHighScores",
"GetMe",
"GetMyCommands",
"GetMyDefaultAdministratorRights",
"GetStickerSet",
"GetUpdates",
"GetUserProfilePhotos",
"GetWebhookInfo",
"HideGeneralForumTopic",
"LeaveChat",
"LogOut",
"PinChatMessage",
"PromoteChatMember",
"ReopenForumTopic",
"ReopenGeneralForumTopic",
"Request",
"Response",
"RestrictChatMember",
"RevokeChatInviteLink",
"SendAnimation",
"SendAudio",
"SendChatAction",
"SendContact",
"SendDice",
"SendDocument",
"SendGame",
"SendInvoice",
"SendLocation",
"SendMediaGroup",
"SendMessage",
"SendPhoto",
"SendPoll",
"SendSticker",
"SendVenue",
"SendVideo",
"SendVideoNote",
"SendVoice",
"SetChatAdministratorCustomTitle",
"SetChatDescription",
"SetChatMenuButton",
"SetChatPermissions",
"SetChatPhoto",
"SetChatStickerSet",
"SetChatTitle",
"SetGameScore",
"SetMyCommands",
"SetMyDefaultAdministratorRights",
"SetPassportDataErrors",
"SetStickerPositionInSet",
"SetStickerSetThumb",
"SetWebhook",
"StopMessageLiveLocation",
"StopPoll",
"TelegramMethod",
"UnbanChatMember",
"UnbanChatSenderChat",
"UnhideGeneralForumTopic",
"UnpinAllChatMessages",
"UnpinAllForumTopicMessages",
"UnpinChatMessage",
"UploadStickerFile",
) )

View file

@ -0,0 +1,26 @@
from __future__ import annotations
from typing import TYPE_CHECKING, Any, Dict, Union
from .base import Request, TelegramMethod
if TYPE_CHECKING:
from ..client.bot import Bot
class CloseGeneralForumTopic(TelegramMethod[bool]):
"""
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.
Source: https://core.telegram.org/bots/api#closegeneralforumtopic
"""
__returning__ = bool
chat_id: Union[int, str]
"""Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)"""
def build_request(self, bot: Bot) -> Request:
data: Dict[str, Any] = self.dict()
return Request(method="closeGeneralForumTopic", data=data)

View file

@ -1,6 +1,6 @@
from __future__ import annotations from __future__ import annotations
from typing import TYPE_CHECKING, Any, Dict, Union from typing import TYPE_CHECKING, Any, Dict, Optional, Union
from .base import Request, TelegramMethod from .base import Request, TelegramMethod
@ -21,10 +21,10 @@ class EditForumTopic(TelegramMethod[bool]):
"""Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)""" """Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)"""
message_thread_id: int message_thread_id: int
"""Unique identifier for the target message thread of the forum topic""" """Unique identifier for the target message thread of the forum topic"""
name: str name: Optional[str] = None
"""New topic name, 1-128 characters""" """New topic name, 0-128 characters. If not specififed or empty, the current name of the topic will be kept"""
icon_custom_emoji_id: str icon_custom_emoji_id: Optional[str] = None
"""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.""" """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"""
def build_request(self, bot: Bot) -> Request: def build_request(self, bot: Bot) -> Request:
data: Dict[str, Any] = self.dict() data: Dict[str, Any] = self.dict()

View file

@ -0,0 +1,28 @@
from __future__ import annotations
from typing import TYPE_CHECKING, Any, Dict, Union
from .base import Request, TelegramMethod
if TYPE_CHECKING:
from ..client.bot import Bot
class EditGeneralForumTopic(TelegramMethod[bool]):
"""
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.
Source: https://core.telegram.org/bots/api#editgeneralforumtopic
"""
__returning__ = bool
chat_id: Union[int, str]
"""Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)"""
name: str
"""New topic name, 1-128 characters"""
def build_request(self, bot: Bot) -> Request:
data: Dict[str, Any] = self.dict()
return Request(method="editGeneralForumTopic", data=data)

View file

@ -29,7 +29,7 @@ class GetChatMember(
] ]
): ):
""" """
Use this method to get information about a member of a chat. Returns a :class:`aiogram.types.chat_member.ChatMember` object on success. Use this method to get information about a member of a chat. The method is guaranteed to work only if the bot is an administrator in the chat. Returns a :class:`aiogram.types.chat_member.ChatMember` object on success.
Source: https://core.telegram.org/bots/api#getchatmember Source: https://core.telegram.org/bots/api#getchatmember
""" """

View file

@ -0,0 +1,26 @@
from __future__ import annotations
from typing import TYPE_CHECKING, Any, Dict, Union
from .base import Request, TelegramMethod
if TYPE_CHECKING:
from ..client.bot import Bot
class HideGeneralForumTopic(TelegramMethod[bool]):
"""
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.
Source: https://core.telegram.org/bots/api#hidegeneralforumtopic
"""
__returning__ = bool
chat_id: Union[int, str]
"""Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)"""
def build_request(self, bot: Bot) -> Request:
data: Dict[str, Any] = self.dict()
return Request(method="hideGeneralForumTopic", data=data)

View file

@ -0,0 +1,26 @@
from __future__ import annotations
from typing import TYPE_CHECKING, Any, Dict, Union
from .base import Request, TelegramMethod
if TYPE_CHECKING:
from ..client.bot import Bot
class ReopenGeneralForumTopic(TelegramMethod[bool]):
"""
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.
Source: https://core.telegram.org/bots/api#reopengeneralforumtopic
"""
__returning__ = bool
chat_id: Union[int, str]
"""Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)"""
def build_request(self, bot: Bot) -> Request:
data: Dict[str, Any] = self.dict()
return Request(method="reopenGeneralForumTopic", data=data)

View file

@ -47,6 +47,8 @@ class SendAnimation(TelegramMethod[Message]):
"""Mode for parsing entities in the animation caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details.""" """Mode for parsing entities in the animation caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details."""
caption_entities: Optional[List[MessageEntity]] = None caption_entities: Optional[List[MessageEntity]] = None
"""A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*""" """A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*"""
has_spoiler: Optional[bool] = None
"""Pass :code:`True` if the animation needs to be covered with a spoiler animation"""
disable_notification: Optional[bool] = None disable_notification: Optional[bool] = None
"""Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound.""" """Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound."""
protect_content: Optional[bool] = None protect_content: Optional[bool] = None

View file

@ -1,6 +1,6 @@
from __future__ import annotations from __future__ import annotations
from typing import TYPE_CHECKING, Any, Dict, Union from typing import TYPE_CHECKING, Any, Dict, Optional, Union
from .base import Request, TelegramMethod from .base import Request, TelegramMethod
@ -25,6 +25,8 @@ class SendChatAction(TelegramMethod[bool]):
"""Unique identifier for the target chat or username of the target channel (in the format :code:`@channelusername`)""" """Unique identifier for the target chat or username of the target channel (in the format :code:`@channelusername`)"""
action: str action: str
"""Type of action to broadcast. Choose one, depending on what the user is about to receive: *typing* for `text messages <https://core.telegram.org/bots/api#sendmessage>`_, *upload_photo* for `photos <https://core.telegram.org/bots/api#sendphoto>`_, *record_video* or *upload_video* for `videos <https://core.telegram.org/bots/api#sendvideo>`_, *record_voice* or *upload_voice* for `voice notes <https://core.telegram.org/bots/api#sendvoice>`_, *upload_document* for `general files <https://core.telegram.org/bots/api#senddocument>`_, *choose_sticker* for `stickers <https://core.telegram.org/bots/api#sendsticker>`_, *find_location* for `location data <https://core.telegram.org/bots/api#sendlocation>`_, *record_video_note* or *upload_video_note* for `video notes <https://core.telegram.org/bots/api#sendvideonote>`_.""" """Type of action to broadcast. Choose one, depending on what the user is about to receive: *typing* for `text messages <https://core.telegram.org/bots/api#sendmessage>`_, *upload_photo* for `photos <https://core.telegram.org/bots/api#sendphoto>`_, *record_video* or *upload_video* for `videos <https://core.telegram.org/bots/api#sendvideo>`_, *record_voice* or *upload_voice* for `voice notes <https://core.telegram.org/bots/api#sendvoice>`_, *upload_document* for `general files <https://core.telegram.org/bots/api#senddocument>`_, *choose_sticker* for `stickers <https://core.telegram.org/bots/api#sendsticker>`_, *find_location* for `location data <https://core.telegram.org/bots/api#sendlocation>`_, *record_video_note* or *upload_video_note* for `video notes <https://core.telegram.org/bots/api#sendvideonote>`_."""
message_thread_id: Optional[int] = None
"""Unique identifier for the target message thread; supergroups only"""
def build_request(self, bot: Bot) -> Request: def build_request(self, bot: Bot) -> Request:
data: Dict[str, Any] = self.dict() data: Dict[str, Any] = self.dict()

View file

@ -39,6 +39,8 @@ class SendPhoto(TelegramMethod[Message]):
"""Mode for parsing entities in the photo caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details.""" """Mode for parsing entities in the photo caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details."""
caption_entities: Optional[List[MessageEntity]] = None caption_entities: Optional[List[MessageEntity]] = None
"""A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*""" """A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*"""
has_spoiler: Optional[bool] = None
"""Pass :code:`True` if the photo needs to be covered with a spoiler animation"""
disable_notification: Optional[bool] = None disable_notification: Optional[bool] = None
"""Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound.""" """Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound."""
protect_content: Optional[bool] = None protect_content: Optional[bool] = None

View file

@ -47,6 +47,8 @@ class SendVideo(TelegramMethod[Message]):
"""Mode for parsing entities in the video caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details.""" """Mode for parsing entities in the video caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details."""
caption_entities: Optional[List[MessageEntity]] = None caption_entities: Optional[List[MessageEntity]] = None
"""A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*""" """A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*"""
has_spoiler: Optional[bool] = None
"""Pass :code:`True` if the video needs to be covered with a spoiler animation"""
supports_streaming: Optional[bool] = None supports_streaming: Optional[bool] = None
"""Pass :code:`True` if the uploaded video is suitable for streaming""" """Pass :code:`True` if the uploaded video is suitable for streaming"""
disable_notification: Optional[bool] = None disable_notification: Optional[bool] = None

View file

@ -0,0 +1,26 @@
from __future__ import annotations
from typing import TYPE_CHECKING, Any, Dict, Union
from .base import Request, TelegramMethod
if TYPE_CHECKING:
from ..client.bot import Bot
class UnhideGeneralForumTopic(TelegramMethod[bool]):
"""
Use this method to unhide 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. Returns :code:`True` on success.
Source: https://core.telegram.org/bots/api#unhidegeneralforumtopic
"""
__returning__ = bool
chat_id: Union[int, str]
"""Unique identifier for the target chat or username of the target supergroup (in the format :code:`@supergroupusername`)"""
def build_request(self, bot: Bot) -> Request:
data: Dict[str, Any] = self.dict()
return Request(method="unhideGeneralForumTopic", data=data)

View file

@ -42,9 +42,12 @@ from .force_reply import ForceReply
from .forum_topic import ForumTopic from .forum_topic import ForumTopic
from .forum_topic_closed import ForumTopicClosed from .forum_topic_closed import ForumTopicClosed
from .forum_topic_created import ForumTopicCreated from .forum_topic_created import ForumTopicCreated
from .forum_topic_edited import ForumTopicEdited
from .forum_topic_reopened import ForumTopicReopened from .forum_topic_reopened import ForumTopicReopened
from .game import Game from .game import Game
from .game_high_score import GameHighScore from .game_high_score import GameHighScore
from .general_forum_topic_hidden import GeneralForumTopicHidden
from .general_forum_topic_unhidden import GeneralForumTopicUnhidden
from .inline_keyboard_button import InlineKeyboardButton from .inline_keyboard_button import InlineKeyboardButton
from .inline_keyboard_markup import InlineKeyboardMarkup from .inline_keyboard_markup import InlineKeyboardMarkup
from .inline_query import InlineQuery from .inline_query import InlineQuery
@ -140,6 +143,7 @@ from .voice import Voice
from .web_app_data import WebAppData from .web_app_data import WebAppData
from .web_app_info import WebAppInfo from .web_app_info import WebAppInfo
from .webhook_info import WebhookInfo from .webhook_info import WebhookInfo
from .write_access_allowed import WriteAccessAllowed
__all__ = ( __all__ = (
"Animation", "Animation",
@ -186,9 +190,12 @@ __all__ = (
"ForumTopic", "ForumTopic",
"ForumTopicClosed", "ForumTopicClosed",
"ForumTopicCreated", "ForumTopicCreated",
"ForumTopicEdited",
"ForumTopicReopened", "ForumTopicReopened",
"Game", "Game",
"GameHighScore", "GameHighScore",
"GeneralForumTopicHidden",
"GeneralForumTopicUnhidden",
"InlineKeyboardButton", "InlineKeyboardButton",
"InlineKeyboardMarkup", "InlineKeyboardMarkup",
"InlineQuery", "InlineQuery",
@ -287,6 +294,7 @@ __all__ = (
"WebAppData", "WebAppData",
"WebAppInfo", "WebAppInfo",
"WebhookInfo", "WebhookInfo",
"WriteAccessAllowed",
) )
# Load typing forward refs for every TelegramObject # Load typing forward refs for every TelegramObject

View file

@ -91,6 +91,10 @@ class Chat(TelegramObject):
"""*Optional*. For supergroups, the minimum allowed delay between consecutive messages sent by each unpriviledged user; in seconds. Returned only in :class:`aiogram.methods.get_chat.GetChat`.""" """*Optional*. For supergroups, the minimum allowed delay between consecutive messages sent by each unpriviledged user; in seconds. Returned only in :class:`aiogram.methods.get_chat.GetChat`."""
message_auto_delete_time: Optional[int] = None message_auto_delete_time: Optional[int] = None
"""*Optional*. The time after which all messages sent to the chat will be automatically deleted; in seconds. Returned only in :class:`aiogram.methods.get_chat.GetChat`.""" """*Optional*. The time after which all messages sent to the chat will be automatically deleted; in seconds. Returned only in :class:`aiogram.methods.get_chat.GetChat`."""
has_aggressive_anti_spam_enabled: Optional[bool] = None
"""*Optional*. :code:`True`, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators. Returned only in :class:`aiogram.methods.get_chat.GetChat`."""
has_hidden_members: Optional[bool] = None
"""*Optional*. :code:`True`, if non-administrators can only get the list of bots and administrators in the chat. Returned only in :class:`aiogram.methods.get_chat.GetChat`."""
has_protected_content: Optional[bool] = None has_protected_content: Optional[bool] = None
"""*Optional*. :code:`True`, if messages from the chat can't be forwarded to other chats. Returned only in :class:`aiogram.methods.get_chat.GetChat`.""" """*Optional*. :code:`True`, if messages from the chat can't be forwarded to other chats. Returned only in :class:`aiogram.methods.get_chat.GetChat`."""
sticker_set_name: Optional[str] = None sticker_set_name: Optional[str] = None
@ -403,6 +407,7 @@ class Chat(TelegramObject):
def do( def do(
self, self,
action: str, action: str,
message_thread_id: Optional[int] = None,
**kwargs: Any, **kwargs: Any,
) -> SendChatAction: ) -> SendChatAction:
""" """
@ -420,6 +425,7 @@ class Chat(TelegramObject):
Source: https://core.telegram.org/bots/api#sendchataction Source: https://core.telegram.org/bots/api#sendchataction
:param action: Type of action to broadcast. Choose one, depending on what the user is about to receive: *typing* for `text messages <https://core.telegram.org/bots/api#sendmessage>`_, *upload_photo* for `photos <https://core.telegram.org/bots/api#sendphoto>`_, *record_video* or *upload_video* for `videos <https://core.telegram.org/bots/api#sendvideo>`_, *record_voice* or *upload_voice* for `voice notes <https://core.telegram.org/bots/api#sendvoice>`_, *upload_document* for `general files <https://core.telegram.org/bots/api#senddocument>`_, *choose_sticker* for `stickers <https://core.telegram.org/bots/api#sendsticker>`_, *find_location* for `location data <https://core.telegram.org/bots/api#sendlocation>`_, *record_video_note* or *upload_video_note* for `video notes <https://core.telegram.org/bots/api#sendvideonote>`_. :param action: Type of action to broadcast. Choose one, depending on what the user is about to receive: *typing* for `text messages <https://core.telegram.org/bots/api#sendmessage>`_, *upload_photo* for `photos <https://core.telegram.org/bots/api#sendphoto>`_, *record_video* or *upload_video* for `videos <https://core.telegram.org/bots/api#sendvideo>`_, *record_voice* or *upload_voice* for `voice notes <https://core.telegram.org/bots/api#sendvoice>`_, *upload_document* for `general files <https://core.telegram.org/bots/api#senddocument>`_, *choose_sticker* for `stickers <https://core.telegram.org/bots/api#sendsticker>`_, *find_location* for `location data <https://core.telegram.org/bots/api#sendlocation>`_, *record_video_note* or *upload_video_note* for `video notes <https://core.telegram.org/bots/api#sendvideonote>`_.
:param message_thread_id: Unique identifier for the target message thread; supergroups only
:return: instance of method :class:`aiogram.methods.send_chat_action.SendChatAction` :return: instance of method :class:`aiogram.methods.send_chat_action.SendChatAction`
""" """
# DO NOT EDIT MANUALLY!!! # DO NOT EDIT MANUALLY!!!
@ -430,6 +436,7 @@ class Chat(TelegramObject):
return SendChatAction( return SendChatAction(
chat_id=self.id, chat_id=self.id,
action=action, action=action,
message_thread_id=message_thread_id,
**kwargs, **kwargs,
) )
@ -499,7 +506,7 @@ class Chat(TelegramObject):
- :code:`chat_id` - :code:`chat_id`
Use this method to get information about a member of a chat. Returns a :class:`aiogram.types.chat_member.ChatMember` object on success. Use this method to get information about a member of a chat. The method is guaranteed to work only if the bot is an administrator in the chat. Returns a :class:`aiogram.types.chat_member.ChatMember` object on success.
Source: https://core.telegram.org/bots/api#getchatmember Source: https://core.telegram.org/bots/api#getchatmember

View file

@ -0,0 +1,16 @@
from typing import Optional
from aiogram.types import TelegramObject
class ForumTopicEdited(TelegramObject):
"""
This object represents a service message about an edited forum topic.
Source: https://core.telegram.org/bots/api#forumtopicedited
"""
name: Optional[str] = None
"""*Optional*. New name of the topic, if it was edited"""
icon_custom_emoji_id: Optional[str] = None
"""*Optional*. New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed"""

View file

@ -0,0 +1,9 @@
from aiogram.types import TelegramObject
class GeneralForumTopicHidden(TelegramObject):
"""
This object represents a service message about General forum topic hidden in the chat. Currently holds no information.
Source: https://core.telegram.org/bots/api#generalforumtopichidden
"""

View file

@ -0,0 +1,9 @@
from aiogram.types import TelegramObject
class GeneralForumTopicUnhidden(TelegramObject):
"""
This object represents a service message about General forum topic unhidden in the chat. Currently holds no information.
Source: https://core.telegram.org/bots/api#generalforumtopicunhidden
"""

View file

@ -38,3 +38,5 @@ class InputMediaAnimation(InputMedia):
"""*Optional*. Animation height""" """*Optional*. Animation height"""
duration: Optional[int] = None duration: Optional[int] = None
"""*Optional*. Animation duration in seconds""" """*Optional*. Animation duration in seconds"""
has_spoiler: Optional[bool] = None
"""*Optional*. Pass :code:`True` if the animation needs to be covered with a spoiler animation"""

View file

@ -30,3 +30,5 @@ class InputMediaPhoto(InputMedia):
"""*Optional*. Mode for parsing entities in the photo caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details.""" """*Optional*. Mode for parsing entities in the photo caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details."""
caption_entities: Optional[List[MessageEntity]] = None caption_entities: Optional[List[MessageEntity]] = None
"""*Optional*. List of special entities that appear in the caption, which can be specified instead of *parse_mode*""" """*Optional*. List of special entities that appear in the caption, which can be specified instead of *parse_mode*"""
has_spoiler: Optional[bool] = None
"""*Optional*. Pass :code:`True` if the photo needs to be covered with a spoiler animation"""

View file

@ -40,3 +40,5 @@ class InputMediaVideo(InputMedia):
"""*Optional*. Video duration in seconds""" """*Optional*. Video duration in seconds"""
supports_streaming: Optional[bool] = None supports_streaming: Optional[bool] = None
"""*Optional*. Pass :code:`True` if the uploaded video is suitable for streaming""" """*Optional*. Pass :code:`True` if the uploaded video is suitable for streaming"""
has_spoiler: Optional[bool] = None
"""*Optional*. Pass :code:`True` if the video needs to be covered with a spoiler animation"""

View file

@ -50,8 +50,11 @@ if TYPE_CHECKING:
from .force_reply import ForceReply from .force_reply import ForceReply
from .forum_topic_closed import ForumTopicClosed from .forum_topic_closed import ForumTopicClosed
from .forum_topic_created import ForumTopicCreated from .forum_topic_created import ForumTopicCreated
from .forum_topic_edited import ForumTopicEdited
from .forum_topic_reopened import ForumTopicReopened from .forum_topic_reopened import ForumTopicReopened
from .game import Game from .game import Game
from .general_forum_topic_hidden import GeneralForumTopicHidden
from .general_forum_topic_unhidden import GeneralForumTopicUnhidden
from .inline_keyboard_markup import InlineKeyboardMarkup from .inline_keyboard_markup import InlineKeyboardMarkup
from .input_file import InputFile from .input_file import InputFile
from .input_media import InputMedia from .input_media import InputMedia
@ -82,6 +85,7 @@ if TYPE_CHECKING:
from .video_note import VideoNote from .video_note import VideoNote
from .voice import Voice from .voice import Voice
from .web_app_data import WebAppData from .web_app_data import WebAppData
from .write_access_allowed import WriteAccessAllowed
class Message(TelegramObject): class Message(TelegramObject):
@ -155,6 +159,8 @@ class Message(TelegramObject):
"""*Optional*. Caption for the animation, audio, document, photo, video or voice""" """*Optional*. Caption for the animation, audio, document, photo, video or voice"""
caption_entities: Optional[List[MessageEntity]] = None caption_entities: Optional[List[MessageEntity]] = None
"""*Optional*. For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption""" """*Optional*. For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption"""
has_media_spoiler: Optional[bool] = None
"""*Optional*. :code:`True`, if the message media is covered by a spoiler animation"""
contact: Optional[Contact] = None contact: Optional[Contact] = None
"""*Optional*. Message is a shared contact, information about the contact""" """*Optional*. Message is a shared contact, information about the contact"""
dice: Optional[Dice] = None dice: Optional[Dice] = None
@ -197,16 +203,24 @@ class Message(TelegramObject):
"""*Optional*. Message is a service message about a successful payment, information about the payment. `More about payments » <https://core.telegram.org/bots/api#payments>`_""" """*Optional*. Message is a service message about a successful payment, information about the payment. `More about payments » <https://core.telegram.org/bots/api#payments>`_"""
connected_website: Optional[str] = None connected_website: Optional[str] = None
"""*Optional*. The domain name of the website on which the user has logged in. `More about Telegram Login » <https://core.telegram.org/widgets/login>`_""" """*Optional*. The domain name of the website on which the user has logged in. `More about Telegram Login » <https://core.telegram.org/widgets/login>`_"""
write_access_allowed: Optional[WriteAccessAllowed] = None
"""*Optional*. Service message: the user allowed the bot added to the attachment menu to write messages"""
passport_data: Optional[PassportData] = None passport_data: Optional[PassportData] = None
"""*Optional*. Telegram Passport data""" """*Optional*. Telegram Passport data"""
proximity_alert_triggered: Optional[ProximityAlertTriggered] = None proximity_alert_triggered: Optional[ProximityAlertTriggered] = None
"""*Optional*. Service message. A user in the chat triggered another user's proximity alert while sharing Live Location.""" """*Optional*. Service message. A user in the chat triggered another user's proximity alert while sharing Live Location."""
forum_topic_created: Optional[ForumTopicCreated] = None forum_topic_created: Optional[ForumTopicCreated] = None
"""*Optional*. Service message: forum topic created""" """*Optional*. Service message: forum topic created"""
forum_topic_edited: Optional[ForumTopicEdited] = None
"""*Optional*. Service message: forum topic edited"""
forum_topic_closed: Optional[ForumTopicClosed] = None forum_topic_closed: Optional[ForumTopicClosed] = None
"""*Optional*. Service message: forum topic closed""" """*Optional*. Service message: forum topic closed"""
forum_topic_reopened: Optional[ForumTopicReopened] = None forum_topic_reopened: Optional[ForumTopicReopened] = None
"""*Optional*. Service message: forum topic reopened""" """*Optional*. Service message: forum topic reopened"""
general_forum_topic_hidden: Optional[GeneralForumTopicHidden] = None
"""*Optional*. Service message: the 'General' forum topic hidden"""
general_forum_topic_unhidden: Optional[GeneralForumTopicUnhidden] = None
"""*Optional*. Service message: the 'General' forum topic unhidden"""
video_chat_scheduled: Optional[VideoChatScheduled] = None video_chat_scheduled: Optional[VideoChatScheduled] = None
"""*Optional*. Service message: video chat scheduled""" """*Optional*. Service message: video chat scheduled"""
video_chat_started: Optional[VideoChatStarted] = None video_chat_started: Optional[VideoChatStarted] = None
@ -328,6 +342,7 @@ class Message(TelegramObject):
caption: Optional[str] = None, caption: Optional[str] = None,
parse_mode: Optional[str] = UNSET, parse_mode: Optional[str] = UNSET,
caption_entities: Optional[List[MessageEntity]] = None, caption_entities: Optional[List[MessageEntity]] = None,
has_spoiler: Optional[bool] = None,
disable_notification: Optional[bool] = None, disable_notification: Optional[bool] = None,
protect_content: Optional[bool] = None, protect_content: Optional[bool] = None,
allow_sending_without_reply: Optional[bool] = None, allow_sending_without_reply: Optional[bool] = None,
@ -356,6 +371,7 @@ class Message(TelegramObject):
:param caption: Animation caption (may also be used when resending animation by *file_id*), 0-1024 characters after entities parsing :param caption: Animation caption (may also be used when resending animation by *file_id*), 0-1024 characters after entities parsing
:param parse_mode: Mode for parsing entities in the animation caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details. :param parse_mode: Mode for parsing entities in the animation caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details.
:param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode* :param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*
:param has_spoiler: Pass :code:`True` if the animation needs to be covered with a spoiler animation
:param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound. :param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound.
:param protect_content: Protects the contents of the sent message from forwarding and saving :param protect_content: Protects the contents of the sent message from forwarding and saving
:param allow_sending_without_reply: Pass :code:`True` if the message should be sent even if the specified replied-to message is not found :param allow_sending_without_reply: Pass :code:`True` if the message should be sent even if the specified replied-to message is not found
@ -379,6 +395,7 @@ class Message(TelegramObject):
caption=caption, caption=caption,
parse_mode=parse_mode, parse_mode=parse_mode,
caption_entities=caption_entities, caption_entities=caption_entities,
has_spoiler=has_spoiler,
disable_notification=disable_notification, disable_notification=disable_notification,
protect_content=protect_content, protect_content=protect_content,
allow_sending_without_reply=allow_sending_without_reply, allow_sending_without_reply=allow_sending_without_reply,
@ -396,6 +413,7 @@ class Message(TelegramObject):
caption: Optional[str] = None, caption: Optional[str] = None,
parse_mode: Optional[str] = UNSET, parse_mode: Optional[str] = UNSET,
caption_entities: Optional[List[MessageEntity]] = None, caption_entities: Optional[List[MessageEntity]] = None,
has_spoiler: Optional[bool] = None,
disable_notification: Optional[bool] = None, disable_notification: Optional[bool] = None,
protect_content: Optional[bool] = None, protect_content: Optional[bool] = None,
reply_to_message_id: Optional[int] = None, reply_to_message_id: Optional[int] = None,
@ -424,6 +442,7 @@ class Message(TelegramObject):
:param caption: Animation caption (may also be used when resending animation by *file_id*), 0-1024 characters after entities parsing :param caption: Animation caption (may also be used when resending animation by *file_id*), 0-1024 characters after entities parsing
:param parse_mode: Mode for parsing entities in the animation caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details. :param parse_mode: Mode for parsing entities in the animation caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details.
:param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode* :param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*
:param has_spoiler: Pass :code:`True` if the animation needs to be covered with a spoiler animation
:param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound. :param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound.
:param protect_content: Protects the contents of the sent message from forwarding and saving :param protect_content: Protects the contents of the sent message from forwarding and saving
:param reply_to_message_id: If the message is a reply, ID of the original message :param reply_to_message_id: If the message is a reply, ID of the original message
@ -447,6 +466,7 @@ class Message(TelegramObject):
caption=caption, caption=caption,
parse_mode=parse_mode, parse_mode=parse_mode,
caption_entities=caption_entities, caption_entities=caption_entities,
has_spoiler=has_spoiler,
disable_notification=disable_notification, disable_notification=disable_notification,
protect_content=protect_content, protect_content=protect_content,
reply_to_message_id=reply_to_message_id, reply_to_message_id=reply_to_message_id,
@ -1463,6 +1483,7 @@ class Message(TelegramObject):
caption: Optional[str] = None, caption: Optional[str] = None,
parse_mode: Optional[str] = UNSET, parse_mode: Optional[str] = UNSET,
caption_entities: Optional[List[MessageEntity]] = None, caption_entities: Optional[List[MessageEntity]] = None,
has_spoiler: Optional[bool] = None,
disable_notification: Optional[bool] = None, disable_notification: Optional[bool] = None,
protect_content: Optional[bool] = None, protect_content: Optional[bool] = None,
allow_sending_without_reply: Optional[bool] = None, allow_sending_without_reply: Optional[bool] = None,
@ -1487,6 +1508,7 @@ class Message(TelegramObject):
:param caption: Photo caption (may also be used when resending photos by *file_id*), 0-1024 characters after entities parsing :param caption: Photo caption (may also be used when resending photos by *file_id*), 0-1024 characters after entities parsing
:param parse_mode: Mode for parsing entities in the photo caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details. :param parse_mode: Mode for parsing entities in the photo caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details.
:param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode* :param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*
:param has_spoiler: Pass :code:`True` if the photo needs to be covered with a spoiler animation
:param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound. :param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound.
:param protect_content: Protects the contents of the sent message from forwarding and saving :param protect_content: Protects the contents of the sent message from forwarding and saving
:param allow_sending_without_reply: Pass :code:`True` if the message should be sent even if the specified replied-to message is not found :param allow_sending_without_reply: Pass :code:`True` if the message should be sent even if the specified replied-to message is not found
@ -1506,6 +1528,7 @@ class Message(TelegramObject):
caption=caption, caption=caption,
parse_mode=parse_mode, parse_mode=parse_mode,
caption_entities=caption_entities, caption_entities=caption_entities,
has_spoiler=has_spoiler,
disable_notification=disable_notification, disable_notification=disable_notification,
protect_content=protect_content, protect_content=protect_content,
allow_sending_without_reply=allow_sending_without_reply, allow_sending_without_reply=allow_sending_without_reply,
@ -1519,6 +1542,7 @@ class Message(TelegramObject):
caption: Optional[str] = None, caption: Optional[str] = None,
parse_mode: Optional[str] = UNSET, parse_mode: Optional[str] = UNSET,
caption_entities: Optional[List[MessageEntity]] = None, caption_entities: Optional[List[MessageEntity]] = None,
has_spoiler: Optional[bool] = None,
disable_notification: Optional[bool] = None, disable_notification: Optional[bool] = None,
protect_content: Optional[bool] = None, protect_content: Optional[bool] = None,
reply_to_message_id: Optional[int] = None, reply_to_message_id: Optional[int] = None,
@ -1543,6 +1567,7 @@ class Message(TelegramObject):
:param caption: Photo caption (may also be used when resending photos by *file_id*), 0-1024 characters after entities parsing :param caption: Photo caption (may also be used when resending photos by *file_id*), 0-1024 characters after entities parsing
:param parse_mode: Mode for parsing entities in the photo caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details. :param parse_mode: Mode for parsing entities in the photo caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details.
:param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode* :param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*
:param has_spoiler: Pass :code:`True` if the photo needs to be covered with a spoiler animation
:param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound. :param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound.
:param protect_content: Protects the contents of the sent message from forwarding and saving :param protect_content: Protects the contents of the sent message from forwarding and saving
:param reply_to_message_id: If the message is a reply, ID of the original message :param reply_to_message_id: If the message is a reply, ID of the original message
@ -1562,6 +1587,7 @@ class Message(TelegramObject):
caption=caption, caption=caption,
parse_mode=parse_mode, parse_mode=parse_mode,
caption_entities=caption_entities, caption_entities=caption_entities,
has_spoiler=has_spoiler,
disable_notification=disable_notification, disable_notification=disable_notification,
protect_content=protect_content, protect_content=protect_content,
reply_to_message_id=reply_to_message_id, reply_to_message_id=reply_to_message_id,
@ -2068,6 +2094,7 @@ class Message(TelegramObject):
caption: Optional[str] = None, caption: Optional[str] = None,
parse_mode: Optional[str] = UNSET, parse_mode: Optional[str] = UNSET,
caption_entities: Optional[List[MessageEntity]] = None, caption_entities: Optional[List[MessageEntity]] = None,
has_spoiler: Optional[bool] = None,
supports_streaming: Optional[bool] = None, supports_streaming: Optional[bool] = None,
disable_notification: Optional[bool] = None, disable_notification: Optional[bool] = None,
protect_content: Optional[bool] = None, protect_content: Optional[bool] = None,
@ -2097,6 +2124,7 @@ class Message(TelegramObject):
:param caption: Video caption (may also be used when resending videos by *file_id*), 0-1024 characters after entities parsing :param caption: Video caption (may also be used when resending videos by *file_id*), 0-1024 characters after entities parsing
:param parse_mode: Mode for parsing entities in the video caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details. :param parse_mode: Mode for parsing entities in the video caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details.
:param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode* :param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*
:param has_spoiler: Pass :code:`True` if the video needs to be covered with a spoiler animation
:param supports_streaming: Pass :code:`True` if the uploaded video is suitable for streaming :param supports_streaming: Pass :code:`True` if the uploaded video is suitable for streaming
:param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound. :param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound.
:param protect_content: Protects the contents of the sent message from forwarding and saving :param protect_content: Protects the contents of the sent message from forwarding and saving
@ -2121,6 +2149,7 @@ class Message(TelegramObject):
caption=caption, caption=caption,
parse_mode=parse_mode, parse_mode=parse_mode,
caption_entities=caption_entities, caption_entities=caption_entities,
has_spoiler=has_spoiler,
supports_streaming=supports_streaming, supports_streaming=supports_streaming,
disable_notification=disable_notification, disable_notification=disable_notification,
protect_content=protect_content, protect_content=protect_content,
@ -2139,6 +2168,7 @@ class Message(TelegramObject):
caption: Optional[str] = None, caption: Optional[str] = None,
parse_mode: Optional[str] = UNSET, parse_mode: Optional[str] = UNSET,
caption_entities: Optional[List[MessageEntity]] = None, caption_entities: Optional[List[MessageEntity]] = None,
has_spoiler: Optional[bool] = None,
supports_streaming: Optional[bool] = None, supports_streaming: Optional[bool] = None,
disable_notification: Optional[bool] = None, disable_notification: Optional[bool] = None,
protect_content: Optional[bool] = None, protect_content: Optional[bool] = None,
@ -2168,6 +2198,7 @@ class Message(TelegramObject):
:param caption: Video caption (may also be used when resending videos by *file_id*), 0-1024 characters after entities parsing :param caption: Video caption (may also be used when resending videos by *file_id*), 0-1024 characters after entities parsing
:param parse_mode: Mode for parsing entities in the video caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details. :param parse_mode: Mode for parsing entities in the video caption. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details.
:param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode* :param caption_entities: A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*
:param has_spoiler: Pass :code:`True` if the video needs to be covered with a spoiler animation
:param supports_streaming: Pass :code:`True` if the uploaded video is suitable for streaming :param supports_streaming: Pass :code:`True` if the uploaded video is suitable for streaming
:param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound. :param disable_notification: Sends the message `silently <https://telegram.org/blog/channels-2-0#silent-messages>`_. Users will receive a notification with no sound.
:param protect_content: Protects the contents of the sent message from forwarding and saving :param protect_content: Protects the contents of the sent message from forwarding and saving
@ -2192,6 +2223,7 @@ class Message(TelegramObject):
caption=caption, caption=caption,
parse_mode=parse_mode, parse_mode=parse_mode,
caption_entities=caption_entities, caption_entities=caption_entities,
has_spoiler=has_spoiler,
supports_streaming=supports_streaming, supports_streaming=supports_streaming,
disable_notification=disable_notification, disable_notification=disable_notification,
protect_content=protect_content, protect_content=protect_content,

View file

@ -17,6 +17,8 @@ class ReplyKeyboardMarkup(MutableTelegramObject):
keyboard: List[List[KeyboardButton]] keyboard: List[List[KeyboardButton]]
"""Array of button rows, each represented by an Array of :class:`aiogram.types.keyboard_button.KeyboardButton` objects""" """Array of button rows, each represented by an Array of :class:`aiogram.types.keyboard_button.KeyboardButton` objects"""
is_persistent: Optional[bool] = None
"""*Optional*. Requests clients to always show the keyboard when the regular keyboard is hidden. Defaults to *false*, in which case the custom keyboard can be hidden and opened with a keyboard icon."""
resize_keyboard: Optional[bool] = None resize_keyboard: Optional[bool] = None
"""*Optional*. Requests clients to resize the keyboard vertically for optimal fit (e.g., make the keyboard smaller if there are just two rows of buttons). Defaults to *false*, in which case the custom keyboard is always of the same height as the app's standard keyboard.""" """*Optional*. Requests clients to resize the keyboard vertically for optimal fit (e.g., make the keyboard smaller if there are just two rows of buttons). Defaults to *false*, in which case the custom keyboard is always of the same height as the app's standard keyboard."""
one_time_keyboard: Optional[bool] = None one_time_keyboard: Optional[bool] = None

View file

@ -0,0 +1,9 @@
from aiogram.types import TelegramObject
class WriteAccessAllowed(TelegramObject):
"""
This object represents a service message about a user allowing a bot added to the attachment menu to write messages. Currently holds no information.
Source: https://core.telegram.org/bots/api#writeaccessallowed
"""

View file

@ -0,0 +1,44 @@
######################
closeGeneralForumTopic
######################
Returns: :obj:`bool`
.. automodule:: aiogram.methods.close_general_forum_topic
:members:
:member-order: bysource
:undoc-members: True
Usage
=====
As bot method
-------------
.. code-block::
result: bool = await bot.close_general_forum_topic(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.close_general_forum_topic import CloseGeneralForumTopic`
- alias: :code:`from aiogram.methods import CloseGeneralForumTopic`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: bool = await bot(CloseGeneralForumTopic(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: python
return CloseGeneralForumTopic(...)

View file

@ -0,0 +1,44 @@
#####################
editGeneralForumTopic
#####################
Returns: :obj:`bool`
.. automodule:: aiogram.methods.edit_general_forum_topic
:members:
:member-order: bysource
:undoc-members: True
Usage
=====
As bot method
-------------
.. code-block::
result: bool = await bot.edit_general_forum_topic(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.edit_general_forum_topic import EditGeneralForumTopic`
- alias: :code:`from aiogram.methods import EditGeneralForumTopic`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: bool = await bot(EditGeneralForumTopic(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: python
return EditGeneralForumTopic(...)

View file

@ -0,0 +1,44 @@
#####################
hideGeneralForumTopic
#####################
Returns: :obj:`bool`
.. automodule:: aiogram.methods.hide_general_forum_topic
:members:
:member-order: bysource
:undoc-members: True
Usage
=====
As bot method
-------------
.. code-block::
result: bool = await bot.hide_general_forum_topic(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.hide_general_forum_topic import HideGeneralForumTopic`
- alias: :code:`from aiogram.methods import HideGeneralForumTopic`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: bool = await bot(HideGeneralForumTopic(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: python
return HideGeneralForumTopic(...)

View file

@ -17,6 +17,7 @@ Available methods
ban_chat_sender_chat ban_chat_sender_chat
close close
close_forum_topic close_forum_topic
close_general_forum_topic
copy_message copy_message
create_chat_invite_link create_chat_invite_link
create_forum_topic create_forum_topic
@ -27,6 +28,7 @@ Available methods
delete_my_commands delete_my_commands
edit_chat_invite_link edit_chat_invite_link
edit_forum_topic edit_forum_topic
edit_general_forum_topic
edit_message_live_location edit_message_live_location
export_chat_invite_link export_chat_invite_link
forward_message forward_message
@ -41,11 +43,13 @@ Available methods
get_my_commands get_my_commands
get_my_default_administrator_rights get_my_default_administrator_rights
get_user_profile_photos get_user_profile_photos
hide_general_forum_topic
leave_chat leave_chat
log_out log_out
pin_chat_message pin_chat_message
promote_chat_member promote_chat_member
reopen_forum_topic reopen_forum_topic
reopen_general_forum_topic
restrict_chat_member restrict_chat_member
revoke_chat_invite_link revoke_chat_invite_link
send_animation send_animation
@ -75,6 +79,7 @@ Available methods
stop_message_live_location stop_message_live_location
unban_chat_member unban_chat_member
unban_chat_sender_chat unban_chat_sender_chat
unhide_general_forum_topic
unpin_all_chat_messages unpin_all_chat_messages
unpin_all_forum_topic_messages unpin_all_forum_topic_messages
unpin_chat_message unpin_chat_message

View file

@ -0,0 +1,44 @@
#######################
reopenGeneralForumTopic
#######################
Returns: :obj:`bool`
.. automodule:: aiogram.methods.reopen_general_forum_topic
:members:
:member-order: bysource
:undoc-members: True
Usage
=====
As bot method
-------------
.. code-block::
result: bool = await bot.reopen_general_forum_topic(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.reopen_general_forum_topic import ReopenGeneralForumTopic`
- alias: :code:`from aiogram.methods import ReopenGeneralForumTopic`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: bool = await bot(ReopenGeneralForumTopic(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: python
return ReopenGeneralForumTopic(...)

View file

@ -0,0 +1,44 @@
#######################
unhideGeneralForumTopic
#######################
Returns: :obj:`bool`
.. automodule:: aiogram.methods.unhide_general_forum_topic
:members:
:member-order: bysource
:undoc-members: True
Usage
=====
As bot method
-------------
.. code-block::
result: bool = await bot.unhide_general_forum_topic(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.unhide_general_forum_topic import UnhideGeneralForumTopic`
- alias: :code:`from aiogram.methods import UnhideGeneralForumTopic`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: bool = await bot(UnhideGeneralForumTopic(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: python
return UnhideGeneralForumTopic(...)

View file

@ -0,0 +1,9 @@
################
ForumTopicEdited
################
.. automodule:: aiogram.types.forum_topic_edited
:members:
:member-order: bysource
:undoc-members: True

View file

@ -0,0 +1,9 @@
#######################
GeneralForumTopicHidden
#######################
.. automodule:: aiogram.types.general_forum_topic_hidden
:members:
:member-order: bysource
:undoc-members: True

View file

@ -0,0 +1,9 @@
#########################
GeneralForumTopicUnhidden
#########################
.. automodule:: aiogram.types.general_forum_topic_unhidden
:members:
:member-order: bysource
:undoc-members: True

View file

@ -83,7 +83,10 @@ Available types
forum_topic forum_topic
forum_topic_closed forum_topic_closed
forum_topic_created forum_topic_created
forum_topic_edited
forum_topic_reopened forum_topic_reopened
general_forum_topic_hidden
general_forum_topic_unhidden
inline_keyboard_button inline_keyboard_button
inline_keyboard_markup inline_keyboard_markup
input_file input_file
@ -125,6 +128,7 @@ Available types
voice voice
web_app_data web_app_data
web_app_info web_app_info
write_access_allowed
Telegram Passport Telegram Passport
================= =================

View file

@ -0,0 +1,9 @@
##################
WriteAccessAllowed
##################
.. automodule:: aiogram.types.write_access_allowed
:members:
:member-order: bysource
:undoc-members: True

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -46,7 +46,7 @@ msgid ""
"[:py:class:`Bot`]" "[:py:class:`Bot`]"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot:1 of #: aiogram.client.bot.Bot.__init__:1 of
msgid "Bot class" msgid "Bot class"
msgstr "" msgstr ""
@ -59,8 +59,9 @@ msgstr ""
#: aiogram.client.bot.Bot.approve_chat_join_request #: aiogram.client.bot.Bot.approve_chat_join_request
#: aiogram.client.bot.Bot.ban_chat_member #: aiogram.client.bot.Bot.ban_chat_member
#: aiogram.client.bot.Bot.ban_chat_sender_chat aiogram.client.bot.Bot.close #: aiogram.client.bot.Bot.ban_chat_sender_chat aiogram.client.bot.Bot.close
#: aiogram.client.bot.Bot.close_forum_topic aiogram.client.bot.Bot.context #: aiogram.client.bot.Bot.close_forum_topic
#: aiogram.client.bot.Bot.copy_message #: aiogram.client.bot.Bot.close_general_forum_topic
#: aiogram.client.bot.Bot.context aiogram.client.bot.Bot.copy_message
#: aiogram.client.bot.Bot.create_chat_invite_link #: aiogram.client.bot.Bot.create_chat_invite_link
#: aiogram.client.bot.Bot.create_forum_topic #: aiogram.client.bot.Bot.create_forum_topic
#: aiogram.client.bot.Bot.create_invoice_link #: aiogram.client.bot.Bot.create_invoice_link
@ -76,6 +77,7 @@ msgstr ""
#: aiogram.client.bot.Bot.download_file #: aiogram.client.bot.Bot.download_file
#: aiogram.client.bot.Bot.edit_chat_invite_link #: aiogram.client.bot.Bot.edit_chat_invite_link
#: aiogram.client.bot.Bot.edit_forum_topic #: aiogram.client.bot.Bot.edit_forum_topic
#: aiogram.client.bot.Bot.edit_general_forum_topic
#: aiogram.client.bot.Bot.edit_message_caption #: aiogram.client.bot.Bot.edit_message_caption
#: aiogram.client.bot.Bot.edit_message_live_location #: aiogram.client.bot.Bot.edit_message_live_location
#: aiogram.client.bot.Bot.edit_message_media #: aiogram.client.bot.Bot.edit_message_media
@ -95,10 +97,13 @@ msgstr ""
#: aiogram.client.bot.Bot.get_my_default_administrator_rights #: aiogram.client.bot.Bot.get_my_default_administrator_rights
#: aiogram.client.bot.Bot.get_sticker_set aiogram.client.bot.Bot.get_updates #: aiogram.client.bot.Bot.get_sticker_set aiogram.client.bot.Bot.get_updates
#: aiogram.client.bot.Bot.get_user_profile_photos #: aiogram.client.bot.Bot.get_user_profile_photos
#: aiogram.client.bot.Bot.get_webhook_info aiogram.client.bot.Bot.leave_chat #: aiogram.client.bot.Bot.get_webhook_info
#: aiogram.client.bot.Bot.log_out aiogram.client.bot.Bot.pin_chat_message #: aiogram.client.bot.Bot.hide_general_forum_topic
#: aiogram.client.bot.Bot.leave_chat aiogram.client.bot.Bot.log_out
#: aiogram.client.bot.Bot.pin_chat_message
#: aiogram.client.bot.Bot.promote_chat_member #: aiogram.client.bot.Bot.promote_chat_member
#: aiogram.client.bot.Bot.reopen_forum_topic #: aiogram.client.bot.Bot.reopen_forum_topic
#: aiogram.client.bot.Bot.reopen_general_forum_topic
#: aiogram.client.bot.Bot.restrict_chat_member #: aiogram.client.bot.Bot.restrict_chat_member
#: aiogram.client.bot.Bot.revoke_chat_invite_link #: aiogram.client.bot.Bot.revoke_chat_invite_link
#: aiogram.client.bot.Bot.send_animation aiogram.client.bot.Bot.send_audio #: aiogram.client.bot.Bot.send_animation aiogram.client.bot.Bot.send_audio
@ -126,6 +131,7 @@ msgstr ""
#: aiogram.client.bot.Bot.stop_message_live_location #: aiogram.client.bot.Bot.stop_message_live_location
#: aiogram.client.bot.Bot.stop_poll aiogram.client.bot.Bot.unban_chat_member #: aiogram.client.bot.Bot.stop_poll aiogram.client.bot.Bot.unban_chat_member
#: aiogram.client.bot.Bot.unban_chat_sender_chat #: aiogram.client.bot.Bot.unban_chat_sender_chat
#: aiogram.client.bot.Bot.unhide_general_forum_topic
#: aiogram.client.bot.Bot.unpin_all_chat_messages #: aiogram.client.bot.Bot.unpin_all_chat_messages
#: aiogram.client.bot.Bot.unpin_all_forum_topic_messages #: aiogram.client.bot.Bot.unpin_all_forum_topic_messages
#: aiogram.client.bot.Bot.unpin_chat_message #: aiogram.client.bot.Bot.unpin_chat_message
@ -133,17 +139,17 @@ msgstr ""
msgid "Parameters" msgid "Parameters"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.__init__:1 of #: aiogram.client.bot.Bot.__init__:3 of
msgid "Telegram Bot token `Obtained from @BotFather <https://t.me/BotFather>`_" msgid "Telegram Bot token `Obtained from @BotFather <https://t.me/BotFather>`_"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.__init__:2 of #: aiogram.client.bot.Bot.__init__:4 of
msgid "" msgid ""
"HTTP Client session (For example AiohttpSession). If not specified it " "HTTP Client session (For example AiohttpSession). If not specified it "
"will be automatically created." "will be automatically created."
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.__init__:4 of #: aiogram.client.bot.Bot.__init__:6 of
msgid "" msgid ""
"Default parse mode. If specified it will be propagated into the API " "Default parse mode. If specified it will be propagated into the API "
"methods at runtime." "methods at runtime."
@ -153,7 +159,7 @@ msgstr ""
msgid "Raises" msgid "Raises"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.__init__:6 of #: aiogram.client.bot.Bot.__init__:8 of
msgid "When token has invalid format this exception will be raised" msgid "When token has invalid format this exception will be raised"
msgstr "" msgstr ""
@ -170,8 +176,9 @@ msgstr ""
#: aiogram.client.bot.Bot.approve_chat_join_request #: aiogram.client.bot.Bot.approve_chat_join_request
#: aiogram.client.bot.Bot.ban_chat_member #: aiogram.client.bot.Bot.ban_chat_member
#: aiogram.client.bot.Bot.ban_chat_sender_chat aiogram.client.bot.Bot.close #: aiogram.client.bot.Bot.ban_chat_sender_chat aiogram.client.bot.Bot.close
#: aiogram.client.bot.Bot.close_forum_topic aiogram.client.bot.Bot.context #: aiogram.client.bot.Bot.close_forum_topic
#: aiogram.client.bot.Bot.copy_message #: aiogram.client.bot.Bot.close_general_forum_topic
#: aiogram.client.bot.Bot.context aiogram.client.bot.Bot.copy_message
#: aiogram.client.bot.Bot.create_chat_invite_link #: aiogram.client.bot.Bot.create_chat_invite_link
#: aiogram.client.bot.Bot.create_forum_topic #: aiogram.client.bot.Bot.create_forum_topic
#: aiogram.client.bot.Bot.create_invoice_link #: aiogram.client.bot.Bot.create_invoice_link
@ -186,6 +193,7 @@ msgstr ""
#: aiogram.client.bot.Bot.delete_webhook #: aiogram.client.bot.Bot.delete_webhook
#: aiogram.client.bot.Bot.edit_chat_invite_link #: aiogram.client.bot.Bot.edit_chat_invite_link
#: aiogram.client.bot.Bot.edit_forum_topic #: aiogram.client.bot.Bot.edit_forum_topic
#: aiogram.client.bot.Bot.edit_general_forum_topic
#: aiogram.client.bot.Bot.edit_message_caption #: aiogram.client.bot.Bot.edit_message_caption
#: aiogram.client.bot.Bot.edit_message_live_location #: aiogram.client.bot.Bot.edit_message_live_location
#: aiogram.client.bot.Bot.edit_message_media #: aiogram.client.bot.Bot.edit_message_media
@ -205,11 +213,13 @@ msgstr ""
#: aiogram.client.bot.Bot.get_my_default_administrator_rights #: aiogram.client.bot.Bot.get_my_default_administrator_rights
#: aiogram.client.bot.Bot.get_sticker_set aiogram.client.bot.Bot.get_updates #: aiogram.client.bot.Bot.get_sticker_set aiogram.client.bot.Bot.get_updates
#: aiogram.client.bot.Bot.get_user_profile_photos #: aiogram.client.bot.Bot.get_user_profile_photos
#: aiogram.client.bot.Bot.get_webhook_info aiogram.client.bot.Bot.id #: aiogram.client.bot.Bot.get_webhook_info
#: aiogram.client.bot.Bot.hide_general_forum_topic aiogram.client.bot.Bot.id
#: aiogram.client.bot.Bot.leave_chat aiogram.client.bot.Bot.log_out #: aiogram.client.bot.Bot.leave_chat aiogram.client.bot.Bot.log_out
#: aiogram.client.bot.Bot.pin_chat_message #: aiogram.client.bot.Bot.me aiogram.client.bot.Bot.pin_chat_message
#: aiogram.client.bot.Bot.promote_chat_member #: aiogram.client.bot.Bot.promote_chat_member
#: aiogram.client.bot.Bot.reopen_forum_topic #: aiogram.client.bot.Bot.reopen_forum_topic
#: aiogram.client.bot.Bot.reopen_general_forum_topic
#: aiogram.client.bot.Bot.restrict_chat_member #: aiogram.client.bot.Bot.restrict_chat_member
#: aiogram.client.bot.Bot.revoke_chat_invite_link #: aiogram.client.bot.Bot.revoke_chat_invite_link
#: aiogram.client.bot.Bot.send_animation aiogram.client.bot.Bot.send_audio #: aiogram.client.bot.Bot.send_animation aiogram.client.bot.Bot.send_audio
@ -237,6 +247,7 @@ msgstr ""
#: aiogram.client.bot.Bot.stop_message_live_location #: aiogram.client.bot.Bot.stop_message_live_location
#: aiogram.client.bot.Bot.stop_poll aiogram.client.bot.Bot.unban_chat_member #: aiogram.client.bot.Bot.stop_poll aiogram.client.bot.Bot.unban_chat_member
#: aiogram.client.bot.Bot.unban_chat_sender_chat #: aiogram.client.bot.Bot.unban_chat_sender_chat
#: aiogram.client.bot.Bot.unhide_general_forum_topic
#: aiogram.client.bot.Bot.unpin_all_chat_messages #: aiogram.client.bot.Bot.unpin_all_chat_messages
#: aiogram.client.bot.Bot.unpin_all_forum_topic_messages #: aiogram.client.bot.Bot.unpin_all_forum_topic_messages
#: aiogram.client.bot.Bot.unpin_chat_message #: aiogram.client.bot.Bot.unpin_chat_message
@ -248,6 +259,10 @@ msgstr ""
msgid "Generate bot context" msgid "Generate bot context"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.me:1 of
msgid "Cached alias for getMe method"
msgstr ""
#: aiogram.client.bot.Bot.download_file:1 of #: aiogram.client.bot.Bot.download_file:1 of
msgid "Download file by file_path to destination." msgid "Download file by file_path to destination."
msgstr "" msgstr ""
@ -367,6 +382,7 @@ msgstr ""
#: aiogram.client.bot.Bot.ban_chat_member:7 #: aiogram.client.bot.Bot.ban_chat_member:7
#: aiogram.client.bot.Bot.ban_chat_sender_chat:5 aiogram.client.bot.Bot.close:3 #: aiogram.client.bot.Bot.ban_chat_sender_chat:5 aiogram.client.bot.Bot.close:3
#: aiogram.client.bot.Bot.close_forum_topic:5 #: aiogram.client.bot.Bot.close_forum_topic:5
#: aiogram.client.bot.Bot.close_general_forum_topic:4
#: aiogram.client.bot.Bot.copy_message:15 #: aiogram.client.bot.Bot.copy_message:15
#: aiogram.client.bot.Bot.create_chat_invite_link:8 #: aiogram.client.bot.Bot.create_chat_invite_link:8
#: aiogram.client.bot.Bot.create_forum_topic:7 #: aiogram.client.bot.Bot.create_forum_topic:7
@ -382,6 +398,7 @@ msgstr ""
#: aiogram.client.bot.Bot.delete_webhook:4 #: aiogram.client.bot.Bot.delete_webhook:4
#: aiogram.client.bot.Bot.edit_chat_invite_link:9 #: aiogram.client.bot.Bot.edit_chat_invite_link:9
#: aiogram.client.bot.Bot.edit_forum_topic:7 #: aiogram.client.bot.Bot.edit_forum_topic:7
#: aiogram.client.bot.Bot.edit_general_forum_topic:5
#: aiogram.client.bot.Bot.edit_message_caption:10 #: aiogram.client.bot.Bot.edit_message_caption:10
#: aiogram.client.bot.Bot.edit_message_live_location:12 #: aiogram.client.bot.Bot.edit_message_live_location:12
#: aiogram.client.bot.Bot.edit_message_media:8 #: aiogram.client.bot.Bot.edit_message_media:8
@ -403,23 +420,25 @@ msgstr ""
#: aiogram.client.bot.Bot.get_updates:13 #: aiogram.client.bot.Bot.get_updates:13
#: aiogram.client.bot.Bot.get_user_profile_photos:6 #: aiogram.client.bot.Bot.get_user_profile_photos:6
#: aiogram.client.bot.Bot.get_webhook_info:3 #: aiogram.client.bot.Bot.get_webhook_info:3
#: aiogram.client.bot.Bot.hide_general_forum_topic:4
#: aiogram.client.bot.Bot.leave_chat:4 aiogram.client.bot.Bot.log_out:3 #: aiogram.client.bot.Bot.leave_chat:4 aiogram.client.bot.Bot.log_out:3
#: aiogram.client.bot.Bot.pin_chat_message:6 #: aiogram.client.bot.Bot.pin_chat_message:6
#: aiogram.client.bot.Bot.promote_chat_member:17 #: aiogram.client.bot.Bot.promote_chat_member:17
#: aiogram.client.bot.Bot.reopen_forum_topic:5 #: aiogram.client.bot.Bot.reopen_forum_topic:5
#: aiogram.client.bot.Bot.reopen_general_forum_topic:4
#: aiogram.client.bot.Bot.restrict_chat_member:7 #: aiogram.client.bot.Bot.restrict_chat_member:7
#: aiogram.client.bot.Bot.revoke_chat_invite_link:5 #: aiogram.client.bot.Bot.revoke_chat_invite_link:5
#: aiogram.client.bot.Bot.send_animation:18 #: aiogram.client.bot.Bot.send_animation:19
#: aiogram.client.bot.Bot.send_audio:19 #: aiogram.client.bot.Bot.send_audio:19
#: aiogram.client.bot.Bot.send_chat_action:9 #: aiogram.client.bot.Bot.send_chat_action:10
#: aiogram.client.bot.Bot.send_contact:14 aiogram.client.bot.Bot.send_dice:11 #: aiogram.client.bot.Bot.send_contact:14 aiogram.client.bot.Bot.send_dice:11
#: aiogram.client.bot.Bot.send_document:16 aiogram.client.bot.Bot.send_game:11 #: aiogram.client.bot.Bot.send_document:16 aiogram.client.bot.Bot.send_game:11
#: aiogram.client.bot.Bot.send_invoice:31 #: aiogram.client.bot.Bot.send_invoice:31
#: aiogram.client.bot.Bot.send_location:16 #: aiogram.client.bot.Bot.send_location:16
#: aiogram.client.bot.Bot.send_media_group:10 #: aiogram.client.bot.Bot.send_media_group:10
#: aiogram.client.bot.Bot.send_message:14 aiogram.client.bot.Bot.send_photo:14 #: aiogram.client.bot.Bot.send_message:14 aiogram.client.bot.Bot.send_photo:15
#: aiogram.client.bot.Bot.send_poll:22 aiogram.client.bot.Bot.send_sticker:11 #: aiogram.client.bot.Bot.send_poll:22 aiogram.client.bot.Bot.send_sticker:11
#: aiogram.client.bot.Bot.send_venue:18 aiogram.client.bot.Bot.send_video:19 #: aiogram.client.bot.Bot.send_venue:18 aiogram.client.bot.Bot.send_video:20
#: aiogram.client.bot.Bot.send_video_note:14 #: aiogram.client.bot.Bot.send_video_note:14
#: aiogram.client.bot.Bot.send_voice:15 #: aiogram.client.bot.Bot.send_voice:15
#: aiogram.client.bot.Bot.set_chat_administrator_custom_title:6 #: aiogram.client.bot.Bot.set_chat_administrator_custom_title:6
@ -440,6 +459,7 @@ msgstr ""
#: aiogram.client.bot.Bot.stop_poll:6 #: aiogram.client.bot.Bot.stop_poll:6
#: aiogram.client.bot.Bot.unban_chat_member:6 #: aiogram.client.bot.Bot.unban_chat_member:6
#: aiogram.client.bot.Bot.unban_chat_sender_chat:5 #: aiogram.client.bot.Bot.unban_chat_sender_chat:5
#: aiogram.client.bot.Bot.unhide_general_forum_topic:4
#: aiogram.client.bot.Bot.unpin_all_chat_messages:4 #: aiogram.client.bot.Bot.unpin_all_chat_messages:4
#: aiogram.client.bot.Bot.unpin_all_forum_topic_messages:5 #: aiogram.client.bot.Bot.unpin_all_forum_topic_messages:5
#: aiogram.client.bot.Bot.unpin_chat_message:5 #: aiogram.client.bot.Bot.unpin_chat_message:5
@ -452,6 +472,7 @@ msgstr ""
#: aiogram.client.bot.Bot.ban_chat_member:8 #: aiogram.client.bot.Bot.ban_chat_member:8
#: aiogram.client.bot.Bot.ban_chat_sender_chat:6 #: aiogram.client.bot.Bot.ban_chat_sender_chat:6
#: aiogram.client.bot.Bot.close_forum_topic:6 #: aiogram.client.bot.Bot.close_forum_topic:6
#: aiogram.client.bot.Bot.close_general_forum_topic:5
#: aiogram.client.bot.Bot.create_new_sticker_set:13 #: aiogram.client.bot.Bot.create_new_sticker_set:13
#: aiogram.client.bot.Bot.decline_chat_join_request:6 #: aiogram.client.bot.Bot.decline_chat_join_request:6
#: aiogram.client.bot.Bot.delete_chat_photo:5 #: aiogram.client.bot.Bot.delete_chat_photo:5
@ -462,10 +483,13 @@ msgstr ""
#: aiogram.client.bot.Bot.delete_sticker_from_set:5 #: aiogram.client.bot.Bot.delete_sticker_from_set:5
#: aiogram.client.bot.Bot.delete_webhook:5 #: aiogram.client.bot.Bot.delete_webhook:5
#: aiogram.client.bot.Bot.edit_forum_topic:8 #: aiogram.client.bot.Bot.edit_forum_topic:8
#: aiogram.client.bot.Bot.edit_general_forum_topic:6
#: aiogram.client.bot.Bot.hide_general_forum_topic:5
#: aiogram.client.bot.Bot.leave_chat:5 #: aiogram.client.bot.Bot.leave_chat:5
#: aiogram.client.bot.Bot.pin_chat_message:7 #: aiogram.client.bot.Bot.pin_chat_message:7
#: aiogram.client.bot.Bot.promote_chat_member:18 #: aiogram.client.bot.Bot.promote_chat_member:18
#: aiogram.client.bot.Bot.reopen_forum_topic:6 #: aiogram.client.bot.Bot.reopen_forum_topic:6
#: aiogram.client.bot.Bot.reopen_general_forum_topic:5
#: aiogram.client.bot.Bot.restrict_chat_member:8 #: aiogram.client.bot.Bot.restrict_chat_member:8
#: aiogram.client.bot.Bot.set_chat_administrator_custom_title:7 #: aiogram.client.bot.Bot.set_chat_administrator_custom_title:7
#: aiogram.client.bot.Bot.set_chat_description:6 #: aiogram.client.bot.Bot.set_chat_description:6
@ -480,6 +504,7 @@ msgstr ""
#: aiogram.client.bot.Bot.set_sticker_set_thumb:7 #: aiogram.client.bot.Bot.set_sticker_set_thumb:7
#: aiogram.client.bot.Bot.unban_chat_member:7 #: aiogram.client.bot.Bot.unban_chat_member:7
#: aiogram.client.bot.Bot.unban_chat_sender_chat:6 #: aiogram.client.bot.Bot.unban_chat_sender_chat:6
#: aiogram.client.bot.Bot.unhide_general_forum_topic:5
#: aiogram.client.bot.Bot.unpin_all_chat_messages:5 #: aiogram.client.bot.Bot.unpin_all_chat_messages:5
#: aiogram.client.bot.Bot.unpin_all_forum_topic_messages:6 #: aiogram.client.bot.Bot.unpin_all_forum_topic_messages:6
#: aiogram.client.bot.Bot.unpin_chat_message:6 of #: aiogram.client.bot.Bot.unpin_chat_message:6 of
@ -812,15 +837,20 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.close_forum_topic:3 #: aiogram.client.bot.Bot.close_forum_topic:3
#: aiogram.client.bot.Bot.close_general_forum_topic:3
#: aiogram.client.bot.Bot.create_forum_topic:3 #: aiogram.client.bot.Bot.create_forum_topic:3
#: aiogram.client.bot.Bot.delete_chat_sticker_set:3 #: aiogram.client.bot.Bot.delete_chat_sticker_set:3
#: aiogram.client.bot.Bot.delete_forum_topic:3 #: aiogram.client.bot.Bot.delete_forum_topic:3
#: aiogram.client.bot.Bot.edit_forum_topic:3 #: aiogram.client.bot.Bot.edit_forum_topic:3
#: aiogram.client.bot.Bot.edit_general_forum_topic:3
#: aiogram.client.bot.Bot.hide_general_forum_topic:3
#: aiogram.client.bot.Bot.reopen_forum_topic:3 #: aiogram.client.bot.Bot.reopen_forum_topic:3
#: aiogram.client.bot.Bot.reopen_general_forum_topic:3
#: aiogram.client.bot.Bot.restrict_chat_member:3 #: aiogram.client.bot.Bot.restrict_chat_member:3
#: aiogram.client.bot.Bot.set_chat_administrator_custom_title:3 #: aiogram.client.bot.Bot.set_chat_administrator_custom_title:3
#: aiogram.client.bot.Bot.set_chat_permissions:3 #: aiogram.client.bot.Bot.set_chat_permissions:3
#: aiogram.client.bot.Bot.set_chat_sticker_set:3 #: aiogram.client.bot.Bot.set_chat_sticker_set:3
#: aiogram.client.bot.Bot.unhide_general_forum_topic:3
#: aiogram.client.bot.Bot.unpin_all_forum_topic_messages:3 of #: aiogram.client.bot.Bot.unpin_all_forum_topic_messages:3 of
msgid "" msgid ""
"Unique identifier for the target chat or username of the target " "Unique identifier for the target chat or username of the target "
@ -898,14 +928,14 @@ msgstr ""
#: aiogram.client.bot.Bot.copy_message:10 #: aiogram.client.bot.Bot.copy_message:10
#: aiogram.client.bot.Bot.forward_message:7 #: aiogram.client.bot.Bot.forward_message:7
#: aiogram.client.bot.Bot.send_animation:13 #: aiogram.client.bot.Bot.send_animation:14
#: aiogram.client.bot.Bot.send_audio:14 aiogram.client.bot.Bot.send_contact:9 #: aiogram.client.bot.Bot.send_audio:14 aiogram.client.bot.Bot.send_contact:9
#: aiogram.client.bot.Bot.send_dice:6 aiogram.client.bot.Bot.send_document:11 #: aiogram.client.bot.Bot.send_dice:6 aiogram.client.bot.Bot.send_document:11
#: aiogram.client.bot.Bot.send_game:6 aiogram.client.bot.Bot.send_invoice:26 #: aiogram.client.bot.Bot.send_game:6 aiogram.client.bot.Bot.send_invoice:26
#: aiogram.client.bot.Bot.send_location:11 #: aiogram.client.bot.Bot.send_location:11
#: aiogram.client.bot.Bot.send_message:9 aiogram.client.bot.Bot.send_photo:9 #: aiogram.client.bot.Bot.send_message:9 aiogram.client.bot.Bot.send_photo:10
#: aiogram.client.bot.Bot.send_poll:17 aiogram.client.bot.Bot.send_sticker:6 #: aiogram.client.bot.Bot.send_poll:17 aiogram.client.bot.Bot.send_sticker:6
#: aiogram.client.bot.Bot.send_venue:13 aiogram.client.bot.Bot.send_video:14 #: aiogram.client.bot.Bot.send_venue:13 aiogram.client.bot.Bot.send_video:15
#: aiogram.client.bot.Bot.send_video_note:9 #: aiogram.client.bot.Bot.send_video_note:9
#: aiogram.client.bot.Bot.send_voice:10 of #: aiogram.client.bot.Bot.send_voice:10 of
msgid "" msgid ""
@ -914,43 +944,43 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.copy_message:11 #: aiogram.client.bot.Bot.copy_message:11
#: aiogram.client.bot.Bot.send_animation:14 #: aiogram.client.bot.Bot.send_animation:15
#: aiogram.client.bot.Bot.send_audio:15 aiogram.client.bot.Bot.send_contact:10 #: aiogram.client.bot.Bot.send_audio:15 aiogram.client.bot.Bot.send_contact:10
#: aiogram.client.bot.Bot.send_document:12 aiogram.client.bot.Bot.send_game:7 #: aiogram.client.bot.Bot.send_document:12 aiogram.client.bot.Bot.send_game:7
#: aiogram.client.bot.Bot.send_invoice:27 #: aiogram.client.bot.Bot.send_invoice:27
#: aiogram.client.bot.Bot.send_location:12 #: aiogram.client.bot.Bot.send_location:12
#: aiogram.client.bot.Bot.send_message:10 aiogram.client.bot.Bot.send_photo:10 #: aiogram.client.bot.Bot.send_message:10 aiogram.client.bot.Bot.send_photo:11
#: aiogram.client.bot.Bot.send_poll:18 aiogram.client.bot.Bot.send_sticker:7 #: aiogram.client.bot.Bot.send_poll:18 aiogram.client.bot.Bot.send_sticker:7
#: aiogram.client.bot.Bot.send_venue:14 aiogram.client.bot.Bot.send_video:15 #: aiogram.client.bot.Bot.send_venue:14 aiogram.client.bot.Bot.send_video:16
#: aiogram.client.bot.Bot.send_video_note:10 #: aiogram.client.bot.Bot.send_video_note:10
#: aiogram.client.bot.Bot.send_voice:11 of #: aiogram.client.bot.Bot.send_voice:11 of
msgid "Protects the contents of the sent message from forwarding and saving" msgid "Protects the contents of the sent message from forwarding and saving"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.copy_message:12 #: aiogram.client.bot.Bot.copy_message:12
#: aiogram.client.bot.Bot.send_animation:15 #: aiogram.client.bot.Bot.send_animation:16
#: aiogram.client.bot.Bot.send_audio:16 aiogram.client.bot.Bot.send_contact:11 #: aiogram.client.bot.Bot.send_audio:16 aiogram.client.bot.Bot.send_contact:11
#: aiogram.client.bot.Bot.send_dice:8 aiogram.client.bot.Bot.send_document:13 #: aiogram.client.bot.Bot.send_dice:8 aiogram.client.bot.Bot.send_document:13
#: aiogram.client.bot.Bot.send_game:8 aiogram.client.bot.Bot.send_invoice:28 #: aiogram.client.bot.Bot.send_game:8 aiogram.client.bot.Bot.send_invoice:28
#: aiogram.client.bot.Bot.send_location:13 #: aiogram.client.bot.Bot.send_location:13
#: aiogram.client.bot.Bot.send_message:11 aiogram.client.bot.Bot.send_photo:11 #: aiogram.client.bot.Bot.send_message:11 aiogram.client.bot.Bot.send_photo:12
#: aiogram.client.bot.Bot.send_poll:19 aiogram.client.bot.Bot.send_sticker:8 #: aiogram.client.bot.Bot.send_poll:19 aiogram.client.bot.Bot.send_sticker:8
#: aiogram.client.bot.Bot.send_venue:15 aiogram.client.bot.Bot.send_video:16 #: aiogram.client.bot.Bot.send_venue:15 aiogram.client.bot.Bot.send_video:17
#: aiogram.client.bot.Bot.send_video_note:11 #: aiogram.client.bot.Bot.send_video_note:11
#: aiogram.client.bot.Bot.send_voice:12 of #: aiogram.client.bot.Bot.send_voice:12 of
msgid "If the message is a reply, ID of the original message" msgid "If the message is a reply, ID of the original message"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.copy_message:13 #: aiogram.client.bot.Bot.copy_message:13
#: aiogram.client.bot.Bot.send_animation:16 #: aiogram.client.bot.Bot.send_animation:17
#: aiogram.client.bot.Bot.send_audio:17 aiogram.client.bot.Bot.send_contact:12 #: aiogram.client.bot.Bot.send_audio:17 aiogram.client.bot.Bot.send_contact:12
#: aiogram.client.bot.Bot.send_dice:9 aiogram.client.bot.Bot.send_document:14 #: aiogram.client.bot.Bot.send_dice:9 aiogram.client.bot.Bot.send_document:14
#: aiogram.client.bot.Bot.send_game:9 aiogram.client.bot.Bot.send_invoice:29 #: aiogram.client.bot.Bot.send_game:9 aiogram.client.bot.Bot.send_invoice:29
#: aiogram.client.bot.Bot.send_location:14 #: aiogram.client.bot.Bot.send_location:14
#: aiogram.client.bot.Bot.send_media_group:9 #: aiogram.client.bot.Bot.send_media_group:9
#: aiogram.client.bot.Bot.send_message:12 aiogram.client.bot.Bot.send_photo:12 #: aiogram.client.bot.Bot.send_message:12 aiogram.client.bot.Bot.send_photo:13
#: aiogram.client.bot.Bot.send_poll:20 aiogram.client.bot.Bot.send_sticker:9 #: aiogram.client.bot.Bot.send_poll:20 aiogram.client.bot.Bot.send_sticker:9
#: aiogram.client.bot.Bot.send_venue:16 aiogram.client.bot.Bot.send_video:17 #: aiogram.client.bot.Bot.send_venue:16 aiogram.client.bot.Bot.send_video:18
#: aiogram.client.bot.Bot.send_video_note:12 #: aiogram.client.bot.Bot.send_video_note:12
#: aiogram.client.bot.Bot.send_voice:13 of #: aiogram.client.bot.Bot.send_voice:13 of
msgid "" msgid ""
@ -959,13 +989,13 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.copy_message:14 #: aiogram.client.bot.Bot.copy_message:14
#: aiogram.client.bot.Bot.send_animation:17 #: aiogram.client.bot.Bot.send_animation:18
#: aiogram.client.bot.Bot.send_audio:18 aiogram.client.bot.Bot.send_contact:13 #: aiogram.client.bot.Bot.send_audio:18 aiogram.client.bot.Bot.send_contact:13
#: aiogram.client.bot.Bot.send_dice:10 aiogram.client.bot.Bot.send_document:15 #: aiogram.client.bot.Bot.send_dice:10 aiogram.client.bot.Bot.send_document:15
#: aiogram.client.bot.Bot.send_location:15 #: aiogram.client.bot.Bot.send_location:15
#: aiogram.client.bot.Bot.send_message:13 aiogram.client.bot.Bot.send_photo:13 #: aiogram.client.bot.Bot.send_message:13 aiogram.client.bot.Bot.send_photo:14
#: aiogram.client.bot.Bot.send_poll:21 aiogram.client.bot.Bot.send_sticker:10 #: aiogram.client.bot.Bot.send_poll:21 aiogram.client.bot.Bot.send_sticker:10
#: aiogram.client.bot.Bot.send_venue:17 aiogram.client.bot.Bot.send_video:18 #: aiogram.client.bot.Bot.send_venue:17 aiogram.client.bot.Bot.send_video:19
#: aiogram.client.bot.Bot.send_video_note:13 #: aiogram.client.bot.Bot.send_video_note:13
#: aiogram.client.bot.Bot.send_voice:14 of #: aiogram.client.bot.Bot.send_voice:14 of
msgid "" msgid ""
@ -1391,14 +1421,17 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.edit_forum_topic:5 of #: aiogram.client.bot.Bot.edit_forum_topic:5 of
msgid "New topic name, 1-128 characters" msgid ""
"New topic name, 0-128 characters. If not specififed or empty, the current"
" name of the topic will be kept"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.edit_forum_topic:6 of #: aiogram.client.bot.Bot.edit_forum_topic:6 of
msgid "" msgid ""
"New unique identifier of the custom emoji shown as the topic icon. Use " "New unique identifier of the custom emoji shown as the topic icon. Use "
":class:`aiogram.methods.get_forum_topic_icon_stickers.GetForumTopicIconStickers`" ":class:`aiogram.methods.get_forum_topic_icon_stickers.GetForumTopicIconStickers`"
" to get all allowed custom emoji identifiers." " to get all allowed custom emoji identifiers. Pass an empty string to "
"remove the icon. If not specified, the current icon will be kept"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.edit_message_caption:1 of #: aiogram.client.bot.Bot.edit_message_caption:1 of
@ -1629,7 +1662,7 @@ msgstr ""
#: aiogram.client.bot.Bot.send_contact:15 aiogram.client.bot.Bot.send_dice:12 #: aiogram.client.bot.Bot.send_contact:15 aiogram.client.bot.Bot.send_dice:12
#: aiogram.client.bot.Bot.send_game:12 aiogram.client.bot.Bot.send_invoice:32 #: aiogram.client.bot.Bot.send_game:12 aiogram.client.bot.Bot.send_invoice:32
#: aiogram.client.bot.Bot.send_location:17 #: aiogram.client.bot.Bot.send_location:17
#: aiogram.client.bot.Bot.send_message:15 aiogram.client.bot.Bot.send_photo:15 #: aiogram.client.bot.Bot.send_message:15 aiogram.client.bot.Bot.send_photo:16
#: aiogram.client.bot.Bot.send_poll:23 aiogram.client.bot.Bot.send_sticker:12 #: aiogram.client.bot.Bot.send_poll:23 aiogram.client.bot.Bot.send_sticker:12
#: aiogram.client.bot.Bot.send_venue:19 #: aiogram.client.bot.Bot.send_venue:19
#: aiogram.client.bot.Bot.send_video_note:15 of #: aiogram.client.bot.Bot.send_video_note:15 of
@ -1671,8 +1704,10 @@ msgstr ""
#: aiogram.client.bot.Bot.get_chat_member:1 of #: aiogram.client.bot.Bot.get_chat_member:1 of
msgid "" msgid ""
"Use this method to get information about a member of a chat. Returns a " "Use this method to get information about a member of a chat. The method "
":class:`aiogram.types.chat_member.ChatMember` object on success." "is guaranteed to work only if the bot is an administrator in the chat. "
"Returns a :class:`aiogram.types.chat_member.ChatMember` object on "
"success."
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.get_chat_member:6 of #: aiogram.client.bot.Bot.get_chat_member:6 of
@ -2186,7 +2221,13 @@ msgid ""
"more details." "more details."
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.send_animation:19 of #: aiogram.client.bot.Bot.send_animation:13 of
msgid ""
"Pass :code:`True` if the animation needs to be covered with a spoiler "
"animation"
msgstr ""
#: aiogram.client.bot.Bot.send_animation:20 of
msgid "" msgid ""
"Bots can currently send animation files of up to 50 MB in size, this " "Bots can currently send animation files of up to 50 MB in size, this "
"limit may be changed in the future." "limit may be changed in the future."
@ -2281,7 +2322,11 @@ msgid ""
"<https://core.telegram.org/bots/api#sendvideonote>`_." "<https://core.telegram.org/bots/api#sendvideonote>`_."
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.send_chat_action:10 of #: aiogram.client.bot.Bot.send_chat_action:9 of
msgid "Unique identifier for the target message thread; supergroups only"
msgstr ""
#: aiogram.client.bot.Bot.send_chat_action:11 of
msgid "The user will see a 'sending photo' status for the bot." msgid "The user will see a 'sending photo' status for the bot."
msgstr "" msgstr ""
@ -2548,6 +2593,12 @@ msgid ""
"details." "details."
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.send_photo:9 of
msgid ""
"Pass :code:`True` if the photo needs to be covered with a spoiler "
"animation"
msgstr ""
#: aiogram.client.bot.Bot.send_poll:1 of #: aiogram.client.bot.Bot.send_poll:1 of
msgid "" msgid ""
"Use this method to send a native poll. On success, the sent " "Use this method to send a native poll. On success, the sent "
@ -2730,10 +2781,16 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.send_video:13 of #: aiogram.client.bot.Bot.send_video:13 of
msgid ""
"Pass :code:`True` if the video needs to be covered with a spoiler "
"animation"
msgstr ""
#: aiogram.client.bot.Bot.send_video:14 of
msgid "Pass :code:`True` if the uploaded video is suitable for streaming" msgid "Pass :code:`True` if the uploaded video is suitable for streaming"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.send_video:20 of #: aiogram.client.bot.Bot.send_video:21 of
msgid "" msgid ""
"Bots can currently send video files of up to 50 MB in size, this limit " "Bots can currently send video files of up to 50 MB in size, this limit "
"may be changed in the future." "may be changed in the future."
@ -3227,6 +3284,51 @@ msgstr ""
msgid "Returns the uploaded :class:`aiogram.types.file.File` on success." msgid "Returns the uploaded :class:`aiogram.types.file.File` on success."
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.close_general_forum_topic:1 of
msgid ""
"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."
msgstr ""
#: aiogram.client.bot.Bot.edit_general_forum_topic:1 of
msgid ""
"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."
msgstr ""
#: aiogram.client.bot.Bot.edit_general_forum_topic:4 of
msgid "New topic name, 1-128 characters"
msgstr ""
#: aiogram.client.bot.Bot.hide_general_forum_topic:1 of
msgid ""
"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."
msgstr ""
#: aiogram.client.bot.Bot.reopen_general_forum_topic:1 of
msgid ""
"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."
msgstr ""
#: aiogram.client.bot.Bot.unhide_general_forum_topic:1 of
msgid ""
"Use this method to unhide 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. Returns :code:`True` "
"on success."
msgstr ""
#~ msgid "" #~ msgid ""
#~ "Additional interface options. A JSON-" #~ "Additional interface options. A JSON-"
#~ "serialized object for an `inline " #~ "serialized object for an `inline "
@ -3800,3 +3902,19 @@ msgstr ""
#~ "users if the user and their " #~ "users if the user and their "
#~ "neighbors are not among them." #~ "neighbors are not among them."
#~ msgstr "" #~ msgstr ""
#~ msgid ""
#~ "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."
#~ msgstr ""
#~ msgid ""
#~ "Use this method to get information "
#~ "about a member of a chat. Returns"
#~ " a :class:`aiogram.types.chat_member.ChatMember` object"
#~ " on success."
#~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -62,10 +62,6 @@ msgid ""
"default value of destination and handle result of this method." "default value of destination and handle result of this method."
msgstr "" msgstr ""
#: aiogram.client.bot.Bot:1 of
msgid "Bot class"
msgstr ""
#: aiogram.client.bot.Bot.download_file:1 of #: aiogram.client.bot.Bot.download_file:1 of
msgid "Download file by file_path to destination." msgid "Download file by file_path to destination."
msgstr "" msgstr ""
@ -186,3 +182,6 @@ msgstr ""
#: ../../api/download_file.rst:93 #: ../../api/download_file.rst:93
msgid "Example:" msgid "Example:"
msgstr "" msgstr ""
#~ msgid "Bot class"
#~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -18,9 +18,12 @@ msgstr ""
"Generated-By: Babel 2.10.3\n" "Generated-By: Babel 2.10.3\n"
#: ../../api/enums/index.rst:3 #: ../../api/enums/index.rst:3
msgid "Types" msgid "Enums"
msgstr "" msgstr ""
#: ../../api/enums/index.rst:5 #: ../../api/enums/index.rst:5
msgid "Here is list of all available enums:" msgid "Here is list of all available enums:"
msgstr "" msgstr ""
#~ msgid "Types"
#~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -49,7 +49,9 @@ msgid "Unique identifier for the target message thread of the forum topic"
msgstr "" msgstr ""
#: ../../docstring aiogram.methods.edit_forum_topic.EditForumTopic.name:1 of #: ../../docstring aiogram.methods.edit_forum_topic.EditForumTopic.name:1 of
msgid "New topic name, 1-128 characters" msgid ""
"New topic name, 0-128 characters. If not specififed or empty, the current"
" name of the topic will be kept"
msgstr "" msgstr ""
#: ../../docstring #: ../../docstring
@ -57,7 +59,8 @@ msgstr ""
msgid "" msgid ""
"New unique identifier of the custom emoji shown as the topic icon. Use " "New unique identifier of the custom emoji shown as the topic icon. Use "
":class:`aiogram.methods.get_forum_topic_icon_stickers.GetForumTopicIconStickers`" ":class:`aiogram.methods.get_forum_topic_icon_stickers.GetForumTopicIconStickers`"
" to get all allowed custom emoji identifiers." " to get all allowed custom emoji identifiers. Pass an empty string to "
"remove the icon. If not specified, the current icon will be kept"
msgstr "" msgstr ""
#: ../../api/methods/edit_forum_topic.rst:14 #: ../../api/methods/edit_forum_topic.rst:14
@ -100,3 +103,15 @@ msgstr ""
#~ " to get all allowed custom emoji " #~ " to get all allowed custom emoji "
#~ "identifiers" #~ "identifiers"
#~ msgstr "" #~ msgstr ""
#~ msgid "New topic name, 1-128 characters"
#~ msgstr ""
#~ msgid ""
#~ "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."
#~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -30,8 +30,10 @@ msgstr ""
#: aiogram.methods.get_chat_member.GetChatMember:1 of #: aiogram.methods.get_chat_member.GetChatMember:1 of
msgid "" msgid ""
"Use this method to get information about a member of a chat. Returns a " "Use this method to get information about a member of a chat. The method "
":class:`aiogram.types.chat_member.ChatMember` object on success." "is guaranteed to work only if the bot is an administrator in the chat. "
"Returns a :class:`aiogram.types.chat_member.ChatMember` object on "
"success."
msgstr "" msgstr ""
#: aiogram.methods.get_chat_member.GetChatMember:3 of #: aiogram.methods.get_chat_member.GetChatMember:3 of
@ -83,3 +85,10 @@ msgstr ""
#: ../../api/methods/get_chat_member.rst:45 #: ../../api/methods/get_chat_member.rst:45
msgid ":meth:`aiogram.types.chat.Chat.get_member`" msgid ":meth:`aiogram.types.chat.Chat.get_member`"
msgstr "" msgstr ""
#~ msgid ""
#~ "Use this method to get information "
#~ "about a member of a chat. Returns"
#~ " a :class:`aiogram.types.chat_member.ChatMember` object"
#~ " on success."
#~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -104,6 +104,13 @@ msgid ""
"which can be specified instead of *parse_mode*" "which can be specified instead of *parse_mode*"
msgstr "" msgstr ""
#: ../../docstring aiogram.methods.send_animation.SendAnimation.has_spoiler:1
#: of
msgid ""
"Pass :code:`True` if the animation needs to be covered with a spoiler "
"animation"
msgstr ""
#: ../../docstring #: ../../docstring
#: aiogram.methods.send_animation.SendAnimation.disable_notification:1 of #: aiogram.methods.send_animation.SendAnimation.disable_notification:1 of
msgid "" msgid ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -76,6 +76,11 @@ msgid ""
"<https://core.telegram.org/bots/api#sendvideonote>`_." "<https://core.telegram.org/bots/api#sendvideonote>`_."
msgstr "" msgstr ""
#: ../../docstring
#: aiogram.methods.send_chat_action.SendChatAction.message_thread_id:1 of
msgid "Unique identifier for the target message thread; supergroups only"
msgstr ""
#: ../../api/methods/send_chat_action.rst:14 #: ../../api/methods/send_chat_action.rst:14
msgid "Usage" msgid "Usage"
msgstr "" msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -77,6 +77,12 @@ msgid ""
"which can be specified instead of *parse_mode*" "which can be specified instead of *parse_mode*"
msgstr "" msgstr ""
#: ../../docstring aiogram.methods.send_photo.SendPhoto.has_spoiler:1 of
msgid ""
"Pass :code:`True` if the photo needs to be covered with a spoiler "
"animation"
msgstr ""
#: ../../docstring aiogram.methods.send_photo.SendPhoto.disable_notification:1 #: ../../docstring aiogram.methods.send_photo.SendPhoto.disable_notification:1
#: of #: of
msgid "" msgid ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -103,6 +103,12 @@ msgid ""
"which can be specified instead of *parse_mode*" "which can be specified instead of *parse_mode*"
msgstr "" msgstr ""
#: ../../docstring aiogram.methods.send_video.SendVideo.has_spoiler:1 of
msgid ""
"Pass :code:`True` if the video needs to be covered with a spoiler "
"animation"
msgstr ""
#: ../../docstring aiogram.methods.send_video.SendVideo.supports_streaming:1 of #: ../../docstring aiogram.methods.send_video.SendVideo.supports_streaming:1 of
msgid "Pass :code:`True` if the uploaded video is suitable for streaming" msgid "Pass :code:`True` if the uploaded video is suitable for streaming"
msgstr "" msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -162,6 +162,21 @@ msgid ""
":class:`aiogram.methods.get_chat.GetChat`." ":class:`aiogram.methods.get_chat.GetChat`."
msgstr "" msgstr ""
#: ../../docstring aiogram.types.chat.Chat.has_aggressive_anti_spam_enabled:1
#: of
msgid ""
"*Optional*. :code:`True`, if aggressive anti-spam checks are enabled in "
"the supergroup. The field is only available to chat administrators. "
"Returned only in :class:`aiogram.methods.get_chat.GetChat`."
msgstr ""
#: ../../docstring aiogram.types.chat.Chat.has_hidden_members:1 of
msgid ""
"*Optional*. :code:`True`, if non-administrators can only get the list of "
"bots and administrators in the chat. Returned only in "
":class:`aiogram.methods.get_chat.GetChat`."
msgstr ""
#: ../../docstring aiogram.types.chat.Chat.has_protected_content:1 of #: ../../docstring aiogram.types.chat.Chat.has_protected_content:1 of
msgid "" msgid ""
"*Optional*. :code:`True`, if messages from the chat can't be forwarded to" "*Optional*. :code:`True`, if messages from the chat can't be forwarded to"
@ -641,6 +656,10 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.types.chat.Chat.do:15 of #: aiogram.types.chat.Chat.do:15 of
msgid "Unique identifier for the target message thread; supergroups only"
msgstr ""
#: aiogram.types.chat.Chat.do:16 of
msgid "" msgid ""
"instance of method " "instance of method "
":class:`aiogram.methods.send_chat_action.SendChatAction`" ":class:`aiogram.methods.send_chat_action.SendChatAction`"
@ -713,8 +732,10 @@ msgstr ""
#: aiogram.types.chat.Chat.get_member:6 of #: aiogram.types.chat.Chat.get_member:6 of
msgid "" msgid ""
"Use this method to get information about a member of a chat. Returns a " "Use this method to get information about a member of a chat. The method "
":class:`aiogram.types.chat_member.ChatMember` object on success." "is guaranteed to work only if the bot is an administrator in the chat. "
"Returns a :class:`aiogram.types.chat_member.ChatMember` object on "
"success."
msgstr "" msgstr ""
#: aiogram.types.chat.Chat.get_member:8 of #: aiogram.types.chat.Chat.get_member:8 of
@ -1235,3 +1256,10 @@ msgstr ""
#: aiogram.types.chat.Chat.set_photo:11 of #: aiogram.types.chat.Chat.set_photo:11 of
msgid "instance of method :class:`aiogram.methods.set_chat_photo.SetChatPhoto`" msgid "instance of method :class:`aiogram.methods.set_chat_photo.SetChatPhoto`"
msgstr "" msgstr ""
#~ msgid ""
#~ "Use this method to get information "
#~ "about a member of a chat. Returns"
#~ " a :class:`aiogram.types.chat_member.ChatMember` object"
#~ " on success."
#~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -27,6 +27,10 @@ msgid ""
" from Telegram" " from Telegram"
msgstr "" msgstr ""
#: aiogram.types.error_event.ErrorEvent:3 of
msgid "Source: https://core.telegram.org/bots/api#error-event"
msgstr ""
#: ../../docstring aiogram.types.error_event.ErrorEvent.update:1 of #: ../../docstring aiogram.types.error_event.ErrorEvent.update:1 of
msgid "Received update" msgid "Received update"
msgstr "" msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -33,25 +33,29 @@ msgstr ""
msgid "Available types" msgid "Available types"
msgstr "" msgstr ""
#: ../../api/types/index.rst:130 #: ../../api/types/index.rst:134
msgid "Telegram Passport" msgid "Telegram Passport"
msgstr "" msgstr ""
#: ../../api/types/index.rst:151 #: ../../api/types/index.rst:155
msgid "Getting updates" msgid "Getting updates"
msgstr "" msgstr ""
#: ../../api/types/index.rst:160 #: ../../api/types/index.rst:164
msgid "Stickers" msgid "Stickers"
msgstr "" msgstr ""
#: ../../api/types/index.rst:170 #: ../../api/types/index.rst:174
msgid "Payments" msgid "Payments"
msgstr "" msgstr ""
#: ../../api/types/index.rst:185 #: ../../api/types/index.rst:189
msgid "Games" msgid "Games"
msgstr "" msgstr ""
#: ../../api/types/index.rst:199
msgid "Internals"
msgstr ""
#~ msgid "Internal events" #~ msgid "Internal events"
#~ msgstr "" #~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -97,3 +97,10 @@ msgstr ""
#: aiogram.types.input_media_animation.InputMediaAnimation.duration:1 of #: aiogram.types.input_media_animation.InputMediaAnimation.duration:1 of
msgid "*Optional*. Animation duration in seconds" msgid "*Optional*. Animation duration in seconds"
msgstr "" msgstr ""
#: ../../docstring
#: aiogram.types.input_media_animation.InputMediaAnimation.has_spoiler:1 of
msgid ""
"*Optional*. Pass :code:`True` if the animation needs to be covered with a"
" spoiler animation"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -62,3 +62,10 @@ msgid ""
"*Optional*. List of special entities that appear in the caption, which " "*Optional*. List of special entities that appear in the caption, which "
"can be specified instead of *parse_mode*" "can be specified instead of *parse_mode*"
msgstr "" msgstr ""
#: ../../docstring
#: aiogram.types.input_media_photo.InputMediaPhoto.has_spoiler:1 of
msgid ""
"*Optional*. Pass :code:`True` if the photo needs to be covered with a "
"spoiler animation"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -95,3 +95,10 @@ msgid ""
"*Optional*. Pass :code:`True` if the uploaded video is suitable for " "*Optional*. Pass :code:`True` if the uploaded video is suitable for "
"streaming" "streaming"
msgstr "" msgstr ""
#: ../../docstring
#: aiogram.types.input_media_video.InputMediaVideo.has_spoiler:1 of
msgid ""
"*Optional*. Pass :code:`True` if the video needs to be covered with a "
"spoiler animation"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -199,6 +199,12 @@ msgid ""
" URLs, bot commands, etc. that appear in the caption" " URLs, bot commands, etc. that appear in the caption"
msgstr "" msgstr ""
#: ../../docstring aiogram.types.message.Message.has_media_spoiler:1 of
msgid ""
"*Optional*. :code:`True`, if the message media is covered by a spoiler "
"animation"
msgstr ""
#: ../../docstring aiogram.types.message.Message.contact:1 of #: ../../docstring aiogram.types.message.Message.contact:1 of
msgid "*Optional*. Message is a shared contact, information about the contact" msgid "*Optional*. Message is a shared contact, information about the contact"
msgstr "" msgstr ""
@ -329,6 +335,12 @@ msgid ""
"<https://core.telegram.org/widgets/login>`_" "<https://core.telegram.org/widgets/login>`_"
msgstr "" msgstr ""
#: ../../docstring aiogram.types.message.Message.write_access_allowed:1 of
msgid ""
"*Optional*. Service message: the user allowed the bot added to the "
"attachment menu to write messages"
msgstr ""
#: ../../docstring aiogram.types.message.Message.passport_data:1 of #: ../../docstring aiogram.types.message.Message.passport_data:1 of
msgid "*Optional*. Telegram Passport data" msgid "*Optional*. Telegram Passport data"
msgstr "" msgstr ""
@ -343,6 +355,10 @@ msgstr ""
msgid "*Optional*. Service message: forum topic created" msgid "*Optional*. Service message: forum topic created"
msgstr "" msgstr ""
#: ../../docstring aiogram.types.message.Message.forum_topic_edited:1 of
msgid "*Optional*. Service message: forum topic edited"
msgstr ""
#: ../../docstring aiogram.types.message.Message.forum_topic_closed:1 of #: ../../docstring aiogram.types.message.Message.forum_topic_closed:1 of
msgid "*Optional*. Service message: forum topic closed" msgid "*Optional*. Service message: forum topic closed"
msgstr "" msgstr ""
@ -351,6 +367,16 @@ msgstr ""
msgid "*Optional*. Service message: forum topic reopened" msgid "*Optional*. Service message: forum topic reopened"
msgstr "" msgstr ""
#: ../../docstring aiogram.types.message.Message.general_forum_topic_hidden:1
#: of
msgid "*Optional*. Service message: the 'General' forum topic hidden"
msgstr ""
#: ../../docstring aiogram.types.message.Message.general_forum_topic_unhidden:1
#: of
msgid "*Optional*. Service message: the 'General' forum topic unhidden"
msgstr ""
#: ../../docstring aiogram.types.message.Message.video_chat_scheduled:1 of #: ../../docstring aiogram.types.message.Message.video_chat_scheduled:1 of
msgid "*Optional*. Service message: video chat scheduled" msgid "*Optional*. Service message: video chat scheduled"
msgstr "" msgstr ""
@ -627,8 +653,15 @@ msgid ""
"which can be specified instead of *parse_mode*" "which can be specified instead of *parse_mode*"
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer:15
#: aiogram.types.message.Message.answer_animation:19 #: aiogram.types.message.Message.answer_animation:19
#: aiogram.types.message.Message.reply_animation:20 of
msgid ""
"Pass :code:`True` if the animation needs to be covered with a spoiler "
"animation"
msgstr ""
#: aiogram.types.message.Message.answer:15
#: aiogram.types.message.Message.answer_animation:20
#: aiogram.types.message.Message.answer_audio:20 #: aiogram.types.message.Message.answer_audio:20
#: aiogram.types.message.Message.answer_contact:15 #: aiogram.types.message.Message.answer_contact:15
#: aiogram.types.message.Message.answer_dice:12 #: aiogram.types.message.Message.answer_dice:12
@ -636,17 +669,17 @@ msgstr ""
#: aiogram.types.message.Message.answer_game:12 #: aiogram.types.message.Message.answer_game:12
#: aiogram.types.message.Message.answer_invoice:32 #: aiogram.types.message.Message.answer_invoice:32
#: aiogram.types.message.Message.answer_location:17 #: aiogram.types.message.Message.answer_location:17
#: aiogram.types.message.Message.answer_photo:15 #: aiogram.types.message.Message.answer_photo:16
#: aiogram.types.message.Message.answer_poll:23 #: aiogram.types.message.Message.answer_poll:23
#: aiogram.types.message.Message.answer_sticker:12 #: aiogram.types.message.Message.answer_sticker:12
#: aiogram.types.message.Message.answer_venue:19 #: aiogram.types.message.Message.answer_venue:19
#: aiogram.types.message.Message.answer_video:20 #: aiogram.types.message.Message.answer_video:21
#: aiogram.types.message.Message.answer_video_note:15 #: aiogram.types.message.Message.answer_video_note:15
#: aiogram.types.message.Message.answer_voice:16 #: aiogram.types.message.Message.answer_voice:16
#: aiogram.types.message.Message.copy_to:16 #: aiogram.types.message.Message.copy_to:16
#: aiogram.types.message.Message.forward:13 #: aiogram.types.message.Message.forward:13
#: aiogram.types.message.Message.reply:16 #: aiogram.types.message.Message.reply:16
#: aiogram.types.message.Message.reply_animation:20 #: aiogram.types.message.Message.reply_animation:21
#: aiogram.types.message.Message.reply_audio:21 #: aiogram.types.message.Message.reply_audio:21
#: aiogram.types.message.Message.reply_contact:16 #: aiogram.types.message.Message.reply_contact:16
#: aiogram.types.message.Message.reply_dice:13 #: aiogram.types.message.Message.reply_dice:13
@ -654,11 +687,11 @@ msgstr ""
#: aiogram.types.message.Message.reply_game:13 #: aiogram.types.message.Message.reply_game:13
#: aiogram.types.message.Message.reply_invoice:33 #: aiogram.types.message.Message.reply_invoice:33
#: aiogram.types.message.Message.reply_location:18 #: aiogram.types.message.Message.reply_location:18
#: aiogram.types.message.Message.reply_photo:16 #: aiogram.types.message.Message.reply_photo:17
#: aiogram.types.message.Message.reply_poll:24 #: aiogram.types.message.Message.reply_poll:24
#: aiogram.types.message.Message.reply_sticker:13 #: aiogram.types.message.Message.reply_sticker:13
#: aiogram.types.message.Message.reply_venue:20 #: aiogram.types.message.Message.reply_venue:20
#: aiogram.types.message.Message.reply_video:21 #: aiogram.types.message.Message.reply_video:22
#: aiogram.types.message.Message.reply_video_note:16 #: aiogram.types.message.Message.reply_video_note:16
#: aiogram.types.message.Message.reply_voice:17 of #: aiogram.types.message.Message.reply_voice:17 of
msgid "" msgid ""
@ -667,41 +700,41 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer:16 #: aiogram.types.message.Message.answer:16
#: aiogram.types.message.Message.answer_animation:20 #: aiogram.types.message.Message.answer_animation:21
#: aiogram.types.message.Message.answer_audio:21 #: aiogram.types.message.Message.answer_audio:21
#: aiogram.types.message.Message.answer_contact:16 #: aiogram.types.message.Message.answer_contact:16
#: aiogram.types.message.Message.answer_document:18 #: aiogram.types.message.Message.answer_document:18
#: aiogram.types.message.Message.answer_game:13 #: aiogram.types.message.Message.answer_game:13
#: aiogram.types.message.Message.answer_invoice:33 #: aiogram.types.message.Message.answer_invoice:33
#: aiogram.types.message.Message.answer_location:18 #: aiogram.types.message.Message.answer_location:18
#: aiogram.types.message.Message.answer_photo:16 #: aiogram.types.message.Message.answer_photo:17
#: aiogram.types.message.Message.answer_poll:24 #: aiogram.types.message.Message.answer_poll:24
#: aiogram.types.message.Message.answer_sticker:13 #: aiogram.types.message.Message.answer_sticker:13
#: aiogram.types.message.Message.answer_venue:20 #: aiogram.types.message.Message.answer_venue:20
#: aiogram.types.message.Message.answer_video:21 #: aiogram.types.message.Message.answer_video:22
#: aiogram.types.message.Message.answer_video_note:16 #: aiogram.types.message.Message.answer_video_note:16
#: aiogram.types.message.Message.answer_voice:17 #: aiogram.types.message.Message.answer_voice:17
#: aiogram.types.message.Message.copy_to:17 #: aiogram.types.message.Message.copy_to:17
#: aiogram.types.message.Message.reply:17 #: aiogram.types.message.Message.reply:17
#: aiogram.types.message.Message.reply_animation:21 #: aiogram.types.message.Message.reply_animation:22
#: aiogram.types.message.Message.reply_audio:22 #: aiogram.types.message.Message.reply_audio:22
#: aiogram.types.message.Message.reply_contact:17 #: aiogram.types.message.Message.reply_contact:17
#: aiogram.types.message.Message.reply_document:19 #: aiogram.types.message.Message.reply_document:19
#: aiogram.types.message.Message.reply_game:14 #: aiogram.types.message.Message.reply_game:14
#: aiogram.types.message.Message.reply_invoice:34 #: aiogram.types.message.Message.reply_invoice:34
#: aiogram.types.message.Message.reply_location:19 #: aiogram.types.message.Message.reply_location:19
#: aiogram.types.message.Message.reply_photo:17 #: aiogram.types.message.Message.reply_photo:18
#: aiogram.types.message.Message.reply_poll:25 #: aiogram.types.message.Message.reply_poll:25
#: aiogram.types.message.Message.reply_sticker:14 #: aiogram.types.message.Message.reply_sticker:14
#: aiogram.types.message.Message.reply_venue:21 #: aiogram.types.message.Message.reply_venue:21
#: aiogram.types.message.Message.reply_video:22 #: aiogram.types.message.Message.reply_video:23
#: aiogram.types.message.Message.reply_video_note:17 #: aiogram.types.message.Message.reply_video_note:17
#: aiogram.types.message.Message.reply_voice:18 of #: aiogram.types.message.Message.reply_voice:18 of
msgid "Protects the contents of the sent message from forwarding and saving" msgid "Protects the contents of the sent message from forwarding and saving"
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer:18 #: aiogram.types.message.Message.answer:18
#: aiogram.types.message.Message.answer_animation:22 #: aiogram.types.message.Message.answer_animation:23
#: aiogram.types.message.Message.answer_audio:23 #: aiogram.types.message.Message.answer_audio:23
#: aiogram.types.message.Message.answer_contact:18 #: aiogram.types.message.Message.answer_contact:18
#: aiogram.types.message.Message.answer_dice:15 #: aiogram.types.message.Message.answer_dice:15
@ -710,16 +743,16 @@ msgstr ""
#: aiogram.types.message.Message.answer_invoice:35 #: aiogram.types.message.Message.answer_invoice:35
#: aiogram.types.message.Message.answer_location:20 #: aiogram.types.message.Message.answer_location:20
#: aiogram.types.message.Message.answer_media_group:15 #: aiogram.types.message.Message.answer_media_group:15
#: aiogram.types.message.Message.answer_photo:18 #: aiogram.types.message.Message.answer_photo:19
#: aiogram.types.message.Message.answer_poll:26 #: aiogram.types.message.Message.answer_poll:26
#: aiogram.types.message.Message.answer_sticker:15 #: aiogram.types.message.Message.answer_sticker:15
#: aiogram.types.message.Message.answer_venue:22 #: aiogram.types.message.Message.answer_venue:22
#: aiogram.types.message.Message.answer_video:23 #: aiogram.types.message.Message.answer_video:24
#: aiogram.types.message.Message.answer_video_note:18 #: aiogram.types.message.Message.answer_video_note:18
#: aiogram.types.message.Message.answer_voice:19 #: aiogram.types.message.Message.answer_voice:19
#: aiogram.types.message.Message.copy_to:19 #: aiogram.types.message.Message.copy_to:19
#: aiogram.types.message.Message.reply:18 #: aiogram.types.message.Message.reply:18
#: aiogram.types.message.Message.reply_animation:22 #: aiogram.types.message.Message.reply_animation:23
#: aiogram.types.message.Message.reply_audio:23 #: aiogram.types.message.Message.reply_audio:23
#: aiogram.types.message.Message.reply_contact:18 #: aiogram.types.message.Message.reply_contact:18
#: aiogram.types.message.Message.reply_dice:15 #: aiogram.types.message.Message.reply_dice:15
@ -728,11 +761,11 @@ msgstr ""
#: aiogram.types.message.Message.reply_invoice:35 #: aiogram.types.message.Message.reply_invoice:35
#: aiogram.types.message.Message.reply_location:20 #: aiogram.types.message.Message.reply_location:20
#: aiogram.types.message.Message.reply_media_group:15 #: aiogram.types.message.Message.reply_media_group:15
#: aiogram.types.message.Message.reply_photo:18 #: aiogram.types.message.Message.reply_photo:19
#: aiogram.types.message.Message.reply_poll:26 #: aiogram.types.message.Message.reply_poll:26
#: aiogram.types.message.Message.reply_sticker:15 #: aiogram.types.message.Message.reply_sticker:15
#: aiogram.types.message.Message.reply_venue:22 #: aiogram.types.message.Message.reply_venue:22
#: aiogram.types.message.Message.reply_video:23 #: aiogram.types.message.Message.reply_video:24
#: aiogram.types.message.Message.reply_video_note:18 #: aiogram.types.message.Message.reply_video_note:18
#: aiogram.types.message.Message.reply_voice:19 of #: aiogram.types.message.Message.reply_voice:19 of
msgid "" msgid ""
@ -741,32 +774,32 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer:19 #: aiogram.types.message.Message.answer:19
#: aiogram.types.message.Message.answer_animation:23 #: aiogram.types.message.Message.answer_animation:24
#: aiogram.types.message.Message.answer_audio:24 #: aiogram.types.message.Message.answer_audio:24
#: aiogram.types.message.Message.answer_contact:19 #: aiogram.types.message.Message.answer_contact:19
#: aiogram.types.message.Message.answer_dice:16 #: aiogram.types.message.Message.answer_dice:16
#: aiogram.types.message.Message.answer_document:21 #: aiogram.types.message.Message.answer_document:21
#: aiogram.types.message.Message.answer_location:21 #: aiogram.types.message.Message.answer_location:21
#: aiogram.types.message.Message.answer_photo:19 #: aiogram.types.message.Message.answer_photo:20
#: aiogram.types.message.Message.answer_poll:27 #: aiogram.types.message.Message.answer_poll:27
#: aiogram.types.message.Message.answer_sticker:16 #: aiogram.types.message.Message.answer_sticker:16
#: aiogram.types.message.Message.answer_venue:23 #: aiogram.types.message.Message.answer_venue:23
#: aiogram.types.message.Message.answer_video:24 #: aiogram.types.message.Message.answer_video:25
#: aiogram.types.message.Message.answer_video_note:19 #: aiogram.types.message.Message.answer_video_note:19
#: aiogram.types.message.Message.answer_voice:20 #: aiogram.types.message.Message.answer_voice:20
#: aiogram.types.message.Message.copy_to:20 #: aiogram.types.message.Message.copy_to:20
#: aiogram.types.message.Message.reply:19 #: aiogram.types.message.Message.reply:19
#: aiogram.types.message.Message.reply_animation:23 #: aiogram.types.message.Message.reply_animation:24
#: aiogram.types.message.Message.reply_audio:24 #: aiogram.types.message.Message.reply_audio:24
#: aiogram.types.message.Message.reply_contact:19 #: aiogram.types.message.Message.reply_contact:19
#: aiogram.types.message.Message.reply_dice:16 #: aiogram.types.message.Message.reply_dice:16
#: aiogram.types.message.Message.reply_document:21 #: aiogram.types.message.Message.reply_document:21
#: aiogram.types.message.Message.reply_location:21 #: aiogram.types.message.Message.reply_location:21
#: aiogram.types.message.Message.reply_photo:19 #: aiogram.types.message.Message.reply_photo:20
#: aiogram.types.message.Message.reply_poll:27 #: aiogram.types.message.Message.reply_poll:27
#: aiogram.types.message.Message.reply_sticker:16 #: aiogram.types.message.Message.reply_sticker:16
#: aiogram.types.message.Message.reply_venue:23 #: aiogram.types.message.Message.reply_venue:23
#: aiogram.types.message.Message.reply_video:24 #: aiogram.types.message.Message.reply_video:25
#: aiogram.types.message.Message.reply_video_note:19 #: aiogram.types.message.Message.reply_video_note:19
#: aiogram.types.message.Message.reply_voice:20 of #: aiogram.types.message.Message.reply_voice:20 of
msgid "" msgid ""
@ -824,13 +857,13 @@ msgstr ""
msgid "Returns" msgid "Returns"
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer_animation:24 #: aiogram.types.message.Message.answer_animation:25
#: aiogram.types.message.Message.reply_animation:24 of #: aiogram.types.message.Message.reply_animation:25 of
msgid "instance of method :class:`aiogram.methods.send_animation.SendAnimation`" msgid "instance of method :class:`aiogram.methods.send_animation.SendAnimation`"
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer:17 #: aiogram.types.message.Message.answer:17
#: aiogram.types.message.Message.answer_animation:21 #: aiogram.types.message.Message.answer_animation:22
#: aiogram.types.message.Message.answer_audio:22 #: aiogram.types.message.Message.answer_audio:22
#: aiogram.types.message.Message.answer_contact:17 #: aiogram.types.message.Message.answer_contact:17
#: aiogram.types.message.Message.answer_dice:14 #: aiogram.types.message.Message.answer_dice:14
@ -838,11 +871,11 @@ msgstr ""
#: aiogram.types.message.Message.answer_game:14 #: aiogram.types.message.Message.answer_game:14
#: aiogram.types.message.Message.answer_invoice:34 #: aiogram.types.message.Message.answer_invoice:34
#: aiogram.types.message.Message.answer_location:19 #: aiogram.types.message.Message.answer_location:19
#: aiogram.types.message.Message.answer_photo:17 #: aiogram.types.message.Message.answer_photo:18
#: aiogram.types.message.Message.answer_poll:25 #: aiogram.types.message.Message.answer_poll:25
#: aiogram.types.message.Message.answer_sticker:14 #: aiogram.types.message.Message.answer_sticker:14
#: aiogram.types.message.Message.answer_venue:21 #: aiogram.types.message.Message.answer_venue:21
#: aiogram.types.message.Message.answer_video:22 #: aiogram.types.message.Message.answer_video:23
#: aiogram.types.message.Message.answer_video_note:17 #: aiogram.types.message.Message.answer_video_note:17
#: aiogram.types.message.Message.answer_voice:18 #: aiogram.types.message.Message.answer_voice:18
#: aiogram.types.message.Message.copy_to:18 of #: aiogram.types.message.Message.copy_to:18 of
@ -1450,8 +1483,15 @@ msgid ""
"details." "details."
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer_photo:20 #: aiogram.types.message.Message.answer_photo:15
#: aiogram.types.message.Message.reply_photo:20 of #: aiogram.types.message.Message.reply_photo:16 of
msgid ""
"Pass :code:`True` if the photo needs to be covered with a spoiler "
"animation"
msgstr ""
#: aiogram.types.message.Message.answer_photo:21
#: aiogram.types.message.Message.reply_photo:21 of
msgid "instance of method :class:`aiogram.methods.send_photo.SendPhoto`" msgid "instance of method :class:`aiogram.methods.send_photo.SendPhoto`"
msgstr "" msgstr ""
@ -1772,11 +1812,18 @@ msgstr ""
#: aiogram.types.message.Message.answer_video:19 #: aiogram.types.message.Message.answer_video:19
#: aiogram.types.message.Message.reply_video:20 of #: aiogram.types.message.Message.reply_video:20 of
msgid ""
"Pass :code:`True` if the video needs to be covered with a spoiler "
"animation"
msgstr ""
#: aiogram.types.message.Message.answer_video:20
#: aiogram.types.message.Message.reply_video:21 of
msgid "Pass :code:`True` if the uploaded video is suitable for streaming" msgid "Pass :code:`True` if the uploaded video is suitable for streaming"
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer_video:25 #: aiogram.types.message.Message.answer_video:26
#: aiogram.types.message.Message.reply_video:25 of #: aiogram.types.message.Message.reply_video:26 of
msgid "instance of method :class:`aiogram.methods.send_video.SendVideo`" msgid "instance of method :class:`aiogram.methods.send_video.SendVideo`"
msgstr "" msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -41,6 +41,14 @@ msgid ""
":class:`aiogram.types.keyboard_button.KeyboardButton` objects" ":class:`aiogram.types.keyboard_button.KeyboardButton` objects"
msgstr "" msgstr ""
#: ../../docstring
#: aiogram.types.reply_keyboard_markup.ReplyKeyboardMarkup.is_persistent:1 of
msgid ""
"*Optional*. Requests clients to always show the keyboard when the regular"
" keyboard is hidden. Defaults to *false*, in which case the custom "
"keyboard can be hidden and opened with a keyboard icon."
msgstr ""
#: ../../docstring #: ../../docstring
#: aiogram.types.reply_keyboard_markup.ReplyKeyboardMarkup.resize_keyboard:1 of #: aiogram.types.reply_keyboard_markup.ReplyKeyboardMarkup.resize_keyboard:1 of
msgid "" msgid ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -22,7 +22,7 @@ msgid "Changelog"
msgstr "" msgstr ""
#: ../../[towncrier-fragments]:2 #: ../../[towncrier-fragments]:2
msgid "\\ |release| [UNRELEASED DRAFT] (2022-11-23)" msgid "\\ |release| [UNRELEASED DRAFT] (2022-12-30)"
msgstr "" msgstr ""
#: ../../../CHANGES.rst:23 ../../../CHANGES.rst:83 ../../../CHANGES.rst:134 #: ../../../CHANGES.rst:23 ../../../CHANGES.rst:83 ../../../CHANGES.rst:134
@ -33,20 +33,108 @@ msgid "Features"
msgstr "" msgstr ""
#: ../../[towncrier-fragments]:7 #: ../../[towncrier-fragments]:7
msgid "Added missing shortcuts, new enums, reworked old stuff"
msgstr ""
#: ../../[towncrier-fragments]:9
msgid "" msgid ""
"Added missing shortcuts, new enums, reworked old stuff `#952 " "**Breaking** All previously added enums is re-generated in new place - "
"<https://github.com/aiogram/aiogram/issues/952>`_" "`aiogram.enums` instead of `aiogram.types`"
msgstr ""
#: ../../[towncrier-fragments]:27
msgid ""
"**Added enums:** "
":class:`aiogram.enums.bot_command_scope_type.BotCommandScopeType`,"
msgstr ""
#: ../../[towncrier-fragments]:13
msgid ""
":class:`aiogram.enums.chat_action.ChatActions`, "
":class:`aiogram.enums.chat_member_status.ChatMemberStatus`, "
":class:`aiogram.enums.chat_type.ChatType`, "
":class:`aiogram.enums.content_type.ContentType`, "
":class:`aiogram.enums.dice_emoji.DiceEmoji`, "
":class:`aiogram.enums.inline_query_result_type.InlineQueryResultType`, "
":class:`aiogram.enums.input_media_type.InputMediaType`, "
":class:`aiogram.enums.mask_position_point.MaskPositionPoint`, "
":class:`aiogram.enums.menu_button_type.MenuButtonType`, "
":class:`aiogram.enums.message_entity_type.MessageEntityType`, "
":class:`aiogram.enums.parse_mode.ParseMode`, "
":class:`aiogram.enums.poll_type.PollType`, "
":class:`aiogram.enums.sticker_type.StickerType`, "
":class:`aiogram.enums.topic_icon_color.TopicIconColor`, "
":class:`aiogram.enums.update_type.UpdateType`,"
msgstr ""
#: ../../[towncrier-fragments]:29
msgid "**Added shortcuts**:"
msgstr ""
#: ../../[towncrier-fragments]:54
msgid "*Chat* :meth:`aiogram.types.chat.Chat.get_administrators`,"
msgstr ""
#: ../../[towncrier-fragments]:32
msgid ""
":meth:`aiogram.types.chat.Chat.delete_message`, "
":meth:`aiogram.types.chat.Chat.revoke_invite_link`, "
":meth:`aiogram.types.chat.Chat.edit_invite_link`, "
":meth:`aiogram.types.chat.Chat.create_invite_link`, "
":meth:`aiogram.types.chat.Chat.export_invite_link`, "
":meth:`aiogram.types.chat.Chat.do`, "
":meth:`aiogram.types.chat.Chat.delete_sticker_set`, "
":meth:`aiogram.types.chat.Chat.set_sticker_set`, "
":meth:`aiogram.types.chat.Chat.get_member`, "
":meth:`aiogram.types.chat.Chat.get_member_count`, "
":meth:`aiogram.types.chat.Chat.leave`, "
":meth:`aiogram.types.chat.Chat.unpin_all_messages`, "
":meth:`aiogram.types.chat.Chat.unpin_message`, "
":meth:`aiogram.types.chat.Chat.pin_message`, "
":meth:`aiogram.types.chat.Chat.set_administrator_custom_title`, "
":meth:`aiogram.types.chat.Chat.set_permissions`, "
":meth:`aiogram.types.chat.Chat.promote`, "
":meth:`aiogram.types.chat.Chat.restrict`, "
":meth:`aiogram.types.chat.Chat.unban`, "
":meth:`aiogram.types.chat.Chat.ban`, "
":meth:`aiogram.types.chat.Chat.set_description`, "
":meth:`aiogram.types.chat.Chat.set_title`, "
":meth:`aiogram.types.chat.Chat.delete_photo`, "
":meth:`aiogram.types.chat.Chat.set_photo`,"
msgstr ""
#: ../../[towncrier-fragments]:56
msgid "*Sticker*: :meth:`aiogram.types.sticker.Sticker.set_position_in_set`,"
msgstr ""
#: ../../[towncrier-fragments]:57
msgid ":meth:`aiogram.types.sticker.Sticker.delete_from_set`,"
msgstr ""
#: ../../[towncrier-fragments]:58
msgid "*User*: :meth:`aiogram.types.user.User.get_profile_photos`"
msgstr ""
#: ../../[towncrier-fragments]:59
msgid "`#952 <https://github.com/aiogram/aiogram/issues/952>`_"
msgstr ""
#: ../../[towncrier-fragments]:60
msgid ""
"Added full support of `Bot API 6.4 <https://core.telegram.org/bots/api-"
"changelog#december-30-2022>`_ `#1088 "
"<https://github.com/aiogram/aiogram/issues/1088>`_"
msgstr "" msgstr ""
#: ../../../CHANGES.rst:71 ../../../CHANGES.rst:124 ../../../CHANGES.rst:175 #: ../../../CHANGES.rst:71 ../../../CHANGES.rst:124 ../../../CHANGES.rst:175
#: ../../../CHANGES.rst:229 ../../../CHANGES.rst:271 ../../../CHANGES.rst:317 #: ../../../CHANGES.rst:229 ../../../CHANGES.rst:271 ../../../CHANGES.rst:317
#: ../../../CHANGES.rst:377 ../../../CHANGES.rst:398 ../../../CHANGES.rst:421 #: ../../../CHANGES.rst:377 ../../../CHANGES.rst:398 ../../../CHANGES.rst:421
#: ../../../CHANGES.rst:458 ../../../CHANGES.rst:497 #: ../../../CHANGES.rst:458 ../../../CHANGES.rst:497
#: ../../[towncrier-fragments]:12 #: ../../[towncrier-fragments]:65
msgid "Misc" msgid "Misc"
msgstr "" msgstr ""
#: ../../[towncrier-fragments]:14 #: ../../[towncrier-fragments]:67
msgid "" msgid ""
"Added integration with new code-generator named `Butcher " "Added integration with new code-generator named `Butcher "
"<https://github.com/aiogram/butcher>`_ `#1069 " "<https://github.com/aiogram/butcher>`_ `#1069 "
@ -2405,3 +2493,12 @@ msgstr ""
#~ ":code:`ChatMemberStatus.yml` was renamed to " #~ ":code:`ChatMemberStatus.yml` was renamed to "
#~ ":code:`is_chat_member` and :code:`is_chat_admin`" #~ ":code:`is_chat_member` and :code:`is_chat_admin`"
#~ msgstr "" #~ msgstr ""
#~ msgid "\\ |release| [UNRELEASED DRAFT] (2022-11-23)"
#~ msgstr ""
#~ msgid ""
#~ "Added missing shortcuts, new enums, "
#~ "reworked old stuff `#952 "
#~ "<https://github.com/aiogram/aiogram/issues/952>`_"
#~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-03 01:03+0300\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -123,7 +123,7 @@ msgstr ""
#: ../../../README.rst:70 #: ../../../README.rst:70
msgid "" msgid ""
"Supports `Telegram Bot API 6.3 <https://core.telegram.org/bots/api>`_ and" "Supports `Telegram Bot API 6.4 <https://core.telegram.org/bots/api>`_ and"
" gets fast updates to the latest versions of the Bot API" " gets fast updates to the latest versions of the Bot API"
msgstr "" msgstr ""
@ -216,3 +216,10 @@ msgstr ""
#~ msgid "Uses powerful :ref:`magic filters <magic-filters>`" #~ msgid "Uses powerful :ref:`magic filters <magic-filters>`"
#~ msgstr "" #~ msgstr ""
#~ msgid ""
#~ "Supports `Telegram Bot API 6.3 "
#~ "<https://core.telegram.org/bots/api>`_ and gets fast"
#~ " updates to the latest versions of"
#~ " the Bot API"
#~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -46,7 +46,7 @@ msgid ""
"[:py:class:`Bot`]" "[:py:class:`Bot`]"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot:1 of #: aiogram.client.bot.Bot.__init__:1 of
msgid "Bot class" msgid "Bot class"
msgstr "" msgstr ""
@ -59,8 +59,9 @@ msgstr ""
#: aiogram.client.bot.Bot.approve_chat_join_request #: aiogram.client.bot.Bot.approve_chat_join_request
#: aiogram.client.bot.Bot.ban_chat_member #: aiogram.client.bot.Bot.ban_chat_member
#: aiogram.client.bot.Bot.ban_chat_sender_chat aiogram.client.bot.Bot.close #: aiogram.client.bot.Bot.ban_chat_sender_chat aiogram.client.bot.Bot.close
#: aiogram.client.bot.Bot.close_forum_topic aiogram.client.bot.Bot.context #: aiogram.client.bot.Bot.close_forum_topic
#: aiogram.client.bot.Bot.copy_message #: aiogram.client.bot.Bot.close_general_forum_topic
#: aiogram.client.bot.Bot.context aiogram.client.bot.Bot.copy_message
#: aiogram.client.bot.Bot.create_chat_invite_link #: aiogram.client.bot.Bot.create_chat_invite_link
#: aiogram.client.bot.Bot.create_forum_topic #: aiogram.client.bot.Bot.create_forum_topic
#: aiogram.client.bot.Bot.create_invoice_link #: aiogram.client.bot.Bot.create_invoice_link
@ -76,6 +77,7 @@ msgstr ""
#: aiogram.client.bot.Bot.download_file #: aiogram.client.bot.Bot.download_file
#: aiogram.client.bot.Bot.edit_chat_invite_link #: aiogram.client.bot.Bot.edit_chat_invite_link
#: aiogram.client.bot.Bot.edit_forum_topic #: aiogram.client.bot.Bot.edit_forum_topic
#: aiogram.client.bot.Bot.edit_general_forum_topic
#: aiogram.client.bot.Bot.edit_message_caption #: aiogram.client.bot.Bot.edit_message_caption
#: aiogram.client.bot.Bot.edit_message_live_location #: aiogram.client.bot.Bot.edit_message_live_location
#: aiogram.client.bot.Bot.edit_message_media #: aiogram.client.bot.Bot.edit_message_media
@ -95,10 +97,13 @@ msgstr ""
#: aiogram.client.bot.Bot.get_my_default_administrator_rights #: aiogram.client.bot.Bot.get_my_default_administrator_rights
#: aiogram.client.bot.Bot.get_sticker_set aiogram.client.bot.Bot.get_updates #: aiogram.client.bot.Bot.get_sticker_set aiogram.client.bot.Bot.get_updates
#: aiogram.client.bot.Bot.get_user_profile_photos #: aiogram.client.bot.Bot.get_user_profile_photos
#: aiogram.client.bot.Bot.get_webhook_info aiogram.client.bot.Bot.leave_chat #: aiogram.client.bot.Bot.get_webhook_info
#: aiogram.client.bot.Bot.log_out aiogram.client.bot.Bot.pin_chat_message #: aiogram.client.bot.Bot.hide_general_forum_topic
#: aiogram.client.bot.Bot.leave_chat aiogram.client.bot.Bot.log_out
#: aiogram.client.bot.Bot.pin_chat_message
#: aiogram.client.bot.Bot.promote_chat_member #: aiogram.client.bot.Bot.promote_chat_member
#: aiogram.client.bot.Bot.reopen_forum_topic #: aiogram.client.bot.Bot.reopen_forum_topic
#: aiogram.client.bot.Bot.reopen_general_forum_topic
#: aiogram.client.bot.Bot.restrict_chat_member #: aiogram.client.bot.Bot.restrict_chat_member
#: aiogram.client.bot.Bot.revoke_chat_invite_link #: aiogram.client.bot.Bot.revoke_chat_invite_link
#: aiogram.client.bot.Bot.send_animation aiogram.client.bot.Bot.send_audio #: aiogram.client.bot.Bot.send_animation aiogram.client.bot.Bot.send_audio
@ -126,6 +131,7 @@ msgstr ""
#: aiogram.client.bot.Bot.stop_message_live_location #: aiogram.client.bot.Bot.stop_message_live_location
#: aiogram.client.bot.Bot.stop_poll aiogram.client.bot.Bot.unban_chat_member #: aiogram.client.bot.Bot.stop_poll aiogram.client.bot.Bot.unban_chat_member
#: aiogram.client.bot.Bot.unban_chat_sender_chat #: aiogram.client.bot.Bot.unban_chat_sender_chat
#: aiogram.client.bot.Bot.unhide_general_forum_topic
#: aiogram.client.bot.Bot.unpin_all_chat_messages #: aiogram.client.bot.Bot.unpin_all_chat_messages
#: aiogram.client.bot.Bot.unpin_all_forum_topic_messages #: aiogram.client.bot.Bot.unpin_all_forum_topic_messages
#: aiogram.client.bot.Bot.unpin_chat_message #: aiogram.client.bot.Bot.unpin_chat_message
@ -133,17 +139,17 @@ msgstr ""
msgid "Parameters" msgid "Parameters"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.__init__:1 of #: aiogram.client.bot.Bot.__init__:3 of
msgid "Telegram Bot token `Obtained from @BotFather <https://t.me/BotFather>`_" msgid "Telegram Bot token `Obtained from @BotFather <https://t.me/BotFather>`_"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.__init__:2 of #: aiogram.client.bot.Bot.__init__:4 of
msgid "" msgid ""
"HTTP Client session (For example AiohttpSession). If not specified it " "HTTP Client session (For example AiohttpSession). If not specified it "
"will be automatically created." "will be automatically created."
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.__init__:4 of #: aiogram.client.bot.Bot.__init__:6 of
msgid "" msgid ""
"Default parse mode. If specified it will be propagated into the API " "Default parse mode. If specified it will be propagated into the API "
"methods at runtime." "methods at runtime."
@ -153,7 +159,7 @@ msgstr ""
msgid "Raises" msgid "Raises"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.__init__:6 of #: aiogram.client.bot.Bot.__init__:8 of
msgid "When token has invalid format this exception will be raised" msgid "When token has invalid format this exception will be raised"
msgstr "" msgstr ""
@ -170,8 +176,9 @@ msgstr ""
#: aiogram.client.bot.Bot.approve_chat_join_request #: aiogram.client.bot.Bot.approve_chat_join_request
#: aiogram.client.bot.Bot.ban_chat_member #: aiogram.client.bot.Bot.ban_chat_member
#: aiogram.client.bot.Bot.ban_chat_sender_chat aiogram.client.bot.Bot.close #: aiogram.client.bot.Bot.ban_chat_sender_chat aiogram.client.bot.Bot.close
#: aiogram.client.bot.Bot.close_forum_topic aiogram.client.bot.Bot.context #: aiogram.client.bot.Bot.close_forum_topic
#: aiogram.client.bot.Bot.copy_message #: aiogram.client.bot.Bot.close_general_forum_topic
#: aiogram.client.bot.Bot.context aiogram.client.bot.Bot.copy_message
#: aiogram.client.bot.Bot.create_chat_invite_link #: aiogram.client.bot.Bot.create_chat_invite_link
#: aiogram.client.bot.Bot.create_forum_topic #: aiogram.client.bot.Bot.create_forum_topic
#: aiogram.client.bot.Bot.create_invoice_link #: aiogram.client.bot.Bot.create_invoice_link
@ -186,6 +193,7 @@ msgstr ""
#: aiogram.client.bot.Bot.delete_webhook #: aiogram.client.bot.Bot.delete_webhook
#: aiogram.client.bot.Bot.edit_chat_invite_link #: aiogram.client.bot.Bot.edit_chat_invite_link
#: aiogram.client.bot.Bot.edit_forum_topic #: aiogram.client.bot.Bot.edit_forum_topic
#: aiogram.client.bot.Bot.edit_general_forum_topic
#: aiogram.client.bot.Bot.edit_message_caption #: aiogram.client.bot.Bot.edit_message_caption
#: aiogram.client.bot.Bot.edit_message_live_location #: aiogram.client.bot.Bot.edit_message_live_location
#: aiogram.client.bot.Bot.edit_message_media #: aiogram.client.bot.Bot.edit_message_media
@ -205,11 +213,13 @@ msgstr ""
#: aiogram.client.bot.Bot.get_my_default_administrator_rights #: aiogram.client.bot.Bot.get_my_default_administrator_rights
#: aiogram.client.bot.Bot.get_sticker_set aiogram.client.bot.Bot.get_updates #: aiogram.client.bot.Bot.get_sticker_set aiogram.client.bot.Bot.get_updates
#: aiogram.client.bot.Bot.get_user_profile_photos #: aiogram.client.bot.Bot.get_user_profile_photos
#: aiogram.client.bot.Bot.get_webhook_info aiogram.client.bot.Bot.id #: aiogram.client.bot.Bot.get_webhook_info
#: aiogram.client.bot.Bot.hide_general_forum_topic aiogram.client.bot.Bot.id
#: aiogram.client.bot.Bot.leave_chat aiogram.client.bot.Bot.log_out #: aiogram.client.bot.Bot.leave_chat aiogram.client.bot.Bot.log_out
#: aiogram.client.bot.Bot.pin_chat_message #: aiogram.client.bot.Bot.me aiogram.client.bot.Bot.pin_chat_message
#: aiogram.client.bot.Bot.promote_chat_member #: aiogram.client.bot.Bot.promote_chat_member
#: aiogram.client.bot.Bot.reopen_forum_topic #: aiogram.client.bot.Bot.reopen_forum_topic
#: aiogram.client.bot.Bot.reopen_general_forum_topic
#: aiogram.client.bot.Bot.restrict_chat_member #: aiogram.client.bot.Bot.restrict_chat_member
#: aiogram.client.bot.Bot.revoke_chat_invite_link #: aiogram.client.bot.Bot.revoke_chat_invite_link
#: aiogram.client.bot.Bot.send_animation aiogram.client.bot.Bot.send_audio #: aiogram.client.bot.Bot.send_animation aiogram.client.bot.Bot.send_audio
@ -237,6 +247,7 @@ msgstr ""
#: aiogram.client.bot.Bot.stop_message_live_location #: aiogram.client.bot.Bot.stop_message_live_location
#: aiogram.client.bot.Bot.stop_poll aiogram.client.bot.Bot.unban_chat_member #: aiogram.client.bot.Bot.stop_poll aiogram.client.bot.Bot.unban_chat_member
#: aiogram.client.bot.Bot.unban_chat_sender_chat #: aiogram.client.bot.Bot.unban_chat_sender_chat
#: aiogram.client.bot.Bot.unhide_general_forum_topic
#: aiogram.client.bot.Bot.unpin_all_chat_messages #: aiogram.client.bot.Bot.unpin_all_chat_messages
#: aiogram.client.bot.Bot.unpin_all_forum_topic_messages #: aiogram.client.bot.Bot.unpin_all_forum_topic_messages
#: aiogram.client.bot.Bot.unpin_chat_message #: aiogram.client.bot.Bot.unpin_chat_message
@ -248,6 +259,10 @@ msgstr ""
msgid "Generate bot context" msgid "Generate bot context"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.me:1 of
msgid "Cached alias for getMe method"
msgstr ""
#: aiogram.client.bot.Bot.download_file:1 of #: aiogram.client.bot.Bot.download_file:1 of
msgid "Download file by file_path to destination." msgid "Download file by file_path to destination."
msgstr "" msgstr ""
@ -367,6 +382,7 @@ msgstr ""
#: aiogram.client.bot.Bot.ban_chat_member:7 #: aiogram.client.bot.Bot.ban_chat_member:7
#: aiogram.client.bot.Bot.ban_chat_sender_chat:5 aiogram.client.bot.Bot.close:3 #: aiogram.client.bot.Bot.ban_chat_sender_chat:5 aiogram.client.bot.Bot.close:3
#: aiogram.client.bot.Bot.close_forum_topic:5 #: aiogram.client.bot.Bot.close_forum_topic:5
#: aiogram.client.bot.Bot.close_general_forum_topic:4
#: aiogram.client.bot.Bot.copy_message:15 #: aiogram.client.bot.Bot.copy_message:15
#: aiogram.client.bot.Bot.create_chat_invite_link:8 #: aiogram.client.bot.Bot.create_chat_invite_link:8
#: aiogram.client.bot.Bot.create_forum_topic:7 #: aiogram.client.bot.Bot.create_forum_topic:7
@ -382,6 +398,7 @@ msgstr ""
#: aiogram.client.bot.Bot.delete_webhook:4 #: aiogram.client.bot.Bot.delete_webhook:4
#: aiogram.client.bot.Bot.edit_chat_invite_link:9 #: aiogram.client.bot.Bot.edit_chat_invite_link:9
#: aiogram.client.bot.Bot.edit_forum_topic:7 #: aiogram.client.bot.Bot.edit_forum_topic:7
#: aiogram.client.bot.Bot.edit_general_forum_topic:5
#: aiogram.client.bot.Bot.edit_message_caption:10 #: aiogram.client.bot.Bot.edit_message_caption:10
#: aiogram.client.bot.Bot.edit_message_live_location:12 #: aiogram.client.bot.Bot.edit_message_live_location:12
#: aiogram.client.bot.Bot.edit_message_media:8 #: aiogram.client.bot.Bot.edit_message_media:8
@ -403,23 +420,25 @@ msgstr ""
#: aiogram.client.bot.Bot.get_updates:13 #: aiogram.client.bot.Bot.get_updates:13
#: aiogram.client.bot.Bot.get_user_profile_photos:6 #: aiogram.client.bot.Bot.get_user_profile_photos:6
#: aiogram.client.bot.Bot.get_webhook_info:3 #: aiogram.client.bot.Bot.get_webhook_info:3
#: aiogram.client.bot.Bot.hide_general_forum_topic:4
#: aiogram.client.bot.Bot.leave_chat:4 aiogram.client.bot.Bot.log_out:3 #: aiogram.client.bot.Bot.leave_chat:4 aiogram.client.bot.Bot.log_out:3
#: aiogram.client.bot.Bot.pin_chat_message:6 #: aiogram.client.bot.Bot.pin_chat_message:6
#: aiogram.client.bot.Bot.promote_chat_member:17 #: aiogram.client.bot.Bot.promote_chat_member:17
#: aiogram.client.bot.Bot.reopen_forum_topic:5 #: aiogram.client.bot.Bot.reopen_forum_topic:5
#: aiogram.client.bot.Bot.reopen_general_forum_topic:4
#: aiogram.client.bot.Bot.restrict_chat_member:7 #: aiogram.client.bot.Bot.restrict_chat_member:7
#: aiogram.client.bot.Bot.revoke_chat_invite_link:5 #: aiogram.client.bot.Bot.revoke_chat_invite_link:5
#: aiogram.client.bot.Bot.send_animation:18 #: aiogram.client.bot.Bot.send_animation:19
#: aiogram.client.bot.Bot.send_audio:19 #: aiogram.client.bot.Bot.send_audio:19
#: aiogram.client.bot.Bot.send_chat_action:9 #: aiogram.client.bot.Bot.send_chat_action:10
#: aiogram.client.bot.Bot.send_contact:14 aiogram.client.bot.Bot.send_dice:11 #: aiogram.client.bot.Bot.send_contact:14 aiogram.client.bot.Bot.send_dice:11
#: aiogram.client.bot.Bot.send_document:16 aiogram.client.bot.Bot.send_game:11 #: aiogram.client.bot.Bot.send_document:16 aiogram.client.bot.Bot.send_game:11
#: aiogram.client.bot.Bot.send_invoice:31 #: aiogram.client.bot.Bot.send_invoice:31
#: aiogram.client.bot.Bot.send_location:16 #: aiogram.client.bot.Bot.send_location:16
#: aiogram.client.bot.Bot.send_media_group:10 #: aiogram.client.bot.Bot.send_media_group:10
#: aiogram.client.bot.Bot.send_message:14 aiogram.client.bot.Bot.send_photo:14 #: aiogram.client.bot.Bot.send_message:14 aiogram.client.bot.Bot.send_photo:15
#: aiogram.client.bot.Bot.send_poll:22 aiogram.client.bot.Bot.send_sticker:11 #: aiogram.client.bot.Bot.send_poll:22 aiogram.client.bot.Bot.send_sticker:11
#: aiogram.client.bot.Bot.send_venue:18 aiogram.client.bot.Bot.send_video:19 #: aiogram.client.bot.Bot.send_venue:18 aiogram.client.bot.Bot.send_video:20
#: aiogram.client.bot.Bot.send_video_note:14 #: aiogram.client.bot.Bot.send_video_note:14
#: aiogram.client.bot.Bot.send_voice:15 #: aiogram.client.bot.Bot.send_voice:15
#: aiogram.client.bot.Bot.set_chat_administrator_custom_title:6 #: aiogram.client.bot.Bot.set_chat_administrator_custom_title:6
@ -440,6 +459,7 @@ msgstr ""
#: aiogram.client.bot.Bot.stop_poll:6 #: aiogram.client.bot.Bot.stop_poll:6
#: aiogram.client.bot.Bot.unban_chat_member:6 #: aiogram.client.bot.Bot.unban_chat_member:6
#: aiogram.client.bot.Bot.unban_chat_sender_chat:5 #: aiogram.client.bot.Bot.unban_chat_sender_chat:5
#: aiogram.client.bot.Bot.unhide_general_forum_topic:4
#: aiogram.client.bot.Bot.unpin_all_chat_messages:4 #: aiogram.client.bot.Bot.unpin_all_chat_messages:4
#: aiogram.client.bot.Bot.unpin_all_forum_topic_messages:5 #: aiogram.client.bot.Bot.unpin_all_forum_topic_messages:5
#: aiogram.client.bot.Bot.unpin_chat_message:5 #: aiogram.client.bot.Bot.unpin_chat_message:5
@ -452,6 +472,7 @@ msgstr ""
#: aiogram.client.bot.Bot.ban_chat_member:8 #: aiogram.client.bot.Bot.ban_chat_member:8
#: aiogram.client.bot.Bot.ban_chat_sender_chat:6 #: aiogram.client.bot.Bot.ban_chat_sender_chat:6
#: aiogram.client.bot.Bot.close_forum_topic:6 #: aiogram.client.bot.Bot.close_forum_topic:6
#: aiogram.client.bot.Bot.close_general_forum_topic:5
#: aiogram.client.bot.Bot.create_new_sticker_set:13 #: aiogram.client.bot.Bot.create_new_sticker_set:13
#: aiogram.client.bot.Bot.decline_chat_join_request:6 #: aiogram.client.bot.Bot.decline_chat_join_request:6
#: aiogram.client.bot.Bot.delete_chat_photo:5 #: aiogram.client.bot.Bot.delete_chat_photo:5
@ -462,10 +483,13 @@ msgstr ""
#: aiogram.client.bot.Bot.delete_sticker_from_set:5 #: aiogram.client.bot.Bot.delete_sticker_from_set:5
#: aiogram.client.bot.Bot.delete_webhook:5 #: aiogram.client.bot.Bot.delete_webhook:5
#: aiogram.client.bot.Bot.edit_forum_topic:8 #: aiogram.client.bot.Bot.edit_forum_topic:8
#: aiogram.client.bot.Bot.edit_general_forum_topic:6
#: aiogram.client.bot.Bot.hide_general_forum_topic:5
#: aiogram.client.bot.Bot.leave_chat:5 #: aiogram.client.bot.Bot.leave_chat:5
#: aiogram.client.bot.Bot.pin_chat_message:7 #: aiogram.client.bot.Bot.pin_chat_message:7
#: aiogram.client.bot.Bot.promote_chat_member:18 #: aiogram.client.bot.Bot.promote_chat_member:18
#: aiogram.client.bot.Bot.reopen_forum_topic:6 #: aiogram.client.bot.Bot.reopen_forum_topic:6
#: aiogram.client.bot.Bot.reopen_general_forum_topic:5
#: aiogram.client.bot.Bot.restrict_chat_member:8 #: aiogram.client.bot.Bot.restrict_chat_member:8
#: aiogram.client.bot.Bot.set_chat_administrator_custom_title:7 #: aiogram.client.bot.Bot.set_chat_administrator_custom_title:7
#: aiogram.client.bot.Bot.set_chat_description:6 #: aiogram.client.bot.Bot.set_chat_description:6
@ -480,6 +504,7 @@ msgstr ""
#: aiogram.client.bot.Bot.set_sticker_set_thumb:7 #: aiogram.client.bot.Bot.set_sticker_set_thumb:7
#: aiogram.client.bot.Bot.unban_chat_member:7 #: aiogram.client.bot.Bot.unban_chat_member:7
#: aiogram.client.bot.Bot.unban_chat_sender_chat:6 #: aiogram.client.bot.Bot.unban_chat_sender_chat:6
#: aiogram.client.bot.Bot.unhide_general_forum_topic:5
#: aiogram.client.bot.Bot.unpin_all_chat_messages:5 #: aiogram.client.bot.Bot.unpin_all_chat_messages:5
#: aiogram.client.bot.Bot.unpin_all_forum_topic_messages:6 #: aiogram.client.bot.Bot.unpin_all_forum_topic_messages:6
#: aiogram.client.bot.Bot.unpin_chat_message:6 of #: aiogram.client.bot.Bot.unpin_chat_message:6 of
@ -812,15 +837,20 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.close_forum_topic:3 #: aiogram.client.bot.Bot.close_forum_topic:3
#: aiogram.client.bot.Bot.close_general_forum_topic:3
#: aiogram.client.bot.Bot.create_forum_topic:3 #: aiogram.client.bot.Bot.create_forum_topic:3
#: aiogram.client.bot.Bot.delete_chat_sticker_set:3 #: aiogram.client.bot.Bot.delete_chat_sticker_set:3
#: aiogram.client.bot.Bot.delete_forum_topic:3 #: aiogram.client.bot.Bot.delete_forum_topic:3
#: aiogram.client.bot.Bot.edit_forum_topic:3 #: aiogram.client.bot.Bot.edit_forum_topic:3
#: aiogram.client.bot.Bot.edit_general_forum_topic:3
#: aiogram.client.bot.Bot.hide_general_forum_topic:3
#: aiogram.client.bot.Bot.reopen_forum_topic:3 #: aiogram.client.bot.Bot.reopen_forum_topic:3
#: aiogram.client.bot.Bot.reopen_general_forum_topic:3
#: aiogram.client.bot.Bot.restrict_chat_member:3 #: aiogram.client.bot.Bot.restrict_chat_member:3
#: aiogram.client.bot.Bot.set_chat_administrator_custom_title:3 #: aiogram.client.bot.Bot.set_chat_administrator_custom_title:3
#: aiogram.client.bot.Bot.set_chat_permissions:3 #: aiogram.client.bot.Bot.set_chat_permissions:3
#: aiogram.client.bot.Bot.set_chat_sticker_set:3 #: aiogram.client.bot.Bot.set_chat_sticker_set:3
#: aiogram.client.bot.Bot.unhide_general_forum_topic:3
#: aiogram.client.bot.Bot.unpin_all_forum_topic_messages:3 of #: aiogram.client.bot.Bot.unpin_all_forum_topic_messages:3 of
msgid "" msgid ""
"Unique identifier for the target chat or username of the target " "Unique identifier for the target chat or username of the target "
@ -898,14 +928,14 @@ msgstr ""
#: aiogram.client.bot.Bot.copy_message:10 #: aiogram.client.bot.Bot.copy_message:10
#: aiogram.client.bot.Bot.forward_message:7 #: aiogram.client.bot.Bot.forward_message:7
#: aiogram.client.bot.Bot.send_animation:13 #: aiogram.client.bot.Bot.send_animation:14
#: aiogram.client.bot.Bot.send_audio:14 aiogram.client.bot.Bot.send_contact:9 #: aiogram.client.bot.Bot.send_audio:14 aiogram.client.bot.Bot.send_contact:9
#: aiogram.client.bot.Bot.send_dice:6 aiogram.client.bot.Bot.send_document:11 #: aiogram.client.bot.Bot.send_dice:6 aiogram.client.bot.Bot.send_document:11
#: aiogram.client.bot.Bot.send_game:6 aiogram.client.bot.Bot.send_invoice:26 #: aiogram.client.bot.Bot.send_game:6 aiogram.client.bot.Bot.send_invoice:26
#: aiogram.client.bot.Bot.send_location:11 #: aiogram.client.bot.Bot.send_location:11
#: aiogram.client.bot.Bot.send_message:9 aiogram.client.bot.Bot.send_photo:9 #: aiogram.client.bot.Bot.send_message:9 aiogram.client.bot.Bot.send_photo:10
#: aiogram.client.bot.Bot.send_poll:17 aiogram.client.bot.Bot.send_sticker:6 #: aiogram.client.bot.Bot.send_poll:17 aiogram.client.bot.Bot.send_sticker:6
#: aiogram.client.bot.Bot.send_venue:13 aiogram.client.bot.Bot.send_video:14 #: aiogram.client.bot.Bot.send_venue:13 aiogram.client.bot.Bot.send_video:15
#: aiogram.client.bot.Bot.send_video_note:9 #: aiogram.client.bot.Bot.send_video_note:9
#: aiogram.client.bot.Bot.send_voice:10 of #: aiogram.client.bot.Bot.send_voice:10 of
msgid "" msgid ""
@ -914,43 +944,43 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.copy_message:11 #: aiogram.client.bot.Bot.copy_message:11
#: aiogram.client.bot.Bot.send_animation:14 #: aiogram.client.bot.Bot.send_animation:15
#: aiogram.client.bot.Bot.send_audio:15 aiogram.client.bot.Bot.send_contact:10 #: aiogram.client.bot.Bot.send_audio:15 aiogram.client.bot.Bot.send_contact:10
#: aiogram.client.bot.Bot.send_document:12 aiogram.client.bot.Bot.send_game:7 #: aiogram.client.bot.Bot.send_document:12 aiogram.client.bot.Bot.send_game:7
#: aiogram.client.bot.Bot.send_invoice:27 #: aiogram.client.bot.Bot.send_invoice:27
#: aiogram.client.bot.Bot.send_location:12 #: aiogram.client.bot.Bot.send_location:12
#: aiogram.client.bot.Bot.send_message:10 aiogram.client.bot.Bot.send_photo:10 #: aiogram.client.bot.Bot.send_message:10 aiogram.client.bot.Bot.send_photo:11
#: aiogram.client.bot.Bot.send_poll:18 aiogram.client.bot.Bot.send_sticker:7 #: aiogram.client.bot.Bot.send_poll:18 aiogram.client.bot.Bot.send_sticker:7
#: aiogram.client.bot.Bot.send_venue:14 aiogram.client.bot.Bot.send_video:15 #: aiogram.client.bot.Bot.send_venue:14 aiogram.client.bot.Bot.send_video:16
#: aiogram.client.bot.Bot.send_video_note:10 #: aiogram.client.bot.Bot.send_video_note:10
#: aiogram.client.bot.Bot.send_voice:11 of #: aiogram.client.bot.Bot.send_voice:11 of
msgid "Protects the contents of the sent message from forwarding and saving" msgid "Protects the contents of the sent message from forwarding and saving"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.copy_message:12 #: aiogram.client.bot.Bot.copy_message:12
#: aiogram.client.bot.Bot.send_animation:15 #: aiogram.client.bot.Bot.send_animation:16
#: aiogram.client.bot.Bot.send_audio:16 aiogram.client.bot.Bot.send_contact:11 #: aiogram.client.bot.Bot.send_audio:16 aiogram.client.bot.Bot.send_contact:11
#: aiogram.client.bot.Bot.send_dice:8 aiogram.client.bot.Bot.send_document:13 #: aiogram.client.bot.Bot.send_dice:8 aiogram.client.bot.Bot.send_document:13
#: aiogram.client.bot.Bot.send_game:8 aiogram.client.bot.Bot.send_invoice:28 #: aiogram.client.bot.Bot.send_game:8 aiogram.client.bot.Bot.send_invoice:28
#: aiogram.client.bot.Bot.send_location:13 #: aiogram.client.bot.Bot.send_location:13
#: aiogram.client.bot.Bot.send_message:11 aiogram.client.bot.Bot.send_photo:11 #: aiogram.client.bot.Bot.send_message:11 aiogram.client.bot.Bot.send_photo:12
#: aiogram.client.bot.Bot.send_poll:19 aiogram.client.bot.Bot.send_sticker:8 #: aiogram.client.bot.Bot.send_poll:19 aiogram.client.bot.Bot.send_sticker:8
#: aiogram.client.bot.Bot.send_venue:15 aiogram.client.bot.Bot.send_video:16 #: aiogram.client.bot.Bot.send_venue:15 aiogram.client.bot.Bot.send_video:17
#: aiogram.client.bot.Bot.send_video_note:11 #: aiogram.client.bot.Bot.send_video_note:11
#: aiogram.client.bot.Bot.send_voice:12 of #: aiogram.client.bot.Bot.send_voice:12 of
msgid "If the message is a reply, ID of the original message" msgid "If the message is a reply, ID of the original message"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.copy_message:13 #: aiogram.client.bot.Bot.copy_message:13
#: aiogram.client.bot.Bot.send_animation:16 #: aiogram.client.bot.Bot.send_animation:17
#: aiogram.client.bot.Bot.send_audio:17 aiogram.client.bot.Bot.send_contact:12 #: aiogram.client.bot.Bot.send_audio:17 aiogram.client.bot.Bot.send_contact:12
#: aiogram.client.bot.Bot.send_dice:9 aiogram.client.bot.Bot.send_document:14 #: aiogram.client.bot.Bot.send_dice:9 aiogram.client.bot.Bot.send_document:14
#: aiogram.client.bot.Bot.send_game:9 aiogram.client.bot.Bot.send_invoice:29 #: aiogram.client.bot.Bot.send_game:9 aiogram.client.bot.Bot.send_invoice:29
#: aiogram.client.bot.Bot.send_location:14 #: aiogram.client.bot.Bot.send_location:14
#: aiogram.client.bot.Bot.send_media_group:9 #: aiogram.client.bot.Bot.send_media_group:9
#: aiogram.client.bot.Bot.send_message:12 aiogram.client.bot.Bot.send_photo:12 #: aiogram.client.bot.Bot.send_message:12 aiogram.client.bot.Bot.send_photo:13
#: aiogram.client.bot.Bot.send_poll:20 aiogram.client.bot.Bot.send_sticker:9 #: aiogram.client.bot.Bot.send_poll:20 aiogram.client.bot.Bot.send_sticker:9
#: aiogram.client.bot.Bot.send_venue:16 aiogram.client.bot.Bot.send_video:17 #: aiogram.client.bot.Bot.send_venue:16 aiogram.client.bot.Bot.send_video:18
#: aiogram.client.bot.Bot.send_video_note:12 #: aiogram.client.bot.Bot.send_video_note:12
#: aiogram.client.bot.Bot.send_voice:13 of #: aiogram.client.bot.Bot.send_voice:13 of
msgid "" msgid ""
@ -959,13 +989,13 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.copy_message:14 #: aiogram.client.bot.Bot.copy_message:14
#: aiogram.client.bot.Bot.send_animation:17 #: aiogram.client.bot.Bot.send_animation:18
#: aiogram.client.bot.Bot.send_audio:18 aiogram.client.bot.Bot.send_contact:13 #: aiogram.client.bot.Bot.send_audio:18 aiogram.client.bot.Bot.send_contact:13
#: aiogram.client.bot.Bot.send_dice:10 aiogram.client.bot.Bot.send_document:15 #: aiogram.client.bot.Bot.send_dice:10 aiogram.client.bot.Bot.send_document:15
#: aiogram.client.bot.Bot.send_location:15 #: aiogram.client.bot.Bot.send_location:15
#: aiogram.client.bot.Bot.send_message:13 aiogram.client.bot.Bot.send_photo:13 #: aiogram.client.bot.Bot.send_message:13 aiogram.client.bot.Bot.send_photo:14
#: aiogram.client.bot.Bot.send_poll:21 aiogram.client.bot.Bot.send_sticker:10 #: aiogram.client.bot.Bot.send_poll:21 aiogram.client.bot.Bot.send_sticker:10
#: aiogram.client.bot.Bot.send_venue:17 aiogram.client.bot.Bot.send_video:18 #: aiogram.client.bot.Bot.send_venue:17 aiogram.client.bot.Bot.send_video:19
#: aiogram.client.bot.Bot.send_video_note:13 #: aiogram.client.bot.Bot.send_video_note:13
#: aiogram.client.bot.Bot.send_voice:14 of #: aiogram.client.bot.Bot.send_voice:14 of
msgid "" msgid ""
@ -1391,14 +1421,17 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.edit_forum_topic:5 of #: aiogram.client.bot.Bot.edit_forum_topic:5 of
msgid "New topic name, 1-128 characters" msgid ""
"New topic name, 0-128 characters. If not specififed or empty, the current"
" name of the topic will be kept"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.edit_forum_topic:6 of #: aiogram.client.bot.Bot.edit_forum_topic:6 of
msgid "" msgid ""
"New unique identifier of the custom emoji shown as the topic icon. Use " "New unique identifier of the custom emoji shown as the topic icon. Use "
":class:`aiogram.methods.get_forum_topic_icon_stickers.GetForumTopicIconStickers`" ":class:`aiogram.methods.get_forum_topic_icon_stickers.GetForumTopicIconStickers`"
" to get all allowed custom emoji identifiers." " to get all allowed custom emoji identifiers. Pass an empty string to "
"remove the icon. If not specified, the current icon will be kept"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.edit_message_caption:1 of #: aiogram.client.bot.Bot.edit_message_caption:1 of
@ -1629,7 +1662,7 @@ msgstr ""
#: aiogram.client.bot.Bot.send_contact:15 aiogram.client.bot.Bot.send_dice:12 #: aiogram.client.bot.Bot.send_contact:15 aiogram.client.bot.Bot.send_dice:12
#: aiogram.client.bot.Bot.send_game:12 aiogram.client.bot.Bot.send_invoice:32 #: aiogram.client.bot.Bot.send_game:12 aiogram.client.bot.Bot.send_invoice:32
#: aiogram.client.bot.Bot.send_location:17 #: aiogram.client.bot.Bot.send_location:17
#: aiogram.client.bot.Bot.send_message:15 aiogram.client.bot.Bot.send_photo:15 #: aiogram.client.bot.Bot.send_message:15 aiogram.client.bot.Bot.send_photo:16
#: aiogram.client.bot.Bot.send_poll:23 aiogram.client.bot.Bot.send_sticker:12 #: aiogram.client.bot.Bot.send_poll:23 aiogram.client.bot.Bot.send_sticker:12
#: aiogram.client.bot.Bot.send_venue:19 #: aiogram.client.bot.Bot.send_venue:19
#: aiogram.client.bot.Bot.send_video_note:15 of #: aiogram.client.bot.Bot.send_video_note:15 of
@ -1671,8 +1704,10 @@ msgstr ""
#: aiogram.client.bot.Bot.get_chat_member:1 of #: aiogram.client.bot.Bot.get_chat_member:1 of
msgid "" msgid ""
"Use this method to get information about a member of a chat. Returns a " "Use this method to get information about a member of a chat. The method "
":class:`aiogram.types.chat_member.ChatMember` object on success." "is guaranteed to work only if the bot is an administrator in the chat. "
"Returns a :class:`aiogram.types.chat_member.ChatMember` object on "
"success."
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.get_chat_member:6 of #: aiogram.client.bot.Bot.get_chat_member:6 of
@ -2186,7 +2221,13 @@ msgid ""
"more details." "more details."
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.send_animation:19 of #: aiogram.client.bot.Bot.send_animation:13 of
msgid ""
"Pass :code:`True` if the animation needs to be covered with a spoiler "
"animation"
msgstr ""
#: aiogram.client.bot.Bot.send_animation:20 of
msgid "" msgid ""
"Bots can currently send animation files of up to 50 MB in size, this " "Bots can currently send animation files of up to 50 MB in size, this "
"limit may be changed in the future." "limit may be changed in the future."
@ -2281,7 +2322,11 @@ msgid ""
"<https://core.telegram.org/bots/api#sendvideonote>`_." "<https://core.telegram.org/bots/api#sendvideonote>`_."
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.send_chat_action:10 of #: aiogram.client.bot.Bot.send_chat_action:9 of
msgid "Unique identifier for the target message thread; supergroups only"
msgstr ""
#: aiogram.client.bot.Bot.send_chat_action:11 of
msgid "The user will see a 'sending photo' status for the bot." msgid "The user will see a 'sending photo' status for the bot."
msgstr "" msgstr ""
@ -2548,6 +2593,12 @@ msgid ""
"details." "details."
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.send_photo:9 of
msgid ""
"Pass :code:`True` if the photo needs to be covered with a spoiler "
"animation"
msgstr ""
#: aiogram.client.bot.Bot.send_poll:1 of #: aiogram.client.bot.Bot.send_poll:1 of
msgid "" msgid ""
"Use this method to send a native poll. On success, the sent " "Use this method to send a native poll. On success, the sent "
@ -2730,10 +2781,16 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.send_video:13 of #: aiogram.client.bot.Bot.send_video:13 of
msgid ""
"Pass :code:`True` if the video needs to be covered with a spoiler "
"animation"
msgstr ""
#: aiogram.client.bot.Bot.send_video:14 of
msgid "Pass :code:`True` if the uploaded video is suitable for streaming" msgid "Pass :code:`True` if the uploaded video is suitable for streaming"
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.send_video:20 of #: aiogram.client.bot.Bot.send_video:21 of
msgid "" msgid ""
"Bots can currently send video files of up to 50 MB in size, this limit " "Bots can currently send video files of up to 50 MB in size, this limit "
"may be changed in the future." "may be changed in the future."
@ -3227,6 +3284,51 @@ msgstr ""
msgid "Returns the uploaded :class:`aiogram.types.file.File` on success." msgid "Returns the uploaded :class:`aiogram.types.file.File` on success."
msgstr "" msgstr ""
#: aiogram.client.bot.Bot.close_general_forum_topic:1 of
msgid ""
"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."
msgstr ""
#: aiogram.client.bot.Bot.edit_general_forum_topic:1 of
msgid ""
"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."
msgstr ""
#: aiogram.client.bot.Bot.edit_general_forum_topic:4 of
msgid "New topic name, 1-128 characters"
msgstr ""
#: aiogram.client.bot.Bot.hide_general_forum_topic:1 of
msgid ""
"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."
msgstr ""
#: aiogram.client.bot.Bot.reopen_general_forum_topic:1 of
msgid ""
"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."
msgstr ""
#: aiogram.client.bot.Bot.unhide_general_forum_topic:1 of
msgid ""
"Use this method to unhide 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. Returns :code:`True` "
"on success."
msgstr ""
#~ msgid "" #~ msgid ""
#~ "Additional interface options. A JSON-" #~ "Additional interface options. A JSON-"
#~ "serialized object for an `inline " #~ "serialized object for an `inline "
@ -3800,3 +3902,19 @@ msgstr ""
#~ "users if the user and their " #~ "users if the user and their "
#~ "neighbors are not among them." #~ "neighbors are not among them."
#~ msgstr "" #~ msgstr ""
#~ msgid ""
#~ "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."
#~ msgstr ""
#~ msgid ""
#~ "Use this method to get information "
#~ "about a member of a chat. Returns"
#~ " a :class:`aiogram.types.chat_member.ChatMember` object"
#~ " on success."
#~ msgstr ""

View file

@ -5,9 +5,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram\n" "Project-Id-Version: aiogram\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: 2022-12-13 23:33+0200\n" "PO-Revision-Date: 2022-12-13 23:33+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -15,7 +15,6 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n" "Generated-By: Babel 2.10.3\n"
"X-Generator: Poedit 3.2.2\n"
#: ../../api/download_file.rst:3 #: ../../api/download_file.rst:3
msgid "How to download file?" msgid "How to download file?"
@ -28,12 +27,12 @@ msgstr "Завантаження файла вручну"
#: ../../api/download_file.rst:8 #: ../../api/download_file.rst:8
msgid "" msgid ""
"First, you must get the `file_id` of the file you want to download. " "First, you must get the `file_id` of the file you want to download. "
"Information about files sent to the bot is contained in `Message <types/" "Information about files sent to the bot is contained in `Message "
"message.html>`__." "<types/message.html>`__."
msgstr "" msgstr ""
"По-перше, ви повинні отримати `file_id` файлу, який ви хочете завантажити. " "По-перше, ви повинні отримати `file_id` файлу, який ви хочете "
"Інформація про файли, надіслані боту, міститься в `Message <types/message." "завантажити. Інформація про файли, надіслані боту, міститься в `Message "
"html>`__." "<types/message.html>`__."
#: ../../api/download_file.rst:11 #: ../../api/download_file.rst:11
msgid "For example, download the document that came to the bot." msgid "For example, download the document that came to the bot."
@ -41,15 +40,16 @@ msgstr "Наприклад, завантажте документ, який пр
#: ../../api/download_file.rst:17 #: ../../api/download_file.rst:17
msgid "" msgid ""
"Then use the `getFile <methods/get_file.html>`__ method to get `file_path`." "Then use the `getFile <methods/get_file.html>`__ method to get "
"`file_path`."
msgstr "" msgstr ""
"Потім скористайтеся методом `getFile <methods/get_file.html>`__, щоб " "Потім скористайтеся методом `getFile <methods/get_file.html>`__, щоб "
"отримати `file_path`." "отримати `file_path`."
#: ../../api/download_file.rst:24 #: ../../api/download_file.rst:24
msgid "" msgid ""
"After that, use the `download_file <#download-file>`__ method from the bot " "After that, use the `download_file <#download-file>`__ method from the "
"object." "bot object."
msgstr "" msgstr ""
"Після цього скористайтеся методом `download_file <#download-file>`__ з " "Після цього скористайтеся методом `download_file <#download-file>`__ з "
"об’єкта бота." "об’єкта бота."
@ -68,12 +68,8 @@ msgid ""
"default value of destination and handle result of this method." "default value of destination and handle result of this method."
msgstr "" msgstr ""
"Якщо ви хочете автоматично створити місце призначення (io.BytesIO), " "Якщо ви хочете автоматично створити місце призначення (io.BytesIO), "
"використовуйте значення призначення за замовчуванням і обробіть результат " "використовуйте значення призначення за замовчуванням і обробіть результат"
"цього методу." " цього методу."
#: aiogram.client.bot.Bot:1 of
msgid "Bot class"
msgstr "Bot class"
#: aiogram.client.bot.Bot.download_file:1 of #: aiogram.client.bot.Bot.download_file:1 of
msgid "Download file by file_path to destination." msgid "Download file by file_path to destination."
@ -81,12 +77,12 @@ msgstr "Завантажує файл з file_path у вказане місце.
#: aiogram.client.bot.Bot.download:3 aiogram.client.bot.Bot.download_file:3 of #: aiogram.client.bot.Bot.download:3 aiogram.client.bot.Bot.download_file:3 of
msgid "" msgid ""
"If you want to automatically create destination (:class:`io.BytesIO`) use " "If you want to automatically create destination (:class:`io.BytesIO`) use"
"default value of destination and handle result of this method." " default value of destination and handle result of this method."
msgstr "" msgstr ""
"Якщо ви хочете автоматично створити місце призначення (io.BytesIO), " "Якщо ви хочете автоматично створити місце призначення (io.BytesIO), "
"використовуйте значення призначення за замовчуванням і обробіть результат " "використовуйте значення призначення за замовчуванням і обробіть результат"
"цього методу." " цього методу."
#: aiogram.client.bot.Bot.download aiogram.client.bot.Bot.download_file of #: aiogram.client.bot.Bot.download aiogram.client.bot.Bot.download_file of
msgid "Parameters" msgid "Parameters"
@ -94,18 +90,19 @@ msgstr "Параметри"
#: aiogram.client.bot.Bot.download_file:6 of #: aiogram.client.bot.Bot.download_file:6 of
msgid "" msgid ""
"File path on Telegram server (You can get it from :obj:`aiogram.types.File`)" "File path on Telegram server (You can get it from "
":obj:`aiogram.types.File`)"
msgstr "" msgstr ""
"Шлях до файлу на сервері Telegram (Ви можете отримати його з :obj:`aiogram." "Шлях до файлу на сервері Telegram (Ви можете отримати його з "
"types.File`)" ":obj:`aiogram.types.File`)"
#: aiogram.client.bot.Bot.download:7 aiogram.client.bot.Bot.download_file:7 of #: aiogram.client.bot.Bot.download:7 aiogram.client.bot.Bot.download_file:7 of
msgid "" msgid ""
"Filename, file path or instance of :class:`io.IOBase`. For e.g. :class:`io." "Filename, file path or instance of :class:`io.IOBase`. For e.g. "
"BytesIO`, defaults to None" ":class:`io.BytesIO`, defaults to None"
msgstr "" msgstr ""
"Ім’я файлу, шлях до файлу або екземпляр :class:`io.IOBase`. Для напр. :" "Ім’я файлу, шлях до файлу або екземпляр :class:`io.IOBase`. Для напр. "
"class:`io.BytesIO`, за замовчуванням немає" ":class:`io.BytesIO`, за замовчуванням немає"
#: aiogram.client.bot.Bot.download:8 aiogram.client.bot.Bot.download_file:8 of #: aiogram.client.bot.Bot.download:8 aiogram.client.bot.Bot.download_file:8 of
msgid "Total timeout in seconds, defaults to 30" msgid "Total timeout in seconds, defaults to 30"
@ -118,11 +115,11 @@ msgstr "Розмір фрагментів файлу, за замовчуван
#: aiogram.client.bot.Bot.download:10 aiogram.client.bot.Bot.download_file:10 #: aiogram.client.bot.Bot.download:10 aiogram.client.bot.Bot.download_file:10
#: of #: of
msgid "" msgid ""
"Go to start of file when downloading is finished. Used only for destination " "Go to start of file when downloading is finished. Used only for "
"with :class:`typing.BinaryIO` type, defaults to True" "destination with :class:`typing.BinaryIO` type, defaults to True"
msgstr "" msgstr ""
"Перейти до початку файлу, коли завантаження завершиться. Використовується " "Перейти до початку файлу, коли завантаження завершиться. Використовується"
"лише для призначення з типом :class:`typing.BinaryIO`, за замовчуванням " " лише для призначення з типом :class:`typing.BinaryIO`, за замовчуванням "
"значення True" "значення True"
#: ../../api/download_file.rst:38 #: ../../api/download_file.rst:38
@ -139,11 +136,11 @@ msgstr "Завантаження файлу на диск"
#: ../../api/download_file.rst:43 #: ../../api/download_file.rst:43
msgid "" msgid ""
"To download file to disk, you must specify the file name or path where to " "To download file to disk, you must specify the file name or path where to"
"download the file. In this case, the function will return nothing." " download the file. In this case, the function will return nothing."
msgstr "" msgstr ""
"Щоб завантажити файл на диск, необхідно вказати ім'я файлу або шлях, куди " "Щоб завантажити файл на диск, необхідно вказати ім'я файлу або шлях, куди"
"його завантажити. У цьому випадку функція нічого не поверне." " його завантажити. У цьому випадку функція нічого не поверне."
#: ../../api/download_file.rst:51 #: ../../api/download_file.rst:51
msgid "Download file to binary I/O object" msgid "Download file to binary I/O object"
@ -151,12 +148,12 @@ msgstr "Завантаження файлу в оперативну пам'ят
#: ../../api/download_file.rst:53 #: ../../api/download_file.rst:53
msgid "" msgid ""
"To download file to binary I/O object, you must specify an object with the :" "To download file to binary I/O object, you must specify an object with "
"obj:`typing.BinaryIO` type or use the default (:obj:`None`) value." "the :obj:`typing.BinaryIO` type or use the default (:obj:`None`) value."
msgstr "" msgstr ""
"Щоб завантажити файл до оперативної пам'яті, ви повинні вказати об’єкт із " "Щоб завантажити файл до оперативної пам'яті, ви повинні вказати об’єкт із"
"типом :obj:`typing.BinaryIO` або використати значення за замовчуванням (:" " типом :obj:`typing.BinaryIO` або використати значення за замовчуванням "
"obj:`None`)." "(:obj:`None`)."
#: ../../api/download_file.rst:56 #: ../../api/download_file.rst:56
msgid "In the first case, the function will return your object:" msgid "In the first case, the function will return your object:"
@ -164,11 +161,11 @@ msgstr "У першому випадку функція поверне ваш о
#: ../../api/download_file.rst:64 #: ../../api/download_file.rst:64
msgid "" msgid ""
"If you leave the default value, an :obj:`io.BytesIO` object will be created " "If you leave the default value, an :obj:`io.BytesIO` object will be "
"and returned." "created and returned."
msgstr "" msgstr ""
"Якщо залишити значення за замовчуванням, буде створено та повернено об’єкт :" "Якщо залишити значення за замовчуванням, буде створено та повернено "
"obj:`io.BytesIO`." "об’єкт :obj:`io.BytesIO`."
#: ../../api/download_file.rst:72 #: ../../api/download_file.rst:72
msgid "Download file in short way" msgid "Download file in short way"
@ -188,8 +185,7 @@ msgstr "download(...)"
#: ../../api/download_file.rst:79 #: ../../api/download_file.rst:79
msgid "Download file by `file_id` or `Downloadable` object to destination." msgid "Download file by `file_id` or `Downloadable` object to destination."
msgstr "" msgstr "Завантажує файл за `file_id` або `Downloadable` об’єктом у вказане місце."
"Завантажує файл за `file_id` або `Downloadable` об’єктом у вказане місце."
#: aiogram.client.bot.Bot.download:1 of #: aiogram.client.bot.Bot.download:1 of
msgid "Download file by file_id or Downloadable object to destination." msgid "Download file by file_id or Downloadable object to destination."
@ -205,14 +201,15 @@ msgid ""
"accepts `file_id` or an `Downloadable` object (object that contains the " "accepts `file_id` or an `Downloadable` object (object that contains the "
"`file_id` attribute) instead of `file_path`." "`file_id` attribute) instead of `file_path`."
msgstr "" msgstr ""
"Він відрізняється від `download_file <#download-file>`__ **лише** тим, що " "Він відрізняється від `download_file <#download-file>`__ **лише** тим, що"
"приймає `file_id` або `Downloadable` об’єкт (об’єкт, який містить атрибут " " приймає `file_id` або `Downloadable` об’єкт (об’єкт, який містить "
"`file_id`) замість `file_path`." "атрибут `file_id`) замість `file_path`."
#: ../../api/download_file.rst:91 #: ../../api/download_file.rst:91
msgid "" msgid ""
"You can download a file to `disk <#download-file-to-disk>`__ or to a " "You can download a file to `disk <#download-file-to-disk>`__ or to a "
"`binary I/O <#download-file-to-binary-io-object>`__ object in the same way." "`binary I/O <#download-file-to-binary-io-object>`__ object in the same "
"way."
msgstr "" msgstr ""
"Ви можете завантажити файл на `disk <#download-file-to-disk>`__ або в " "Ви можете завантажити файл на `disk <#download-file-to-disk>`__ або в "
"`binary I/O object <#download-file-to-binary-io-object>`__ так само." "`binary I/O object <#download-file-to-binary-io-object>`__ так само."
@ -220,3 +217,6 @@ msgstr ""
#: ../../api/download_file.rst:93 #: ../../api/download_file.rst:93
msgid "Example:" msgid "Example:"
msgstr "Приклад:" msgstr "Приклад:"
#~ msgid "Bot class"
#~ msgstr "Bot class"

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -18,9 +18,12 @@ msgstr ""
"Generated-By: Babel 2.10.3\n" "Generated-By: Babel 2.10.3\n"
#: ../../api/enums/index.rst:3 #: ../../api/enums/index.rst:3
msgid "Types" msgid "Enums"
msgstr "" msgstr ""
#: ../../api/enums/index.rst:5 #: ../../api/enums/index.rst:5
msgid "Here is list of all available enums:" msgid "Here is list of all available enums:"
msgstr "" msgstr ""
#~ msgid "Types"
#~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -49,7 +49,9 @@ msgid "Unique identifier for the target message thread of the forum topic"
msgstr "" msgstr ""
#: ../../docstring aiogram.methods.edit_forum_topic.EditForumTopic.name:1 of #: ../../docstring aiogram.methods.edit_forum_topic.EditForumTopic.name:1 of
msgid "New topic name, 1-128 characters" msgid ""
"New topic name, 0-128 characters. If not specififed or empty, the current"
" name of the topic will be kept"
msgstr "" msgstr ""
#: ../../docstring #: ../../docstring
@ -57,7 +59,8 @@ msgstr ""
msgid "" msgid ""
"New unique identifier of the custom emoji shown as the topic icon. Use " "New unique identifier of the custom emoji shown as the topic icon. Use "
":class:`aiogram.methods.get_forum_topic_icon_stickers.GetForumTopicIconStickers`" ":class:`aiogram.methods.get_forum_topic_icon_stickers.GetForumTopicIconStickers`"
" to get all allowed custom emoji identifiers." " to get all allowed custom emoji identifiers. Pass an empty string to "
"remove the icon. If not specified, the current icon will be kept"
msgstr "" msgstr ""
#: ../../api/methods/edit_forum_topic.rst:14 #: ../../api/methods/edit_forum_topic.rst:14
@ -100,3 +103,15 @@ msgstr ""
#~ " to get all allowed custom emoji " #~ " to get all allowed custom emoji "
#~ "identifiers" #~ "identifiers"
#~ msgstr "" #~ msgstr ""
#~ msgid "New topic name, 1-128 characters"
#~ msgstr ""
#~ msgid ""
#~ "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."
#~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -30,8 +30,10 @@ msgstr ""
#: aiogram.methods.get_chat_member.GetChatMember:1 of #: aiogram.methods.get_chat_member.GetChatMember:1 of
msgid "" msgid ""
"Use this method to get information about a member of a chat. Returns a " "Use this method to get information about a member of a chat. The method "
":class:`aiogram.types.chat_member.ChatMember` object on success." "is guaranteed to work only if the bot is an administrator in the chat. "
"Returns a :class:`aiogram.types.chat_member.ChatMember` object on "
"success."
msgstr "" msgstr ""
#: aiogram.methods.get_chat_member.GetChatMember:3 of #: aiogram.methods.get_chat_member.GetChatMember:3 of
@ -83,3 +85,10 @@ msgstr ""
#: ../../api/methods/get_chat_member.rst:45 #: ../../api/methods/get_chat_member.rst:45
msgid ":meth:`aiogram.types.chat.Chat.get_member`" msgid ":meth:`aiogram.types.chat.Chat.get_member`"
msgstr "" msgstr ""
#~ msgid ""
#~ "Use this method to get information "
#~ "about a member of a chat. Returns"
#~ " a :class:`aiogram.types.chat_member.ChatMember` object"
#~ " on success."
#~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -104,6 +104,13 @@ msgid ""
"which can be specified instead of *parse_mode*" "which can be specified instead of *parse_mode*"
msgstr "" msgstr ""
#: ../../docstring aiogram.methods.send_animation.SendAnimation.has_spoiler:1
#: of
msgid ""
"Pass :code:`True` if the animation needs to be covered with a spoiler "
"animation"
msgstr ""
#: ../../docstring #: ../../docstring
#: aiogram.methods.send_animation.SendAnimation.disable_notification:1 of #: aiogram.methods.send_animation.SendAnimation.disable_notification:1 of
msgid "" msgid ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -76,6 +76,11 @@ msgid ""
"<https://core.telegram.org/bots/api#sendvideonote>`_." "<https://core.telegram.org/bots/api#sendvideonote>`_."
msgstr "" msgstr ""
#: ../../docstring
#: aiogram.methods.send_chat_action.SendChatAction.message_thread_id:1 of
msgid "Unique identifier for the target message thread; supergroups only"
msgstr ""
#: ../../api/methods/send_chat_action.rst:14 #: ../../api/methods/send_chat_action.rst:14
msgid "Usage" msgid "Usage"
msgstr "" msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -77,6 +77,12 @@ msgid ""
"which can be specified instead of *parse_mode*" "which can be specified instead of *parse_mode*"
msgstr "" msgstr ""
#: ../../docstring aiogram.methods.send_photo.SendPhoto.has_spoiler:1 of
msgid ""
"Pass :code:`True` if the photo needs to be covered with a spoiler "
"animation"
msgstr ""
#: ../../docstring aiogram.methods.send_photo.SendPhoto.disable_notification:1 #: ../../docstring aiogram.methods.send_photo.SendPhoto.disable_notification:1
#: of #: of
msgid "" msgid ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -103,6 +103,12 @@ msgid ""
"which can be specified instead of *parse_mode*" "which can be specified instead of *parse_mode*"
msgstr "" msgstr ""
#: ../../docstring aiogram.methods.send_video.SendVideo.has_spoiler:1 of
msgid ""
"Pass :code:`True` if the video needs to be covered with a spoiler "
"animation"
msgstr ""
#: ../../docstring aiogram.methods.send_video.SendVideo.supports_streaming:1 of #: ../../docstring aiogram.methods.send_video.SendVideo.supports_streaming:1 of
msgid "Pass :code:`True` if the uploaded video is suitable for streaming" msgid "Pass :code:`True` if the uploaded video is suitable for streaming"
msgstr "" msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -162,6 +162,21 @@ msgid ""
":class:`aiogram.methods.get_chat.GetChat`." ":class:`aiogram.methods.get_chat.GetChat`."
msgstr "" msgstr ""
#: ../../docstring aiogram.types.chat.Chat.has_aggressive_anti_spam_enabled:1
#: of
msgid ""
"*Optional*. :code:`True`, if aggressive anti-spam checks are enabled in "
"the supergroup. The field is only available to chat administrators. "
"Returned only in :class:`aiogram.methods.get_chat.GetChat`."
msgstr ""
#: ../../docstring aiogram.types.chat.Chat.has_hidden_members:1 of
msgid ""
"*Optional*. :code:`True`, if non-administrators can only get the list of "
"bots and administrators in the chat. Returned only in "
":class:`aiogram.methods.get_chat.GetChat`."
msgstr ""
#: ../../docstring aiogram.types.chat.Chat.has_protected_content:1 of #: ../../docstring aiogram.types.chat.Chat.has_protected_content:1 of
msgid "" msgid ""
"*Optional*. :code:`True`, if messages from the chat can't be forwarded to" "*Optional*. :code:`True`, if messages from the chat can't be forwarded to"
@ -641,6 +656,10 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.types.chat.Chat.do:15 of #: aiogram.types.chat.Chat.do:15 of
msgid "Unique identifier for the target message thread; supergroups only"
msgstr ""
#: aiogram.types.chat.Chat.do:16 of
msgid "" msgid ""
"instance of method " "instance of method "
":class:`aiogram.methods.send_chat_action.SendChatAction`" ":class:`aiogram.methods.send_chat_action.SendChatAction`"
@ -713,8 +732,10 @@ msgstr ""
#: aiogram.types.chat.Chat.get_member:6 of #: aiogram.types.chat.Chat.get_member:6 of
msgid "" msgid ""
"Use this method to get information about a member of a chat. Returns a " "Use this method to get information about a member of a chat. The method "
":class:`aiogram.types.chat_member.ChatMember` object on success." "is guaranteed to work only if the bot is an administrator in the chat. "
"Returns a :class:`aiogram.types.chat_member.ChatMember` object on "
"success."
msgstr "" msgstr ""
#: aiogram.types.chat.Chat.get_member:8 of #: aiogram.types.chat.Chat.get_member:8 of
@ -1235,3 +1256,10 @@ msgstr ""
#: aiogram.types.chat.Chat.set_photo:11 of #: aiogram.types.chat.Chat.set_photo:11 of
msgid "instance of method :class:`aiogram.methods.set_chat_photo.SetChatPhoto`" msgid "instance of method :class:`aiogram.methods.set_chat_photo.SetChatPhoto`"
msgstr "" msgstr ""
#~ msgid ""
#~ "Use this method to get information "
#~ "about a member of a chat. Returns"
#~ " a :class:`aiogram.types.chat_member.ChatMember` object"
#~ " on success."
#~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -27,6 +27,10 @@ msgid ""
" from Telegram" " from Telegram"
msgstr "" msgstr ""
#: aiogram.types.error_event.ErrorEvent:3 of
msgid "Source: https://core.telegram.org/bots/api#error-event"
msgstr ""
#: ../../docstring aiogram.types.error_event.ErrorEvent.update:1 of #: ../../docstring aiogram.types.error_event.ErrorEvent.update:1 of
msgid "Received update" msgid "Received update"
msgstr "" msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -33,25 +33,29 @@ msgstr ""
msgid "Available types" msgid "Available types"
msgstr "" msgstr ""
#: ../../api/types/index.rst:130 #: ../../api/types/index.rst:134
msgid "Telegram Passport" msgid "Telegram Passport"
msgstr "" msgstr ""
#: ../../api/types/index.rst:151 #: ../../api/types/index.rst:155
msgid "Getting updates" msgid "Getting updates"
msgstr "" msgstr ""
#: ../../api/types/index.rst:160 #: ../../api/types/index.rst:164
msgid "Stickers" msgid "Stickers"
msgstr "" msgstr ""
#: ../../api/types/index.rst:170 #: ../../api/types/index.rst:174
msgid "Payments" msgid "Payments"
msgstr "" msgstr ""
#: ../../api/types/index.rst:185 #: ../../api/types/index.rst:189
msgid "Games" msgid "Games"
msgstr "" msgstr ""
#: ../../api/types/index.rst:199
msgid "Internals"
msgstr ""
#~ msgid "Internal events" #~ msgid "Internal events"
#~ msgstr "" #~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -97,3 +97,10 @@ msgstr ""
#: aiogram.types.input_media_animation.InputMediaAnimation.duration:1 of #: aiogram.types.input_media_animation.InputMediaAnimation.duration:1 of
msgid "*Optional*. Animation duration in seconds" msgid "*Optional*. Animation duration in seconds"
msgstr "" msgstr ""
#: ../../docstring
#: aiogram.types.input_media_animation.InputMediaAnimation.has_spoiler:1 of
msgid ""
"*Optional*. Pass :code:`True` if the animation needs to be covered with a"
" spoiler animation"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -62,3 +62,10 @@ msgid ""
"*Optional*. List of special entities that appear in the caption, which " "*Optional*. List of special entities that appear in the caption, which "
"can be specified instead of *parse_mode*" "can be specified instead of *parse_mode*"
msgstr "" msgstr ""
#: ../../docstring
#: aiogram.types.input_media_photo.InputMediaPhoto.has_spoiler:1 of
msgid ""
"*Optional*. Pass :code:`True` if the photo needs to be covered with a "
"spoiler animation"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -95,3 +95,10 @@ msgid ""
"*Optional*. Pass :code:`True` if the uploaded video is suitable for " "*Optional*. Pass :code:`True` if the uploaded video is suitable for "
"streaming" "streaming"
msgstr "" msgstr ""
#: ../../docstring
#: aiogram.types.input_media_video.InputMediaVideo.has_spoiler:1 of
msgid ""
"*Optional*. Pass :code:`True` if the video needs to be covered with a "
"spoiler animation"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -199,6 +199,12 @@ msgid ""
" URLs, bot commands, etc. that appear in the caption" " URLs, bot commands, etc. that appear in the caption"
msgstr "" msgstr ""
#: ../../docstring aiogram.types.message.Message.has_media_spoiler:1 of
msgid ""
"*Optional*. :code:`True`, if the message media is covered by a spoiler "
"animation"
msgstr ""
#: ../../docstring aiogram.types.message.Message.contact:1 of #: ../../docstring aiogram.types.message.Message.contact:1 of
msgid "*Optional*. Message is a shared contact, information about the contact" msgid "*Optional*. Message is a shared contact, information about the contact"
msgstr "" msgstr ""
@ -329,6 +335,12 @@ msgid ""
"<https://core.telegram.org/widgets/login>`_" "<https://core.telegram.org/widgets/login>`_"
msgstr "" msgstr ""
#: ../../docstring aiogram.types.message.Message.write_access_allowed:1 of
msgid ""
"*Optional*. Service message: the user allowed the bot added to the "
"attachment menu to write messages"
msgstr ""
#: ../../docstring aiogram.types.message.Message.passport_data:1 of #: ../../docstring aiogram.types.message.Message.passport_data:1 of
msgid "*Optional*. Telegram Passport data" msgid "*Optional*. Telegram Passport data"
msgstr "" msgstr ""
@ -343,6 +355,10 @@ msgstr ""
msgid "*Optional*. Service message: forum topic created" msgid "*Optional*. Service message: forum topic created"
msgstr "" msgstr ""
#: ../../docstring aiogram.types.message.Message.forum_topic_edited:1 of
msgid "*Optional*. Service message: forum topic edited"
msgstr ""
#: ../../docstring aiogram.types.message.Message.forum_topic_closed:1 of #: ../../docstring aiogram.types.message.Message.forum_topic_closed:1 of
msgid "*Optional*. Service message: forum topic closed" msgid "*Optional*. Service message: forum topic closed"
msgstr "" msgstr ""
@ -351,6 +367,16 @@ msgstr ""
msgid "*Optional*. Service message: forum topic reopened" msgid "*Optional*. Service message: forum topic reopened"
msgstr "" msgstr ""
#: ../../docstring aiogram.types.message.Message.general_forum_topic_hidden:1
#: of
msgid "*Optional*. Service message: the 'General' forum topic hidden"
msgstr ""
#: ../../docstring aiogram.types.message.Message.general_forum_topic_unhidden:1
#: of
msgid "*Optional*. Service message: the 'General' forum topic unhidden"
msgstr ""
#: ../../docstring aiogram.types.message.Message.video_chat_scheduled:1 of #: ../../docstring aiogram.types.message.Message.video_chat_scheduled:1 of
msgid "*Optional*. Service message: video chat scheduled" msgid "*Optional*. Service message: video chat scheduled"
msgstr "" msgstr ""
@ -627,8 +653,15 @@ msgid ""
"which can be specified instead of *parse_mode*" "which can be specified instead of *parse_mode*"
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer:15
#: aiogram.types.message.Message.answer_animation:19 #: aiogram.types.message.Message.answer_animation:19
#: aiogram.types.message.Message.reply_animation:20 of
msgid ""
"Pass :code:`True` if the animation needs to be covered with a spoiler "
"animation"
msgstr ""
#: aiogram.types.message.Message.answer:15
#: aiogram.types.message.Message.answer_animation:20
#: aiogram.types.message.Message.answer_audio:20 #: aiogram.types.message.Message.answer_audio:20
#: aiogram.types.message.Message.answer_contact:15 #: aiogram.types.message.Message.answer_contact:15
#: aiogram.types.message.Message.answer_dice:12 #: aiogram.types.message.Message.answer_dice:12
@ -636,17 +669,17 @@ msgstr ""
#: aiogram.types.message.Message.answer_game:12 #: aiogram.types.message.Message.answer_game:12
#: aiogram.types.message.Message.answer_invoice:32 #: aiogram.types.message.Message.answer_invoice:32
#: aiogram.types.message.Message.answer_location:17 #: aiogram.types.message.Message.answer_location:17
#: aiogram.types.message.Message.answer_photo:15 #: aiogram.types.message.Message.answer_photo:16
#: aiogram.types.message.Message.answer_poll:23 #: aiogram.types.message.Message.answer_poll:23
#: aiogram.types.message.Message.answer_sticker:12 #: aiogram.types.message.Message.answer_sticker:12
#: aiogram.types.message.Message.answer_venue:19 #: aiogram.types.message.Message.answer_venue:19
#: aiogram.types.message.Message.answer_video:20 #: aiogram.types.message.Message.answer_video:21
#: aiogram.types.message.Message.answer_video_note:15 #: aiogram.types.message.Message.answer_video_note:15
#: aiogram.types.message.Message.answer_voice:16 #: aiogram.types.message.Message.answer_voice:16
#: aiogram.types.message.Message.copy_to:16 #: aiogram.types.message.Message.copy_to:16
#: aiogram.types.message.Message.forward:13 #: aiogram.types.message.Message.forward:13
#: aiogram.types.message.Message.reply:16 #: aiogram.types.message.Message.reply:16
#: aiogram.types.message.Message.reply_animation:20 #: aiogram.types.message.Message.reply_animation:21
#: aiogram.types.message.Message.reply_audio:21 #: aiogram.types.message.Message.reply_audio:21
#: aiogram.types.message.Message.reply_contact:16 #: aiogram.types.message.Message.reply_contact:16
#: aiogram.types.message.Message.reply_dice:13 #: aiogram.types.message.Message.reply_dice:13
@ -654,11 +687,11 @@ msgstr ""
#: aiogram.types.message.Message.reply_game:13 #: aiogram.types.message.Message.reply_game:13
#: aiogram.types.message.Message.reply_invoice:33 #: aiogram.types.message.Message.reply_invoice:33
#: aiogram.types.message.Message.reply_location:18 #: aiogram.types.message.Message.reply_location:18
#: aiogram.types.message.Message.reply_photo:16 #: aiogram.types.message.Message.reply_photo:17
#: aiogram.types.message.Message.reply_poll:24 #: aiogram.types.message.Message.reply_poll:24
#: aiogram.types.message.Message.reply_sticker:13 #: aiogram.types.message.Message.reply_sticker:13
#: aiogram.types.message.Message.reply_venue:20 #: aiogram.types.message.Message.reply_venue:20
#: aiogram.types.message.Message.reply_video:21 #: aiogram.types.message.Message.reply_video:22
#: aiogram.types.message.Message.reply_video_note:16 #: aiogram.types.message.Message.reply_video_note:16
#: aiogram.types.message.Message.reply_voice:17 of #: aiogram.types.message.Message.reply_voice:17 of
msgid "" msgid ""
@ -667,41 +700,41 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer:16 #: aiogram.types.message.Message.answer:16
#: aiogram.types.message.Message.answer_animation:20 #: aiogram.types.message.Message.answer_animation:21
#: aiogram.types.message.Message.answer_audio:21 #: aiogram.types.message.Message.answer_audio:21
#: aiogram.types.message.Message.answer_contact:16 #: aiogram.types.message.Message.answer_contact:16
#: aiogram.types.message.Message.answer_document:18 #: aiogram.types.message.Message.answer_document:18
#: aiogram.types.message.Message.answer_game:13 #: aiogram.types.message.Message.answer_game:13
#: aiogram.types.message.Message.answer_invoice:33 #: aiogram.types.message.Message.answer_invoice:33
#: aiogram.types.message.Message.answer_location:18 #: aiogram.types.message.Message.answer_location:18
#: aiogram.types.message.Message.answer_photo:16 #: aiogram.types.message.Message.answer_photo:17
#: aiogram.types.message.Message.answer_poll:24 #: aiogram.types.message.Message.answer_poll:24
#: aiogram.types.message.Message.answer_sticker:13 #: aiogram.types.message.Message.answer_sticker:13
#: aiogram.types.message.Message.answer_venue:20 #: aiogram.types.message.Message.answer_venue:20
#: aiogram.types.message.Message.answer_video:21 #: aiogram.types.message.Message.answer_video:22
#: aiogram.types.message.Message.answer_video_note:16 #: aiogram.types.message.Message.answer_video_note:16
#: aiogram.types.message.Message.answer_voice:17 #: aiogram.types.message.Message.answer_voice:17
#: aiogram.types.message.Message.copy_to:17 #: aiogram.types.message.Message.copy_to:17
#: aiogram.types.message.Message.reply:17 #: aiogram.types.message.Message.reply:17
#: aiogram.types.message.Message.reply_animation:21 #: aiogram.types.message.Message.reply_animation:22
#: aiogram.types.message.Message.reply_audio:22 #: aiogram.types.message.Message.reply_audio:22
#: aiogram.types.message.Message.reply_contact:17 #: aiogram.types.message.Message.reply_contact:17
#: aiogram.types.message.Message.reply_document:19 #: aiogram.types.message.Message.reply_document:19
#: aiogram.types.message.Message.reply_game:14 #: aiogram.types.message.Message.reply_game:14
#: aiogram.types.message.Message.reply_invoice:34 #: aiogram.types.message.Message.reply_invoice:34
#: aiogram.types.message.Message.reply_location:19 #: aiogram.types.message.Message.reply_location:19
#: aiogram.types.message.Message.reply_photo:17 #: aiogram.types.message.Message.reply_photo:18
#: aiogram.types.message.Message.reply_poll:25 #: aiogram.types.message.Message.reply_poll:25
#: aiogram.types.message.Message.reply_sticker:14 #: aiogram.types.message.Message.reply_sticker:14
#: aiogram.types.message.Message.reply_venue:21 #: aiogram.types.message.Message.reply_venue:21
#: aiogram.types.message.Message.reply_video:22 #: aiogram.types.message.Message.reply_video:23
#: aiogram.types.message.Message.reply_video_note:17 #: aiogram.types.message.Message.reply_video_note:17
#: aiogram.types.message.Message.reply_voice:18 of #: aiogram.types.message.Message.reply_voice:18 of
msgid "Protects the contents of the sent message from forwarding and saving" msgid "Protects the contents of the sent message from forwarding and saving"
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer:18 #: aiogram.types.message.Message.answer:18
#: aiogram.types.message.Message.answer_animation:22 #: aiogram.types.message.Message.answer_animation:23
#: aiogram.types.message.Message.answer_audio:23 #: aiogram.types.message.Message.answer_audio:23
#: aiogram.types.message.Message.answer_contact:18 #: aiogram.types.message.Message.answer_contact:18
#: aiogram.types.message.Message.answer_dice:15 #: aiogram.types.message.Message.answer_dice:15
@ -710,16 +743,16 @@ msgstr ""
#: aiogram.types.message.Message.answer_invoice:35 #: aiogram.types.message.Message.answer_invoice:35
#: aiogram.types.message.Message.answer_location:20 #: aiogram.types.message.Message.answer_location:20
#: aiogram.types.message.Message.answer_media_group:15 #: aiogram.types.message.Message.answer_media_group:15
#: aiogram.types.message.Message.answer_photo:18 #: aiogram.types.message.Message.answer_photo:19
#: aiogram.types.message.Message.answer_poll:26 #: aiogram.types.message.Message.answer_poll:26
#: aiogram.types.message.Message.answer_sticker:15 #: aiogram.types.message.Message.answer_sticker:15
#: aiogram.types.message.Message.answer_venue:22 #: aiogram.types.message.Message.answer_venue:22
#: aiogram.types.message.Message.answer_video:23 #: aiogram.types.message.Message.answer_video:24
#: aiogram.types.message.Message.answer_video_note:18 #: aiogram.types.message.Message.answer_video_note:18
#: aiogram.types.message.Message.answer_voice:19 #: aiogram.types.message.Message.answer_voice:19
#: aiogram.types.message.Message.copy_to:19 #: aiogram.types.message.Message.copy_to:19
#: aiogram.types.message.Message.reply:18 #: aiogram.types.message.Message.reply:18
#: aiogram.types.message.Message.reply_animation:22 #: aiogram.types.message.Message.reply_animation:23
#: aiogram.types.message.Message.reply_audio:23 #: aiogram.types.message.Message.reply_audio:23
#: aiogram.types.message.Message.reply_contact:18 #: aiogram.types.message.Message.reply_contact:18
#: aiogram.types.message.Message.reply_dice:15 #: aiogram.types.message.Message.reply_dice:15
@ -728,11 +761,11 @@ msgstr ""
#: aiogram.types.message.Message.reply_invoice:35 #: aiogram.types.message.Message.reply_invoice:35
#: aiogram.types.message.Message.reply_location:20 #: aiogram.types.message.Message.reply_location:20
#: aiogram.types.message.Message.reply_media_group:15 #: aiogram.types.message.Message.reply_media_group:15
#: aiogram.types.message.Message.reply_photo:18 #: aiogram.types.message.Message.reply_photo:19
#: aiogram.types.message.Message.reply_poll:26 #: aiogram.types.message.Message.reply_poll:26
#: aiogram.types.message.Message.reply_sticker:15 #: aiogram.types.message.Message.reply_sticker:15
#: aiogram.types.message.Message.reply_venue:22 #: aiogram.types.message.Message.reply_venue:22
#: aiogram.types.message.Message.reply_video:23 #: aiogram.types.message.Message.reply_video:24
#: aiogram.types.message.Message.reply_video_note:18 #: aiogram.types.message.Message.reply_video_note:18
#: aiogram.types.message.Message.reply_voice:19 of #: aiogram.types.message.Message.reply_voice:19 of
msgid "" msgid ""
@ -741,32 +774,32 @@ msgid ""
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer:19 #: aiogram.types.message.Message.answer:19
#: aiogram.types.message.Message.answer_animation:23 #: aiogram.types.message.Message.answer_animation:24
#: aiogram.types.message.Message.answer_audio:24 #: aiogram.types.message.Message.answer_audio:24
#: aiogram.types.message.Message.answer_contact:19 #: aiogram.types.message.Message.answer_contact:19
#: aiogram.types.message.Message.answer_dice:16 #: aiogram.types.message.Message.answer_dice:16
#: aiogram.types.message.Message.answer_document:21 #: aiogram.types.message.Message.answer_document:21
#: aiogram.types.message.Message.answer_location:21 #: aiogram.types.message.Message.answer_location:21
#: aiogram.types.message.Message.answer_photo:19 #: aiogram.types.message.Message.answer_photo:20
#: aiogram.types.message.Message.answer_poll:27 #: aiogram.types.message.Message.answer_poll:27
#: aiogram.types.message.Message.answer_sticker:16 #: aiogram.types.message.Message.answer_sticker:16
#: aiogram.types.message.Message.answer_venue:23 #: aiogram.types.message.Message.answer_venue:23
#: aiogram.types.message.Message.answer_video:24 #: aiogram.types.message.Message.answer_video:25
#: aiogram.types.message.Message.answer_video_note:19 #: aiogram.types.message.Message.answer_video_note:19
#: aiogram.types.message.Message.answer_voice:20 #: aiogram.types.message.Message.answer_voice:20
#: aiogram.types.message.Message.copy_to:20 #: aiogram.types.message.Message.copy_to:20
#: aiogram.types.message.Message.reply:19 #: aiogram.types.message.Message.reply:19
#: aiogram.types.message.Message.reply_animation:23 #: aiogram.types.message.Message.reply_animation:24
#: aiogram.types.message.Message.reply_audio:24 #: aiogram.types.message.Message.reply_audio:24
#: aiogram.types.message.Message.reply_contact:19 #: aiogram.types.message.Message.reply_contact:19
#: aiogram.types.message.Message.reply_dice:16 #: aiogram.types.message.Message.reply_dice:16
#: aiogram.types.message.Message.reply_document:21 #: aiogram.types.message.Message.reply_document:21
#: aiogram.types.message.Message.reply_location:21 #: aiogram.types.message.Message.reply_location:21
#: aiogram.types.message.Message.reply_photo:19 #: aiogram.types.message.Message.reply_photo:20
#: aiogram.types.message.Message.reply_poll:27 #: aiogram.types.message.Message.reply_poll:27
#: aiogram.types.message.Message.reply_sticker:16 #: aiogram.types.message.Message.reply_sticker:16
#: aiogram.types.message.Message.reply_venue:23 #: aiogram.types.message.Message.reply_venue:23
#: aiogram.types.message.Message.reply_video:24 #: aiogram.types.message.Message.reply_video:25
#: aiogram.types.message.Message.reply_video_note:19 #: aiogram.types.message.Message.reply_video_note:19
#: aiogram.types.message.Message.reply_voice:20 of #: aiogram.types.message.Message.reply_voice:20 of
msgid "" msgid ""
@ -824,13 +857,13 @@ msgstr ""
msgid "Returns" msgid "Returns"
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer_animation:24 #: aiogram.types.message.Message.answer_animation:25
#: aiogram.types.message.Message.reply_animation:24 of #: aiogram.types.message.Message.reply_animation:25 of
msgid "instance of method :class:`aiogram.methods.send_animation.SendAnimation`" msgid "instance of method :class:`aiogram.methods.send_animation.SendAnimation`"
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer:17 #: aiogram.types.message.Message.answer:17
#: aiogram.types.message.Message.answer_animation:21 #: aiogram.types.message.Message.answer_animation:22
#: aiogram.types.message.Message.answer_audio:22 #: aiogram.types.message.Message.answer_audio:22
#: aiogram.types.message.Message.answer_contact:17 #: aiogram.types.message.Message.answer_contact:17
#: aiogram.types.message.Message.answer_dice:14 #: aiogram.types.message.Message.answer_dice:14
@ -838,11 +871,11 @@ msgstr ""
#: aiogram.types.message.Message.answer_game:14 #: aiogram.types.message.Message.answer_game:14
#: aiogram.types.message.Message.answer_invoice:34 #: aiogram.types.message.Message.answer_invoice:34
#: aiogram.types.message.Message.answer_location:19 #: aiogram.types.message.Message.answer_location:19
#: aiogram.types.message.Message.answer_photo:17 #: aiogram.types.message.Message.answer_photo:18
#: aiogram.types.message.Message.answer_poll:25 #: aiogram.types.message.Message.answer_poll:25
#: aiogram.types.message.Message.answer_sticker:14 #: aiogram.types.message.Message.answer_sticker:14
#: aiogram.types.message.Message.answer_venue:21 #: aiogram.types.message.Message.answer_venue:21
#: aiogram.types.message.Message.answer_video:22 #: aiogram.types.message.Message.answer_video:23
#: aiogram.types.message.Message.answer_video_note:17 #: aiogram.types.message.Message.answer_video_note:17
#: aiogram.types.message.Message.answer_voice:18 #: aiogram.types.message.Message.answer_voice:18
#: aiogram.types.message.Message.copy_to:18 of #: aiogram.types.message.Message.copy_to:18 of
@ -1450,8 +1483,15 @@ msgid ""
"details." "details."
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer_photo:20 #: aiogram.types.message.Message.answer_photo:15
#: aiogram.types.message.Message.reply_photo:20 of #: aiogram.types.message.Message.reply_photo:16 of
msgid ""
"Pass :code:`True` if the photo needs to be covered with a spoiler "
"animation"
msgstr ""
#: aiogram.types.message.Message.answer_photo:21
#: aiogram.types.message.Message.reply_photo:21 of
msgid "instance of method :class:`aiogram.methods.send_photo.SendPhoto`" msgid "instance of method :class:`aiogram.methods.send_photo.SendPhoto`"
msgstr "" msgstr ""
@ -1772,11 +1812,18 @@ msgstr ""
#: aiogram.types.message.Message.answer_video:19 #: aiogram.types.message.Message.answer_video:19
#: aiogram.types.message.Message.reply_video:20 of #: aiogram.types.message.Message.reply_video:20 of
msgid ""
"Pass :code:`True` if the video needs to be covered with a spoiler "
"animation"
msgstr ""
#: aiogram.types.message.Message.answer_video:20
#: aiogram.types.message.Message.reply_video:21 of
msgid "Pass :code:`True` if the uploaded video is suitable for streaming" msgid "Pass :code:`True` if the uploaded video is suitable for streaming"
msgstr "" msgstr ""
#: aiogram.types.message.Message.answer_video:25 #: aiogram.types.message.Message.answer_video:26
#: aiogram.types.message.Message.reply_video:25 of #: aiogram.types.message.Message.reply_video:26 of
msgid "instance of method :class:`aiogram.methods.send_video.SendVideo`" msgid "instance of method :class:`aiogram.methods.send_video.SendVideo`"
msgstr "" msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -41,6 +41,14 @@ msgid ""
":class:`aiogram.types.keyboard_button.KeyboardButton` objects" ":class:`aiogram.types.keyboard_button.KeyboardButton` objects"
msgstr "" msgstr ""
#: ../../docstring
#: aiogram.types.reply_keyboard_markup.ReplyKeyboardMarkup.is_persistent:1 of
msgid ""
"*Optional*. Requests clients to always show the keyboard when the regular"
" keyboard is hidden. Defaults to *false*, in which case the custom "
"keyboard can be hidden and opened with a keyboard icon."
msgstr ""
#: ../../docstring #: ../../docstring
#: aiogram.types.reply_keyboard_markup.ReplyKeyboardMarkup.resize_keyboard:1 of #: aiogram.types.reply_keyboard_markup.ReplyKeyboardMarkup.resize_keyboard:1 of
msgid "" msgid ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -22,7 +22,7 @@ msgid "Changelog"
msgstr "" msgstr ""
#: ../../[towncrier-fragments]:2 #: ../../[towncrier-fragments]:2
msgid "\\ |release| [UNRELEASED DRAFT] (2022-11-23)" msgid "\\ |release| [UNRELEASED DRAFT] (2022-12-30)"
msgstr "" msgstr ""
#: ../../../CHANGES.rst:23 ../../../CHANGES.rst:83 ../../../CHANGES.rst:134 #: ../../../CHANGES.rst:23 ../../../CHANGES.rst:83 ../../../CHANGES.rst:134
@ -33,20 +33,108 @@ msgid "Features"
msgstr "" msgstr ""
#: ../../[towncrier-fragments]:7 #: ../../[towncrier-fragments]:7
msgid "Added missing shortcuts, new enums, reworked old stuff"
msgstr ""
#: ../../[towncrier-fragments]:9
msgid "" msgid ""
"Added missing shortcuts, new enums, reworked old stuff `#952 " "**Breaking** All previously added enums is re-generated in new place - "
"<https://github.com/aiogram/aiogram/issues/952>`_" "`aiogram.enums` instead of `aiogram.types`"
msgstr ""
#: ../../[towncrier-fragments]:27
msgid ""
"**Added enums:** "
":class:`aiogram.enums.bot_command_scope_type.BotCommandScopeType`,"
msgstr ""
#: ../../[towncrier-fragments]:13
msgid ""
":class:`aiogram.enums.chat_action.ChatActions`, "
":class:`aiogram.enums.chat_member_status.ChatMemberStatus`, "
":class:`aiogram.enums.chat_type.ChatType`, "
":class:`aiogram.enums.content_type.ContentType`, "
":class:`aiogram.enums.dice_emoji.DiceEmoji`, "
":class:`aiogram.enums.inline_query_result_type.InlineQueryResultType`, "
":class:`aiogram.enums.input_media_type.InputMediaType`, "
":class:`aiogram.enums.mask_position_point.MaskPositionPoint`, "
":class:`aiogram.enums.menu_button_type.MenuButtonType`, "
":class:`aiogram.enums.message_entity_type.MessageEntityType`, "
":class:`aiogram.enums.parse_mode.ParseMode`, "
":class:`aiogram.enums.poll_type.PollType`, "
":class:`aiogram.enums.sticker_type.StickerType`, "
":class:`aiogram.enums.topic_icon_color.TopicIconColor`, "
":class:`aiogram.enums.update_type.UpdateType`,"
msgstr ""
#: ../../[towncrier-fragments]:29
msgid "**Added shortcuts**:"
msgstr ""
#: ../../[towncrier-fragments]:54
msgid "*Chat* :meth:`aiogram.types.chat.Chat.get_administrators`,"
msgstr ""
#: ../../[towncrier-fragments]:32
msgid ""
":meth:`aiogram.types.chat.Chat.delete_message`, "
":meth:`aiogram.types.chat.Chat.revoke_invite_link`, "
":meth:`aiogram.types.chat.Chat.edit_invite_link`, "
":meth:`aiogram.types.chat.Chat.create_invite_link`, "
":meth:`aiogram.types.chat.Chat.export_invite_link`, "
":meth:`aiogram.types.chat.Chat.do`, "
":meth:`aiogram.types.chat.Chat.delete_sticker_set`, "
":meth:`aiogram.types.chat.Chat.set_sticker_set`, "
":meth:`aiogram.types.chat.Chat.get_member`, "
":meth:`aiogram.types.chat.Chat.get_member_count`, "
":meth:`aiogram.types.chat.Chat.leave`, "
":meth:`aiogram.types.chat.Chat.unpin_all_messages`, "
":meth:`aiogram.types.chat.Chat.unpin_message`, "
":meth:`aiogram.types.chat.Chat.pin_message`, "
":meth:`aiogram.types.chat.Chat.set_administrator_custom_title`, "
":meth:`aiogram.types.chat.Chat.set_permissions`, "
":meth:`aiogram.types.chat.Chat.promote`, "
":meth:`aiogram.types.chat.Chat.restrict`, "
":meth:`aiogram.types.chat.Chat.unban`, "
":meth:`aiogram.types.chat.Chat.ban`, "
":meth:`aiogram.types.chat.Chat.set_description`, "
":meth:`aiogram.types.chat.Chat.set_title`, "
":meth:`aiogram.types.chat.Chat.delete_photo`, "
":meth:`aiogram.types.chat.Chat.set_photo`,"
msgstr ""
#: ../../[towncrier-fragments]:56
msgid "*Sticker*: :meth:`aiogram.types.sticker.Sticker.set_position_in_set`,"
msgstr ""
#: ../../[towncrier-fragments]:57
msgid ":meth:`aiogram.types.sticker.Sticker.delete_from_set`,"
msgstr ""
#: ../../[towncrier-fragments]:58
msgid "*User*: :meth:`aiogram.types.user.User.get_profile_photos`"
msgstr ""
#: ../../[towncrier-fragments]:59
msgid "`#952 <https://github.com/aiogram/aiogram/issues/952>`_"
msgstr ""
#: ../../[towncrier-fragments]:60
msgid ""
"Added full support of `Bot API 6.4 <https://core.telegram.org/bots/api-"
"changelog#december-30-2022>`_ `#1088 "
"<https://github.com/aiogram/aiogram/issues/1088>`_"
msgstr "" msgstr ""
#: ../../../CHANGES.rst:71 ../../../CHANGES.rst:124 ../../../CHANGES.rst:175 #: ../../../CHANGES.rst:71 ../../../CHANGES.rst:124 ../../../CHANGES.rst:175
#: ../../../CHANGES.rst:229 ../../../CHANGES.rst:271 ../../../CHANGES.rst:317 #: ../../../CHANGES.rst:229 ../../../CHANGES.rst:271 ../../../CHANGES.rst:317
#: ../../../CHANGES.rst:377 ../../../CHANGES.rst:398 ../../../CHANGES.rst:421 #: ../../../CHANGES.rst:377 ../../../CHANGES.rst:398 ../../../CHANGES.rst:421
#: ../../../CHANGES.rst:458 ../../../CHANGES.rst:497 #: ../../../CHANGES.rst:458 ../../../CHANGES.rst:497
#: ../../[towncrier-fragments]:12 #: ../../[towncrier-fragments]:65
msgid "Misc" msgid "Misc"
msgstr "" msgstr ""
#: ../../[towncrier-fragments]:14 #: ../../[towncrier-fragments]:67
msgid "" msgid ""
"Added integration with new code-generator named `Butcher " "Added integration with new code-generator named `Butcher "
"<https://github.com/aiogram/butcher>`_ `#1069 " "<https://github.com/aiogram/butcher>`_ `#1069 "
@ -2405,3 +2493,12 @@ msgstr ""
#~ ":code:`ChatMemberStatus.yml` was renamed to " #~ ":code:`ChatMemberStatus.yml` was renamed to "
#~ ":code:`is_chat_member` and :code:`is_chat_admin`" #~ ":code:`is_chat_member` and :code:`is_chat_admin`"
#~ msgstr "" #~ msgstr ""
#~ msgid "\\ |release| [UNRELEASED DRAFT] (2022-11-23)"
#~ msgstr ""
#~ msgid ""
#~ "Added missing shortcuts, new enums, "
#~ "reworked old stuff `#952 "
#~ "<https://github.com/aiogram/aiogram/issues/952>`_"
#~ msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: aiogram \n" "Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-03 01:03+0300\n" "POT-Creation-Date: 2022-12-30 22:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -131,8 +131,9 @@ msgid "Supports `PyPy <https://www.pypy.org/>`_"
msgstr "Працює з `PyPy <https://www.pypy.org/>`_" msgstr "Працює з `PyPy <https://www.pypy.org/>`_"
#: ../../../README.rst:70 #: ../../../README.rst:70
#, fuzzy
msgid "" msgid ""
"Supports `Telegram Bot API 6.3 <https://core.telegram.org/bots/api>`_ and" "Supports `Telegram Bot API 6.4 <https://core.telegram.org/bots/api>`_ and"
" gets fast updates to the latest versions of the Bot API" " gets fast updates to the latest versions of the Bot API"
msgstr "" msgstr ""
"Підтримує `Telegram Bot API 6.3 <https://core.telegram.org/bots/api>`_ та" "Підтримує `Telegram Bot API 6.3 <https://core.telegram.org/bots/api>`_ та"

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