Bot API 6.6 (#1139)

* Added basic support of Bot API 6.6

* Update descriptions

* Added StickerFormat enum

* Bump version

* Refresh from docs

* Fixed CommandStart

* Fixed files uploading

* Cover new functionality

* Added changelog

* Update texts
This commit is contained in:
Alex Root Junior 2023-03-11 02:17:47 +02:00 committed by GitHub
parent 5adaf7a567
commit 6570d0bab1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
218 changed files with 7687 additions and 1741 deletions

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/add_sticker_to_set.rst:3
msgid "addStickerToSet"
@ -27,12 +27,11 @@ msgstr ""
#: aiogram.methods.add_sticker_to_set.AddStickerToSet:1 of
msgid ""
"Use this method to add a new sticker to a set created by the bot. You "
"**must** use exactly one of the fields *png_sticker*, *tgs_sticker*, or "
"*webm_sticker*. Animated stickers can be added to animated sticker sets "
"and only to them. Animated sticker sets can have up to 50 stickers. "
"Static sticker sets can have up to 120 stickers. Returns :code:`True` on "
"success."
"Use this method to add a new sticker to a set created by the bot. The "
"format of the added sticker must match the format of the other stickers "
"in the set. Emoji sticker sets can have up to 200 stickers. Animated and "
"video sticker sets can have up to 50 stickers. Static sticker sets can "
"have up to 120 stickers. Returns :code:`True` on success."
msgstr ""
#: aiogram.methods.add_sticker_to_set.AddStickerToSet:3 of
@ -48,49 +47,12 @@ msgstr ""
msgid "Sticker set name"
msgstr ""
#: ../../docstring aiogram.methods.add_sticker_to_set.AddStickerToSet.emojis:1
#: ../../docstring aiogram.methods.add_sticker_to_set.AddStickerToSet.sticker:1
#: of
msgid "One or more emoji corresponding to the sticker"
msgstr ""
#: ../../docstring
#: aiogram.methods.add_sticker_to_set.AddStickerToSet.png_sticker:1 of
msgid ""
"**PNG** image with the sticker, must be up to 512 kilobytes in size, "
"dimensions must not exceed 512px, and either width or height must be "
"exactly 512px. Pass a *file_id* as a String to send a file that already "
"exists on the Telegram servers, pass an HTTP URL as a String for Telegram"
" to get a file from the Internet, or upload a new one using multipart"
"/form-data. :ref:`More information on Sending Files » <sending-files>`"
msgstr ""
#: ../../docstring
#: aiogram.methods.add_sticker_to_set.AddStickerToSet.tgs_sticker:1 of
msgid ""
"**TGS** animation with the sticker, uploaded using multipart/form-data. "
"See `https://core.telegram.org/stickers#animated-sticker-requirements "
"<https://core.telegram.org/stickers#animated-sticker-"
"requirements>`_`https://core.telegram.org/stickers#animated-sticker-"
"requirements <https://core.telegram.org/stickers#animated-sticker-"
"requirements>`_ for technical requirements"
msgstr ""
#: ../../docstring
#: aiogram.methods.add_sticker_to_set.AddStickerToSet.webm_sticker:1 of
msgid ""
"**WEBM** video with the sticker, uploaded using multipart/form-data. See "
"`https://core.telegram.org/stickers#video-sticker-requirements "
"<https://core.telegram.org/stickers#video-sticker-"
"requirements>`_`https://core.telegram.org/stickers#video-sticker-"
"requirements <https://core.telegram.org/stickers#video-sticker-"
"requirements>`_ for technical requirements"
msgstr ""
#: ../../docstring
#: aiogram.methods.add_sticker_to_set.AddStickerToSet.mask_position:1 of
msgid ""
"A JSON-serialized object for position where the mask should be placed on "
"faces"
"A JSON-serialized object with information about the added sticker. If "
"exactly the same sticker had already been added to the set, then the set "
"isn't changed."
msgstr ""
#: ../../api/methods/add_sticker_to_set.rst:14
@ -124,3 +86,64 @@ msgstr ""
#: ../../api/methods/add_sticker_to_set.rst:40
msgid "As reply into Webhook in handler"
msgstr ""
#~ msgid ""
#~ "Use this method to add a new "
#~ "sticker to a set created by the"
#~ " bot. You **must** use exactly one"
#~ " of the fields *png_sticker*, "
#~ "*tgs_sticker*, or *webm_sticker*. Animated "
#~ "stickers can be added to animated "
#~ "sticker sets and only to them. "
#~ "Animated sticker sets can have up "
#~ "to 50 stickers. Static sticker sets "
#~ "can have up to 120 stickers. "
#~ "Returns :code:`True` on success."
#~ msgstr ""
#~ msgid "One or more emoji corresponding to the sticker"
#~ msgstr ""
#~ msgid ""
#~ "**PNG** image with the sticker, must "
#~ "be up to 512 kilobytes in size,"
#~ " dimensions must not exceed 512px, "
#~ "and either width or height must be"
#~ " exactly 512px. Pass a *file_id* as"
#~ " a String to send a file that"
#~ " already exists on the Telegram "
#~ "servers, pass an HTTP URL as a "
#~ "String for Telegram to get a file"
#~ " from the Internet, or upload a "
#~ "new one using multipart/form-data. "
#~ ":ref:`More information on Sending Files "
#~ "» <sending-files>`"
#~ msgstr ""
#~ msgid ""
#~ "**TGS** animation with the sticker, "
#~ "uploaded using multipart/form-data. See "
#~ "`https://core.telegram.org/stickers#animated-sticker-"
#~ "requirements <https://core.telegram.org/stickers#animated-"
#~ "sticker-requirements>`_`https://core.telegram.org/stickers"
#~ "#animated-sticker-requirements "
#~ "<https://core.telegram.org/stickers#animated-sticker-"
#~ "requirements>`_ for technical requirements"
#~ msgstr ""
#~ msgid ""
#~ "**WEBM** video with the sticker, "
#~ "uploaded using multipart/form-data. See "
#~ "`https://core.telegram.org/stickers#video-sticker-"
#~ "requirements <https://core.telegram.org/stickers#video-"
#~ "sticker-requirements>`_`https://core.telegram.org/stickers"
#~ "#video-sticker-requirements "
#~ "<https://core.telegram.org/stickers#video-sticker-"
#~ "requirements>`_ for technical requirements"
#~ msgstr ""
#~ msgid ""
#~ "A JSON-serialized object for position"
#~ " where the mask should be placed "
#~ "on faces"
#~ msgstr ""

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/create_new_sticker_set.rst:3
msgid "createNewStickerSet"
@ -28,9 +28,8 @@ msgstr ""
#: aiogram.methods.create_new_sticker_set.CreateNewStickerSet:1 of
msgid ""
"Use this method to create a new sticker set owned by a user. The bot will"
" be able to edit the sticker set thus created. You **must** use exactly "
"one of the fields *png_sticker*, *tgs_sticker*, or *webm_sticker*. "
"Returns :code:`True` on success."
" be able to edit the sticker set thus created. Returns :code:`True` on "
"success."
msgstr ""
#: aiogram.methods.create_new_sticker_set.CreateNewStickerSet:3 of
@ -58,57 +57,35 @@ msgid "Sticker set title, 1-64 characters"
msgstr ""
#: ../../docstring
#: aiogram.methods.create_new_sticker_set.CreateNewStickerSet.emojis:1 of
msgid "One or more emoji corresponding to the sticker"
#: aiogram.methods.create_new_sticker_set.CreateNewStickerSet.stickers:1 of
msgid ""
"A JSON-serialized list of 1-50 initial stickers to be added to the "
"sticker set"
msgstr ""
#: ../../docstring
#: aiogram.methods.create_new_sticker_set.CreateNewStickerSet.png_sticker:1 of
#: aiogram.methods.create_new_sticker_set.CreateNewStickerSet.sticker_format:1
#: of
msgid ""
"**PNG** image with the sticker, must be up to 512 kilobytes in size, "
"dimensions must not exceed 512px, and either width or height must be "
"exactly 512px. Pass a *file_id* as a String to send a file that already "
"exists on the Telegram servers, pass an HTTP URL as a String for Telegram"
" to get a file from the Internet, or upload a new one using multipart"
"/form-data. :ref:`More information on Sending Files » <sending-files>`"
msgstr ""
#: ../../docstring
#: aiogram.methods.create_new_sticker_set.CreateNewStickerSet.tgs_sticker:1 of
msgid ""
"**TGS** animation with the sticker, uploaded using multipart/form-data. "
"See `https://core.telegram.org/stickers#animated-sticker-requirements "
"<https://core.telegram.org/stickers#animated-sticker-"
"requirements>`_`https://core.telegram.org/stickers#animated-sticker-"
"requirements <https://core.telegram.org/stickers#animated-sticker-"
"requirements>`_ for technical requirements"
msgstr ""
#: ../../docstring
#: aiogram.methods.create_new_sticker_set.CreateNewStickerSet.webm_sticker:1 of
msgid ""
"**WEBM** video with the sticker, uploaded using multipart/form-data. See "
"`https://core.telegram.org/stickers#video-sticker-requirements "
"<https://core.telegram.org/stickers#video-sticker-"
"requirements>`_`https://core.telegram.org/stickers#video-sticker-"
"requirements <https://core.telegram.org/stickers#video-sticker-"
"requirements>`_ for technical requirements"
"Format of stickers in the set, must be one of 'static', 'animated', "
"'video'"
msgstr ""
#: ../../docstring
#: aiogram.methods.create_new_sticker_set.CreateNewStickerSet.sticker_type:1 of
msgid ""
"Type of stickers in the set, pass 'regular' or 'mask'. Custom emoji "
"sticker sets can't be created via the Bot API at the moment. By default, "
"a regular sticker set is created."
"Type of stickers in the set, pass 'regular', 'mask', or 'custom_emoji'. "
"By default, a regular sticker set is created."
msgstr ""
#: ../../docstring
#: aiogram.methods.create_new_sticker_set.CreateNewStickerSet.mask_position:1
#: aiogram.methods.create_new_sticker_set.CreateNewStickerSet.needs_repainting:1
#: of
msgid ""
"A JSON-serialized object for position where the mask should be placed on "
"faces"
"Pass :code:`True` if stickers in the sticker set must be repainted to the"
" color of text when used in messages, the accent color if used as emoji "
"status, white on chat photos, or another appropriate color based on "
"context; for custom emoji sticker sets only"
msgstr ""
#: ../../api/methods/create_new_sticker_set.rst:14
@ -144,3 +121,70 @@ msgstr ""
#: ../../api/methods/create_new_sticker_set.rst:40
msgid "As reply into Webhook in handler"
msgstr ""
#~ msgid ""
#~ "Use this method to create a new"
#~ " sticker set owned by a user. "
#~ "The bot will be able to edit "
#~ "the sticker set thus created. You "
#~ "**must** use exactly one of the "
#~ "fields *png_sticker*, *tgs_sticker*, or "
#~ "*webm_sticker*. Returns :code:`True` on "
#~ "success."
#~ msgstr ""
#~ msgid "One or more emoji corresponding to the sticker"
#~ msgstr ""
#~ msgid ""
#~ "**PNG** image with the sticker, must "
#~ "be up to 512 kilobytes in size,"
#~ " dimensions must not exceed 512px, "
#~ "and either width or height must be"
#~ " exactly 512px. Pass a *file_id* as"
#~ " a String to send a file that"
#~ " already exists on the Telegram "
#~ "servers, pass an HTTP URL as a "
#~ "String for Telegram to get a file"
#~ " from the Internet, or upload a "
#~ "new one using multipart/form-data. "
#~ ":ref:`More information on Sending Files "
#~ "» <sending-files>`"
#~ msgstr ""
#~ msgid ""
#~ "**TGS** animation with the sticker, "
#~ "uploaded using multipart/form-data. See "
#~ "`https://core.telegram.org/stickers#animated-sticker-"
#~ "requirements <https://core.telegram.org/stickers#animated-"
#~ "sticker-requirements>`_`https://core.telegram.org/stickers"
#~ "#animated-sticker-requirements "
#~ "<https://core.telegram.org/stickers#animated-sticker-"
#~ "requirements>`_ for technical requirements"
#~ msgstr ""
#~ msgid ""
#~ "**WEBM** video with the sticker, "
#~ "uploaded using multipart/form-data. See "
#~ "`https://core.telegram.org/stickers#video-sticker-"
#~ "requirements <https://core.telegram.org/stickers#video-"
#~ "sticker-requirements>`_`https://core.telegram.org/stickers"
#~ "#video-sticker-requirements "
#~ "<https://core.telegram.org/stickers#video-sticker-"
#~ "requirements>`_ for technical requirements"
#~ msgstr ""
#~ msgid ""
#~ "Type of stickers in the set, pass"
#~ " 'regular' or 'mask'. Custom emoji "
#~ "sticker sets can't be created via "
#~ "the Bot API at the moment. By "
#~ "default, a regular sticker set is "
#~ "created."
#~ msgstr ""
#~ msgid ""
#~ "A JSON-serialized object for position"
#~ " where the mask should be placed "
#~ "on faces"
#~ msgstr ""

View file

@ -0,0 +1,73 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/delete_sticker_set.rst:3
msgid "deleteStickerSet"
msgstr ""
#: ../../api/methods/delete_sticker_set.rst:5
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.delete_sticker_set.DeleteStickerSet:1 of
msgid ""
"Use this method to delete a sticker set that was created by the bot. "
"Returns :code:`True` on success."
msgstr ""
#: aiogram.methods.delete_sticker_set.DeleteStickerSet:3 of
msgid "Source: https://core.telegram.org/bots/api#deletestickerset"
msgstr ""
#: ../../docstring aiogram.methods.delete_sticker_set.DeleteStickerSet.name:1
#: of
msgid "Sticker set name"
msgstr ""
#: ../../api/methods/delete_sticker_set.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/delete_sticker_set.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/delete_sticker_set.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/delete_sticker_set.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/delete_sticker_set.rst:29
msgid ":code:`from aiogram.methods.delete_sticker_set import DeleteStickerSet`"
msgstr ""
#: ../../api/methods/delete_sticker_set.rst:30
msgid "alias: :code:`from aiogram.methods import DeleteStickerSet`"
msgstr ""
#: ../../api/methods/delete_sticker_set.rst:33
msgid "With specific bot"
msgstr ""
#: ../../api/methods/delete_sticker_set.rst:40
msgid "As reply into Webhook in handler"
msgstr ""

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-01-07 23:01+0200\n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/get_chat_member.rst:3
msgid "getChatMember"
@ -31,9 +31,9 @@ msgstr ""
#: aiogram.methods.get_chat_member.GetChatMember:1 of
msgid ""
"Use this method to get information about a member of a chat. The method "
"is guaranteed to work for other users, only if the bot is an "
"administrator in the chat. Returns a "
":class:`aiogram.types.chat_member.ChatMember` object on success."
"is only guaranteed to work for other users if the bot is an administrator"
" in the chat. Returns a :class:`aiogram.types.chat_member.ChatMember` "
"object on success."
msgstr ""
#: aiogram.methods.get_chat_member.GetChatMember:3 of
@ -85,3 +85,13 @@ msgstr ""
#: ../../api/methods/get_chat_member.rst:45
msgid ":meth:`aiogram.types.chat.Chat.get_member`"
msgstr ""
#~ msgid ""
#~ "Use this method to get information "
#~ "about a member of a chat. The "
#~ "method is guaranteed to work for "
#~ "other users, only if the bot is"
#~ " an administrator in the chat. "
#~ "Returns a :class:`aiogram.types.chat_member.ChatMember`"
#~ " object on success."
#~ msgstr ""

View file

@ -0,0 +1,70 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/get_my_description.rst:3
msgid "getMyDescription"
msgstr ""
#: ../../api/methods/get_my_description.rst:5
msgid "Returns: :obj:`BotDescription`"
msgstr ""
#: aiogram.methods.get_my_description.GetMyDescription:1 of
msgid ""
"Use this method to get the current bot description for the given user "
"language. Returns :class:`aiogram.types.bot_description.BotDescription` "
"on success."
msgstr ""
#: aiogram.methods.get_my_description.GetMyDescription:3 of
msgid "Source: https://core.telegram.org/bots/api#getmydescription"
msgstr ""
#: ../../docstring
#: aiogram.methods.get_my_description.GetMyDescription.language_code:1 of
msgid "A two-letter ISO 639-1 language code or an empty string"
msgstr ""
#: ../../api/methods/get_my_description.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/get_my_description.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/get_my_description.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/get_my_description.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/get_my_description.rst:29
msgid ":code:`from aiogram.methods.get_my_description import GetMyDescription`"
msgstr ""
#: ../../api/methods/get_my_description.rst:30
msgid "alias: :code:`from aiogram.methods import GetMyDescription`"
msgstr ""
#: ../../api/methods/get_my_description.rst:33
msgid "With specific bot"
msgstr ""

View file

@ -0,0 +1,74 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/get_my_short_description.rst:3
msgid "getMyShortDescription"
msgstr ""
#: ../../api/methods/get_my_short_description.rst:5
msgid "Returns: :obj:`BotShortDescription`"
msgstr ""
#: aiogram.methods.get_my_short_description.GetMyShortDescription:1 of
msgid ""
"Use this method to get the current bot short description for the given "
"user language. Returns "
":class:`aiogram.types.bot_short_description.BotShortDescription` on "
"success."
msgstr ""
#: aiogram.methods.get_my_short_description.GetMyShortDescription:3 of
msgid "Source: https://core.telegram.org/bots/api#getmyshortdescription"
msgstr ""
#: ../../docstring
#: aiogram.methods.get_my_short_description.GetMyShortDescription.language_code:1
#: of
msgid "A two-letter ISO 639-1 language code or an empty string"
msgstr ""
#: ../../api/methods/get_my_short_description.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/get_my_short_description.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/get_my_short_description.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/get_my_short_description.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/get_my_short_description.rst:29
msgid ""
":code:`from aiogram.methods.get_my_short_description import "
"GetMyShortDescription`"
msgstr ""
#: ../../api/methods/get_my_short_description.rst:30
msgid "alias: :code:`from aiogram.methods import GetMyShortDescription`"
msgstr ""
#: ../../api/methods/get_my_short_description.rst:33
msgid "With specific bot"
msgstr ""

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/promote_chat_member.rst:3
msgid "promoteChatMember"
@ -102,7 +102,7 @@ msgstr ""
#: of
msgid ""
"Pass :code:`True` if the administrator can add new administrators with a "
"subset of their own privileges or demote administrators that he has "
"subset of their own privileges or demote administrators that they have "
"promoted, directly or indirectly (promoted by administrators that were "
"appointed by him)"
msgstr ""
@ -170,3 +170,13 @@ msgstr ""
#: ../../api/methods/promote_chat_member.rst:50
msgid ":meth:`aiogram.types.chat.Chat.promote`"
msgstr ""
#~ msgid ""
#~ "Pass :code:`True` if the administrator "
#~ "can add new administrators with a "
#~ "subset of their own privileges or "
#~ "demote administrators that he has "
#~ "promoted, directly or indirectly (promoted "
#~ "by administrators that were appointed by"
#~ " him)"
#~ msgstr ""

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/restrict_chat_member.rst:3
msgid "restrictChatMember"
@ -54,6 +54,19 @@ msgstr ""
msgid "A JSON-serialized object for new user permissions"
msgstr ""
#: ../../docstring
#: aiogram.methods.restrict_chat_member.RestrictChatMember.use_independent_chat_permissions:1
#: of
msgid ""
"Pass :code:`True` if chat permissions are set independently. Otherwise, "
"the *can_send_other_messages* and *can_add_web_page_previews* permissions"
" will imply the *can_send_messages*, *can_send_audios*, "
"*can_send_documents*, *can_send_photos*, *can_send_videos*, "
"*can_send_video_notes*, and *can_send_voice_notes* permissions; the "
"*can_send_polls* permission will imply the *can_send_messages* "
"permission."
msgstr ""
#: ../../docstring
#: aiogram.methods.restrict_chat_member.RestrictChatMember.until_date:1 of
msgid ""

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/send_sticker.rst:3
msgid "sendSticker"
@ -48,9 +48,10 @@ msgstr ""
msgid ""
"Sticker to send. Pass a file_id as String to send a file that exists on "
"the Telegram servers (recommended), pass an HTTP URL as a String for "
"Telegram to get a .WEBP file from the Internet, or upload a new one using"
" multipart/form-data. :ref:`More information on Sending Files » <sending-"
"files>`"
"Telegram to get a .WEBP sticker from the Internet, or upload a new .WEBP "
"or .TGS sticker using multipart/form-data. :ref:`More information on "
"Sending Files » <sending-files>`. Video stickers can only be sent by a "
"file_id. Animated stickers can't be sent via an HTTP URL."
msgstr ""
#: ../../docstring aiogram.methods.send_sticker.SendSticker.message_thread_id:1
@ -60,6 +61,10 @@ msgid ""
" forum supergroups only"
msgstr ""
#: ../../docstring aiogram.methods.send_sticker.SendSticker.emoji:1 of
msgid "Emoji associated with the sticker; only for just uploaded stickers"
msgstr ""
#: ../../docstring
#: aiogram.methods.send_sticker.SendSticker.disable_notification:1 of
msgid ""
@ -147,3 +152,15 @@ msgstr ""
#~ "to remove reply keyboard or to "
#~ "force a reply from the user."
#~ msgstr ""
#~ msgid ""
#~ "Sticker to send. Pass a file_id as"
#~ " String to send a file that "
#~ "exists on the Telegram servers "
#~ "(recommended), pass an HTTP URL as "
#~ "a String for Telegram to get a "
#~ ".WEBP file from the Internet, or "
#~ "upload a new one using multipart"
#~ "/form-data. :ref:`More information on "
#~ "Sending Files » <sending-files>`"
#~ msgstr ""

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/set_chat_permissions.rst:3
msgid "setChatPermissions"
@ -49,6 +49,19 @@ msgstr ""
msgid "A JSON-serialized object for new default chat permissions"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_chat_permissions.SetChatPermissions.use_independent_chat_permissions:1
#: of
msgid ""
"Pass :code:`True` if chat permissions are set independently. Otherwise, "
"the *can_send_other_messages* and *can_add_web_page_previews* permissions"
" will imply the *can_send_messages*, *can_send_audios*, "
"*can_send_documents*, *can_send_photos*, *can_send_videos*, "
"*can_send_video_notes*, and *can_send_voice_notes* permissions; the "
"*can_send_polls* permission will imply the *can_send_messages* "
"permission."
msgstr ""
#: ../../api/methods/set_chat_permissions.rst:14
msgid "Usage"
msgstr ""

View file

@ -0,0 +1,90 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/set_custom_emoji_sticker_set_thumbnail.rst:3
msgid "setCustomEmojiStickerSetThumbnail"
msgstr ""
#: ../../api/methods/set_custom_emoji_sticker_set_thumbnail.rst:5
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.set_custom_emoji_sticker_set_thumbnail.SetCustomEmojiStickerSetThumbnail:1
#: of
msgid ""
"Use this method to set the thumbnail of a custom emoji sticker set. "
"Returns :code:`True` on success."
msgstr ""
#: aiogram.methods.set_custom_emoji_sticker_set_thumbnail.SetCustomEmojiStickerSetThumbnail:3
#: of
msgid ""
"Source: "
"https://core.telegram.org/bots/api#setcustomemojistickersetthumbnail"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_custom_emoji_sticker_set_thumbnail.SetCustomEmojiStickerSetThumbnail.name:1
#: of
msgid "Sticker set name"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_custom_emoji_sticker_set_thumbnail.SetCustomEmojiStickerSetThumbnail.custom_emoji_id:1
#: of
msgid ""
"Custom emoji identifier of a sticker from the sticker set; pass an empty "
"string to drop the thumbnail and use the first sticker as the thumbnail."
msgstr ""
#: ../../api/methods/set_custom_emoji_sticker_set_thumbnail.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/set_custom_emoji_sticker_set_thumbnail.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/set_custom_emoji_sticker_set_thumbnail.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/set_custom_emoji_sticker_set_thumbnail.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/set_custom_emoji_sticker_set_thumbnail.rst:29
msgid ""
":code:`from aiogram.methods.set_custom_emoji_sticker_set_thumbnail import"
" SetCustomEmojiStickerSetThumbnail`"
msgstr ""
#: ../../api/methods/set_custom_emoji_sticker_set_thumbnail.rst:30
msgid ""
"alias: :code:`from aiogram.methods import "
"SetCustomEmojiStickerSetThumbnail`"
msgstr ""
#: ../../api/methods/set_custom_emoji_sticker_set_thumbnail.rst:33
msgid "With specific bot"
msgstr ""
#: ../../api/methods/set_custom_emoji_sticker_set_thumbnail.rst:40
msgid "As reply into Webhook in handler"
msgstr ""

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/set_my_default_administrator_rights.rst:3
msgid "setMyDefaultAdministratorRights"
@ -30,8 +30,8 @@ msgstr ""
msgid ""
"Use this method to change the default administrator rights requested by "
"the bot when it's added as an administrator to groups or channels. These "
"rights will be suggested to users, but they are are free to modify the "
"list before adding the bot. Returns :code:`True` on success."
"rights will be suggested to users, but they are free to modify the list "
"before adding the bot. Returns :code:`True` on success."
msgstr ""
#: aiogram.methods.set_my_default_administrator_rights.SetMyDefaultAdministratorRights:3
@ -89,3 +89,14 @@ msgstr ""
#: ../../api/methods/set_my_default_administrator_rights.rst:40
msgid "As reply into Webhook in handler"
msgstr ""
#~ msgid ""
#~ "Use this method to change the "
#~ "default administrator rights requested by "
#~ "the bot when it's added as an "
#~ "administrator to groups or channels. "
#~ "These rights will be suggested to "
#~ "users, but they are are free to"
#~ " modify the list before adding the"
#~ " bot. Returns :code:`True` on success."
#~ msgstr ""

View file

@ -0,0 +1,83 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/set_my_description.rst:3
msgid "setMyDescription"
msgstr ""
#: ../../api/methods/set_my_description.rst:5
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.set_my_description.SetMyDescription:1 of
msgid ""
"Use this method to change the bot's description, which is shown in the "
"chat with the bot if the chat is empty. Returns :code:`True` on success."
msgstr ""
#: aiogram.methods.set_my_description.SetMyDescription:3 of
msgid "Source: https://core.telegram.org/bots/api#setmydescription"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_my_description.SetMyDescription.description:1 of
msgid ""
"New bot description; 0-512 characters. Pass an empty string to remove the"
" dedicated description for the given language."
msgstr ""
#: ../../docstring
#: aiogram.methods.set_my_description.SetMyDescription.language_code:1 of
msgid ""
"A two-letter ISO 639-1 language code. If empty, the description will be "
"applied to all users for whose language there is no dedicated "
"description."
msgstr ""
#: ../../api/methods/set_my_description.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/set_my_description.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/set_my_description.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/set_my_description.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/set_my_description.rst:29
msgid ":code:`from aiogram.methods.set_my_description import SetMyDescription`"
msgstr ""
#: ../../api/methods/set_my_description.rst:30
msgid "alias: :code:`from aiogram.methods import SetMyDescription`"
msgstr ""
#: ../../api/methods/set_my_description.rst:33
msgid "With specific bot"
msgstr ""
#: ../../api/methods/set_my_description.rst:40
msgid "As reply into Webhook in handler"
msgstr ""

View file

@ -0,0 +1,88 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/set_my_short_description.rst:3
msgid "setMyShortDescription"
msgstr ""
#: ../../api/methods/set_my_short_description.rst:5
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.set_my_short_description.SetMyShortDescription:1 of
msgid ""
"Use this method to change the bot's short description, which is shown on "
"the bot's profile page and is sent together with the link when users "
"share the bot. Returns :code:`True` on success."
msgstr ""
#: aiogram.methods.set_my_short_description.SetMyShortDescription:3 of
msgid "Source: https://core.telegram.org/bots/api#setmyshortdescription"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_my_short_description.SetMyShortDescription.short_description:1
#: of
msgid ""
"New short description for the bot; 0-120 characters. Pass an empty string"
" to remove the dedicated short description for the given language."
msgstr ""
#: ../../docstring
#: aiogram.methods.set_my_short_description.SetMyShortDescription.language_code:1
#: of
msgid ""
"A two-letter ISO 639-1 language code. If empty, the short description "
"will be applied to all users for whose language there is no dedicated "
"short description."
msgstr ""
#: ../../api/methods/set_my_short_description.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/set_my_short_description.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/set_my_short_description.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/set_my_short_description.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/set_my_short_description.rst:29
msgid ""
":code:`from aiogram.methods.set_my_short_description import "
"SetMyShortDescription`"
msgstr ""
#: ../../api/methods/set_my_short_description.rst:30
msgid "alias: :code:`from aiogram.methods import SetMyShortDescription`"
msgstr ""
#: ../../api/methods/set_my_short_description.rst:33
msgid "With specific bot"
msgstr ""
#: ../../api/methods/set_my_short_description.rst:40
msgid "As reply into Webhook in handler"
msgstr ""

View file

@ -0,0 +1,81 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/set_sticker_emoji_list.rst:3
msgid "setStickerEmojiList"
msgstr ""
#: ../../api/methods/set_sticker_emoji_list.rst:5
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.set_sticker_emoji_list.SetStickerEmojiList:1 of
msgid ""
"Use this method to change the list of emoji assigned to a regular or "
"custom emoji sticker. The sticker must belong to a sticker set created by"
" the bot. Returns :code:`True` on success."
msgstr ""
#: aiogram.methods.set_sticker_emoji_list.SetStickerEmojiList:3 of
msgid "Source: https://core.telegram.org/bots/api#setstickeremojilist"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_sticker_emoji_list.SetStickerEmojiList.sticker:1 of
msgid "File identifier of the sticker"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_sticker_emoji_list.SetStickerEmojiList.emoji_list:1 of
msgid "A JSON-serialized list of 1-20 emoji associated with the sticker"
msgstr ""
#: ../../api/methods/set_sticker_emoji_list.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/set_sticker_emoji_list.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/set_sticker_emoji_list.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/set_sticker_emoji_list.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/set_sticker_emoji_list.rst:29
msgid ""
":code:`from aiogram.methods.set_sticker_emoji_list import "
"SetStickerEmojiList`"
msgstr ""
#: ../../api/methods/set_sticker_emoji_list.rst:30
msgid "alias: :code:`from aiogram.methods import SetStickerEmojiList`"
msgstr ""
#: ../../api/methods/set_sticker_emoji_list.rst:33
msgid "With specific bot"
msgstr ""
#: ../../api/methods/set_sticker_emoji_list.rst:40
msgid "As reply into Webhook in handler"
msgstr ""

View file

@ -0,0 +1,83 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/set_sticker_keywords.rst:3
msgid "setStickerKeywords"
msgstr ""
#: ../../api/methods/set_sticker_keywords.rst:5
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.set_sticker_keywords.SetStickerKeywords:1 of
msgid ""
"Use this method to change search keywords assigned to a regular or custom"
" emoji sticker. The sticker must belong to a sticker set created by the "
"bot. Returns :code:`True` on success."
msgstr ""
#: aiogram.methods.set_sticker_keywords.SetStickerKeywords:3 of
msgid "Source: https://core.telegram.org/bots/api#setstickerkeywords"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_sticker_keywords.SetStickerKeywords.sticker:1 of
msgid "File identifier of the sticker"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_sticker_keywords.SetStickerKeywords.keywords:1 of
msgid ""
"A JSON-serialized list of 0-20 search keywords for the sticker with total"
" length of up to 64 characters"
msgstr ""
#: ../../api/methods/set_sticker_keywords.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/set_sticker_keywords.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/set_sticker_keywords.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/set_sticker_keywords.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/set_sticker_keywords.rst:29
msgid ""
":code:`from aiogram.methods.set_sticker_keywords import "
"SetStickerKeywords`"
msgstr ""
#: ../../api/methods/set_sticker_keywords.rst:30
msgid "alias: :code:`from aiogram.methods import SetStickerKeywords`"
msgstr ""
#: ../../api/methods/set_sticker_keywords.rst:33
msgid "With specific bot"
msgstr ""
#: ../../api/methods/set_sticker_keywords.rst:40
msgid "As reply into Webhook in handler"
msgstr ""

View file

@ -0,0 +1,86 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/set_sticker_mask_position.rst:3
msgid "setStickerMaskPosition"
msgstr ""
#: ../../api/methods/set_sticker_mask_position.rst:5
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.set_sticker_mask_position.SetStickerMaskPosition:1 of
msgid ""
"Use this method to change the `mask position "
"<https://core.telegram.org/bots/api#maskposition>`_ of a mask sticker. "
"The sticker must belong to a sticker set that was created by the bot. "
"Returns :code:`True` on success."
msgstr ""
#: aiogram.methods.set_sticker_mask_position.SetStickerMaskPosition:3 of
msgid "Source: https://core.telegram.org/bots/api#setstickermaskposition"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_sticker_mask_position.SetStickerMaskPosition.sticker:1
#: of
msgid "File identifier of the sticker"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_sticker_mask_position.SetStickerMaskPosition.mask_position:1
#: of
msgid ""
"A JSON-serialized object with the position where the mask should be "
"placed on faces. Omit the parameter to remove the mask position."
msgstr ""
#: ../../api/methods/set_sticker_mask_position.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/set_sticker_mask_position.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/set_sticker_mask_position.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/set_sticker_mask_position.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/set_sticker_mask_position.rst:29
msgid ""
":code:`from aiogram.methods.set_sticker_mask_position import "
"SetStickerMaskPosition`"
msgstr ""
#: ../../api/methods/set_sticker_mask_position.rst:30
msgid "alias: :code:`from aiogram.methods import SetStickerMaskPosition`"
msgstr ""
#: ../../api/methods/set_sticker_mask_position.rst:33
msgid "With specific bot"
msgstr ""
#: ../../api/methods/set_sticker_mask_position.rst:40
msgid "As reply into Webhook in handler"
msgstr ""

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/set_sticker_set_thumb.rst:3
msgid "setStickerSetThumb"
@ -25,52 +25,6 @@ msgstr ""
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.set_sticker_set_thumb.SetStickerSetThumb:1 of
msgid ""
"Use this method to set the thumbnail of a sticker set. Animated "
"thumbnails can be set for animated sticker sets only. Video thumbnails "
"can be set only for video sticker sets only. Returns :code:`True` on "
"success."
msgstr ""
#: aiogram.methods.set_sticker_set_thumb.SetStickerSetThumb:3 of
msgid "Source: https://core.telegram.org/bots/api#setstickersetthumb"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_sticker_set_thumb.SetStickerSetThumb.name:1 of
msgid "Sticker set name"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_sticker_set_thumb.SetStickerSetThumb.user_id:1 of
msgid "User identifier of the sticker set owner"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_sticker_set_thumb.SetStickerSetThumb.thumb:1 of
msgid ""
"A **PNG** image with the thumbnail, must be up to 128 kilobytes in size "
"and have width and height exactly 100px, or a **TGS** animation with the "
"thumbnail up to 32 kilobytes in size; see "
"`https://core.telegram.org/stickers#animated-sticker-requirements "
"<https://core.telegram.org/stickers#animated-sticker-"
"requirements>`_`https://core.telegram.org/stickers#animated-sticker-"
"requirements <https://core.telegram.org/stickers#animated-sticker-"
"requirements>`_ for animated sticker technical requirements, or a "
"**WEBM** video with the thumbnail up to 32 kilobytes in size; see "
"`https://core.telegram.org/stickers#video-sticker-requirements "
"<https://core.telegram.org/stickers#video-sticker-"
"requirements>`_`https://core.telegram.org/stickers#video-sticker-"
"requirements <https://core.telegram.org/stickers#video-sticker-"
"requirements>`_ for video sticker technical requirements. Pass a "
"*file_id* as a String to send a file that already exists on the Telegram "
"servers, pass an HTTP URL as a String for Telegram to get a file from the"
" Internet, or upload a new one using multipart/form-data. :ref:`More "
"information on Sending Files » <sending-files>`. Animated sticker set "
"thumbnails can't be uploaded via HTTP URL."
msgstr ""
#: ../../api/methods/set_sticker_set_thumb.rst:14
msgid "Usage"
msgstr ""
@ -104,3 +58,57 @@ msgstr ""
#: ../../api/methods/set_sticker_set_thumb.rst:40
msgid "As reply into Webhook in handler"
msgstr ""
#~ msgid ""
#~ "Use this method to set the "
#~ "thumbnail of a sticker set. Animated "
#~ "thumbnails can be set for animated "
#~ "sticker sets only. Video thumbnails can"
#~ " be set only for video sticker "
#~ "sets only. Returns :code:`True` on "
#~ "success."
#~ msgstr ""
#~ msgid "Source: https://core.telegram.org/bots/api#setstickersetthumb"
#~ msgstr ""
#~ msgid "Sticker set name"
#~ msgstr ""
#~ msgid "User identifier of the sticker set owner"
#~ msgstr ""
#~ msgid ""
#~ "A **PNG** image with the thumbnail, "
#~ "must be up to 128 kilobytes in "
#~ "size and have width and height "
#~ "exactly 100px, or a **TGS** animation"
#~ " with the thumbnail up to 32 "
#~ "kilobytes in size; see "
#~ "`https://core.telegram.org/stickers#animated-sticker-"
#~ "requirements <https://core.telegram.org/stickers#animated-"
#~ "sticker-requirements>`_`https://core.telegram.org/stickers"
#~ "#animated-sticker-requirements "
#~ "<https://core.telegram.org/stickers#animated-sticker-"
#~ "requirements>`_ for animated sticker technical"
#~ " requirements, or a **WEBM** video "
#~ "with the thumbnail up to 32 "
#~ "kilobytes in size; see "
#~ "`https://core.telegram.org/stickers#video-sticker-"
#~ "requirements <https://core.telegram.org/stickers#video-"
#~ "sticker-requirements>`_`https://core.telegram.org/stickers"
#~ "#video-sticker-requirements "
#~ "<https://core.telegram.org/stickers#video-sticker-"
#~ "requirements>`_ for video sticker technical"
#~ " requirements. Pass a *file_id* as a"
#~ " String to send a file that "
#~ "already exists on the Telegram servers,"
#~ " pass an HTTP URL as a String"
#~ " for Telegram to get a file "
#~ "from the Internet, or upload a new"
#~ " one using multipart/form-data. :ref:`More"
#~ " information on Sending Files » "
#~ "<sending-files>`. Animated sticker set "
#~ "thumbnails can't be uploaded via HTTP"
#~ " URL."
#~ msgstr ""

View file

@ -0,0 +1,108 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/set_sticker_set_thumbnail.rst:3
msgid "setStickerSetThumbnail"
msgstr ""
#: ../../api/methods/set_sticker_set_thumbnail.rst:5
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.set_sticker_set_thumbnail.SetStickerSetThumbnail:1 of
msgid ""
"Use this method to set the thumbnail of a regular or mask sticker set. "
"The format of the thumbnail file must match the format of the stickers in"
" the set. Returns :code:`True` on success."
msgstr ""
#: aiogram.methods.set_sticker_set_thumbnail.SetStickerSetThumbnail:3 of
msgid "Source: https://core.telegram.org/bots/api#setstickersetthumbnail"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_sticker_set_thumbnail.SetStickerSetThumbnail.name:1 of
msgid "Sticker set name"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_sticker_set_thumbnail.SetStickerSetThumbnail.user_id:1
#: of
msgid "User identifier of the sticker set owner"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_sticker_set_thumbnail.SetStickerSetThumbnail.thumbnail:1
#: of
msgid ""
"A **.WEBP** or **.PNG** image with the thumbnail, must be up to 128 "
"kilobytes in size and have a width and height of exactly 100px, or a "
"**.TGS** animation with a thumbnail up to 32 kilobytes in size (see "
"`https://core.telegram.org/stickers#animated-sticker-requirements "
"<https://core.telegram.org/stickers#animated-sticker-"
"requirements>`_`https://core.telegram.org/stickers#animated-sticker-"
"requirements <https://core.telegram.org/stickers#animated-sticker-"
"requirements>`_ for animated sticker technical requirements), or a "
"**WEBM** video with the thumbnail up to 32 kilobytes in size; see "
"`https://core.telegram.org/stickers#video-sticker-requirements "
"<https://core.telegram.org/stickers#video-sticker-"
"requirements>`_`https://core.telegram.org/stickers#video-sticker-"
"requirements <https://core.telegram.org/stickers#video-sticker-"
"requirements>`_ for video sticker technical requirements. Pass a "
"*file_id* as a String to send a file that already exists on the Telegram "
"servers, pass an HTTP URL as a String for Telegram to get a file from the"
" Internet, or upload a new one using multipart/form-data. :ref:`More "
"information on Sending Files » <sending-files>`. Animated and video "
"sticker set thumbnails can't be uploaded via HTTP URL. If omitted, then "
"the thumbnail is dropped and the first sticker is used as the thumbnail."
msgstr ""
#: ../../api/methods/set_sticker_set_thumbnail.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/set_sticker_set_thumbnail.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/set_sticker_set_thumbnail.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/set_sticker_set_thumbnail.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/set_sticker_set_thumbnail.rst:29
msgid ""
":code:`from aiogram.methods.set_sticker_set_thumbnail import "
"SetStickerSetThumbnail`"
msgstr ""
#: ../../api/methods/set_sticker_set_thumbnail.rst:30
msgid "alias: :code:`from aiogram.methods import SetStickerSetThumbnail`"
msgstr ""
#: ../../api/methods/set_sticker_set_thumbnail.rst:33
msgid "With specific bot"
msgstr ""
#: ../../api/methods/set_sticker_set_thumbnail.rst:40
msgid "As reply into Webhook in handler"
msgstr ""

View file

@ -0,0 +1,80 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/set_sticker_set_title.rst:3
msgid "setStickerSetTitle"
msgstr ""
#: ../../api/methods/set_sticker_set_title.rst:5
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.set_sticker_set_title.SetStickerSetTitle:1 of
msgid ""
"Use this method to set the title of a created sticker set. Returns "
":code:`True` on success."
msgstr ""
#: aiogram.methods.set_sticker_set_title.SetStickerSetTitle:3 of
msgid "Source: https://core.telegram.org/bots/api#setstickersettitle"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_sticker_set_title.SetStickerSetTitle.name:1 of
msgid "Sticker set name"
msgstr ""
#: ../../docstring
#: aiogram.methods.set_sticker_set_title.SetStickerSetTitle.title:1 of
msgid "Sticker set title, 1-64 characters"
msgstr ""
#: ../../api/methods/set_sticker_set_title.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/set_sticker_set_title.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/set_sticker_set_title.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/set_sticker_set_title.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/set_sticker_set_title.rst:29
msgid ""
":code:`from aiogram.methods.set_sticker_set_title import "
"SetStickerSetTitle`"
msgstr ""
#: ../../api/methods/set_sticker_set_title.rst:30
msgid "alias: :code:`from aiogram.methods import SetStickerSetTitle`"
msgstr ""
#: ../../api/methods/set_sticker_set_title.rst:33
msgid "With specific bot"
msgstr ""
#: ../../api/methods/set_sticker_set_title.rst:40
msgid "As reply into Webhook in handler"
msgstr ""

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\n"
"POT-Creation-Date: 2023-03-11 01:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"
"Generated-By: Babel 2.11.0\n"
#: ../../api/methods/upload_sticker_file.rst:3
msgid "uploadStickerFile"
@ -27,10 +27,11 @@ msgstr ""
#: aiogram.methods.upload_sticker_file.UploadStickerFile:1 of
msgid ""
"Use this method to upload a .PNG file with a sticker for later use in "
"*createNewStickerSet* and *addStickerToSet* methods (can be used multiple"
" times). Returns the uploaded :class:`aiogram.types.file.File` on "
"success."
"Use this method to upload a file with a sticker for later use in the "
":class:`aiogram.methods.create_new_sticker_set.CreateNewStickerSet` and "
":class:`aiogram.methods.add_sticker_to_set.AddStickerToSet` methods (the "
"file can be used multiple times). Returns the uploaded "
":class:`aiogram.types.file.File` on success."
msgstr ""
#: aiogram.methods.upload_sticker_file.UploadStickerFile:3 of
@ -43,11 +44,18 @@ msgid "User identifier of sticker file owner"
msgstr ""
#: ../../docstring
#: aiogram.methods.upload_sticker_file.UploadStickerFile.png_sticker:1 of
#: aiogram.methods.upload_sticker_file.UploadStickerFile.sticker:1 of
msgid ""
"**PNG** image with the sticker, must be up to 512 kilobytes in size, "
"dimensions must not exceed 512px, and either width or height must be "
"exactly 512px. :ref:`More information on Sending Files » <sending-files>`"
"A file with the sticker in .WEBP, .PNG, .TGS, or .WEBM format. See "
"`https://core.telegram.org/stickers "
"<https://core.telegram.org/stickers>`_`https://core.telegram.org/stickers"
" <https://core.telegram.org/stickers>`_ for technical requirements. "
":ref:`More information on Sending Files » <sending-files>`"
msgstr ""
#: ../../docstring
#: aiogram.methods.upload_sticker_file.UploadStickerFile.sticker_format:1 of
msgid "Format of the sticker, must be one of 'static', 'animated', 'video'"
msgstr ""
#: ../../api/methods/upload_sticker_file.rst:14
@ -77,3 +85,21 @@ msgstr ""
#: ../../api/methods/upload_sticker_file.rst:33
msgid "With specific bot"
msgstr ""
#~ msgid ""
#~ "Use this method to upload a .PNG"
#~ " file with a sticker for later "
#~ "use in *createNewStickerSet* and "
#~ "*addStickerToSet* methods (can be used "
#~ "multiple times). Returns the uploaded "
#~ ":class:`aiogram.types.file.File` on success."
#~ msgstr ""
#~ msgid ""
#~ "**PNG** image with the sticker, must "
#~ "be up to 512 kilobytes in size,"
#~ " dimensions must not exceed 512px, "
#~ "and either width or height must be"
#~ " exactly 512px. :ref:`More information on"
#~ " Sending Files » <sending-files>`"
#~ msgstr ""