Merge branch 'dev-3.x' into docs-cleanup

This commit is contained in:
Alex Root Junior 2023-03-12 01:50:57 +02:00
commit d4233025b1
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
907 changed files with 16631 additions and 17310 deletions

View file

@ -9,8 +9,12 @@ This class has aliases for all methods and named in :code:`lower_camel_case`.
For example :code:`sendMessage` named :code:`send_message` and has the same specification with all class-based methods.
.. warning::
A full list of methods can be found in the appropriate section of the documentation
.. autoclass:: aiogram.client.bot.Bot
:members:
:members: __init__,token,id,context,me,download_file,download
:show-inheritance:
:member-order: bysource
:special-members: __init__

View file

@ -21,6 +21,7 @@ Here is list of all available enums:
message_entity_type
parse_mode
poll_type
sticker_format
sticker_type
topic_icon_color
update_type

View file

@ -0,0 +1,9 @@
#############
StickerFormat
#############
.. automodule:: aiogram.enums.sticker_format
:members:
:member-order: bysource
:undoc-members: True

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 @@
################
deleteStickerSet
################
Returns: :obj:`bool`
.. automodule:: aiogram.methods.delete_sticker_set
:members:
:member-order: bysource
:undoc-members: True
Usage
=====
As bot method
-------------
.. code-block::
result: bool = await bot.delete_sticker_set(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.delete_sticker_set import DeleteStickerSet`
- alias: :code:`from aiogram.methods import DeleteStickerSet`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: bool = await bot(DeleteStickerSet(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: python
return DeleteStickerSet(...)

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,37 @@
################
getMyDescription
################
Returns: :obj:`BotDescription`
.. automodule:: aiogram.methods.get_my_description
:members:
:member-order: bysource
:undoc-members: True
Usage
=====
As bot method
-------------
.. code-block::
result: BotDescription = await bot.get_my_description(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.get_my_description import GetMyDescription`
- alias: :code:`from aiogram.methods import GetMyDescription`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: BotDescription = await bot(GetMyDescription(...))

View file

@ -0,0 +1,37 @@
#####################
getMyShortDescription
#####################
Returns: :obj:`BotShortDescription`
.. automodule:: aiogram.methods.get_my_short_description
:members:
:member-order: bysource
:undoc-members: True
Usage
=====
As bot method
-------------
.. code-block::
result: BotShortDescription = await bot.get_my_short_description(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.get_my_short_description import GetMyShortDescription`
- alias: :code:`from aiogram.methods import GetMyShortDescription`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: BotShortDescription = await bot(GetMyShortDescription(...))

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
close
close_forum_topic
close_general_forum_topic
copy_message
create_chat_invite_link
create_forum_topic
@ -27,7 +28,7 @@ Available methods
delete_my_commands
edit_chat_invite_link
edit_forum_topic
edit_message_live_location
edit_general_forum_topic
export_chat_invite_link
forward_message
get_chat
@ -40,12 +41,16 @@ Available methods
get_me
get_my_commands
get_my_default_administrator_rights
get_my_description
get_my_short_description
get_user_profile_photos
hide_general_forum_topic
leave_chat
log_out
pin_chat_message
promote_chat_member
reopen_forum_topic
reopen_general_forum_topic
restrict_chat_member
revoke_chat_invite_link
send_animation
@ -72,9 +77,11 @@ Available methods
set_chat_title
set_my_commands
set_my_default_administrator_rights
stop_message_live_location
set_my_description
set_my_short_description
unban_chat_member
unban_chat_sender_chat
unhide_general_forum_topic
unpin_all_chat_messages
unpin_all_forum_topic_messages
unpin_chat_message
@ -99,11 +106,17 @@ Stickers
add_sticker_to_set
create_new_sticker_set
delete_sticker_from_set
delete_sticker_set
get_custom_emoji_stickers
get_sticker_set
send_sticker
set_custom_emoji_sticker_set_thumbnail
set_sticker_emoji_list
set_sticker_keywords
set_sticker_mask_position
set_sticker_position_in_set
set_sticker_set_thumb
set_sticker_set_thumbnail
set_sticker_set_title
upload_sticker_file
Games
@ -143,9 +156,11 @@ Updating messages
delete_message
edit_message_caption
edit_message_live_location
edit_message_media
edit_message_reply_markup
edit_message_text
stop_message_live_location
stop_poll
Inline mode

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 @@
#################################
setCustomEmojiStickerSetThumbnail
#################################
Returns: :obj:`bool`
.. automodule:: aiogram.methods.set_custom_emoji_sticker_set_thumbnail
:members:
:member-order: bysource
:undoc-members: True
Usage
=====
As bot method
-------------
.. code-block::
result: bool = await bot.set_custom_emoji_sticker_set_thumbnail(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.set_custom_emoji_sticker_set_thumbnail import SetCustomEmojiStickerSetThumbnail`
- alias: :code:`from aiogram.methods import SetCustomEmojiStickerSetThumbnail`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: bool = await bot(SetCustomEmojiStickerSetThumbnail(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: python
return SetCustomEmojiStickerSetThumbnail(...)

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

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 @@
##############
BotDescription
##############
.. automodule:: aiogram.types.bot_description
:members:
:member-order: bysource
:undoc-members: True

View file

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

View file

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

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

@ -59,6 +59,8 @@ Available types
bot_command_scope_chat_administrators
bot_command_scope_chat_member
bot_command_scope_default
bot_description
bot_short_description
callback_query
chat
chat_administrator_rights
@ -75,6 +77,7 @@ Available types
chat_member_updated
chat_permissions
chat_photo
chat_shared
contact
dice
document
@ -83,7 +86,10 @@ Available types
forum_topic
forum_topic_closed
forum_topic_created
forum_topic_edited
forum_topic_reopened
general_forum_topic_hidden
general_forum_topic_unhidden
inline_keyboard_button
inline_keyboard_markup
input_file
@ -95,6 +101,8 @@ Available types
input_media_video
keyboard_button
keyboard_button_poll_type
keyboard_button_request_chat
keyboard_button_request_user
location
login_url
menu_button
@ -115,6 +123,7 @@ Available types
response_parameters
user
user_profile_photos
user_shared
venue
video
video_chat_ended
@ -125,6 +134,7 @@ Available types
voice
web_app_data
web_app_info
write_access_allowed
Telegram Passport
=================
@ -162,6 +172,7 @@ Stickers
.. toctree::
:maxdepth: 1
input_sticker
mask_position
sticker
sticker_set
@ -190,11 +201,3 @@ Games
callback_game
game
game_high_score
Internals
=========
.. toctree::
:maxdepth: 1
error_event

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -10,9 +10,9 @@ there are three ways to send files (photos, stickers, audio, media, etc.):
If the file is already stored somewhere on the Telegram servers or file is available by the URL,
you don't need to reupload it.
But if you need to upload new file just use subclasses of `InputFile <types/input_file.md>`__.
But if you need to upload a new file just use subclasses of `InputFile <types/input_file.md>`__.
Here is available three different builtin types of input file:
Here are the three different available builtin types of input file:
- :class:`aiogram.types.input_file.FSInputFile` - `uploading from file system <#upload-from-file-system>`__
- :class:`aiogram.types.input_file.BufferedInputFile` - `uploading from buffer <#upload-from-buffer>`__
@ -22,9 +22,9 @@ Here is available three different builtin types of input file:
**Be respectful with Telegram**
Instances of `InputFile` is reusable.
Instances of `InputFile` are reusable.
That's mean you can create instance of InputFile and sent this file multiple times but Telegram
is not recommend to do that and when you upload file once just save their `file_id`
does not recommend to do that and when you upload file once just save their `file_id`
and use it in next times.
Upload from file system
@ -53,7 +53,7 @@ Upload from buffer
Files can be also passed from buffer
(For example you generate image using `Pillow <https://pillow.readthedocs.io/en/stable/>`_
and the want's to sent it to the Telegram):
and you want to send it to Telegram):
Import wrapper:

213
docs/contributing.rst Normal file
View file

@ -0,0 +1,213 @@
============
Contributing
============
You're welcome to contribute to aiogram!
*aiogram* is an open-source project, and anyone can contribute to it in any possible way
Developing
==========
Before making any changes in the framework code, it is necessary to fork the project and clone
the project to your PC and know how to do a pull-request.
How to work with pull-request you can read in the `GitHub docs <https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request>`_
Also in due to this project is written in Python, you will need Python to be installed
(is recommended to use latest Python versions, but any version starting from 3.8 can be used)
Use virtualenv
--------------
You can create a virtual environment in a directory using :code:`venv` module (it should be pre-installed by default):
.. code-block::bash
python -m venv .venv
This action will create a :code:`.venv` directory with the Python binaries and then you will
be able to install packages into that isolated environment.
Activate the environment
------------------------
Linux/ macOS:
.. code-block:: bash
source .venv/bin/activate
Windows PoweShell
.. code-block:: powershell
.\.venv\Scripts\Activate.ps1
To check it worked, use described command, it should show the :code:`pip` location inside
the isolated environment
Linux, macOS:
.. code-block::
which pip
Windows PowerShell
.. code-block::
Get-Command pip
Also make you shure you have the latest pip version in your virtual environment to avoid
errors on next steps:
.. code-block::
python -m pip install --upgrade pip
Setup project
-------------
After activating the environment install `aiogram` from sources and their dependencies:
.. code-block:: bash
pip install -e .[dev,test,docs,fast,redis,proxy,i18n]
It will install :code:`aiogram` in editable mode into your virtual environment and all dependencies.
Making changes in code
----------------------
At this point you can make any changes in the code that you want, it can be any fixes,
implementing new features or experimenting.
Format the code (code-style)
----------------------------
Note that this project is Black-formatted, so you should follow that code-style,
too be sure You're correctly doing this let's reformat the code automatically:
.. code-block:: bash
black aiogram tests examples
isort aiogram tests examples
Run tests
---------
All changes should be tested:
.. code-block:: bash
pytest tests
Also if you are doing something with Redis-storage, you will need to test everything works with Redis:
.. code-block:: bash
pytest --redis redis://<host>:<port>/<db> tests
Docs
----
We are using `Sphinx` to render docs in different languages, all sources located in `docs` directory,
you can change the sources and to test it you can start live-preview server and look what you are doing:
.. code-block:: bash
sphinx-autobuild --watch aiogram/ docs/ docs/_build/
Docs translations
-----------------
Translation of the documentation is very necessary and cannot be done without the help of the
community from all over the world, so you are welcome to translate the documentation
into different languages.
Before start, let's up to date all texts:
.. code-block:: bash
cd docs
make gettext
sphinx-intl update -p _build/gettext -l <language_code>
Change the :code:`<language_code>` in example below to the target language code, after that
you can modify texts inside :code:`docs/locale/<language_code>/LC_MESSAGES` as :code:`*.po` files
by using any text-editor or specialized utilites for GNU Gettext,
for example via `poedit <https://poedit.net/>`_.
To view results:
.. code-block:: bash
sphinx-autobuild --watch aiogram/ docs/ docs/_build/ -D language=<language_code>
Describe changes
----------------
Describe your changes in one or more sentences so that bot developers know what's changed
in their favorite framework - create `<code>.<category>.rst` file and write the description.
:code:`<code>` is Issue or Pull-request number, after release link to this issue will
be published to the *Changelog* page.
:code:`<category>` is a changes category marker, it can be one of:
- :code:`feature` - when you are implementing new feature
- :code:`bugfix` - when you fix a bug
- :code:`doc` - when you improve the docs
- :code:`removal` - when you remove something from the framework
- :code:`misc` - when changed something inside the Core or project configuration
If you have troubles with changing category feel free to ask Core-contributors to help with choosing it.
Complete
--------
After you have made all your changes, publish them to the repository and create a pull request
as mentioned at the beginning of the article and wait for a review of these changes.
Star on GitHub
==============
You can "star" repository on GitHub - https://github.com/aiogram/aiogram (click the star button at the top right)
Adding stars makes it easier for other people to find this project and understand how useful it is.
Guides
======
You can write guides how to develop Bots on top of aiogram and publish it into YouTube, Medium,
GitHub Books, any Courses platform or any other platform that you know.
This will help more people learn about the framework and learn how to use it
Take answers
============
The developers is always asks for any question in our chats or any other platforms like GitHub Discussions,
StackOverflow and others, feel free to answer to this questions.
Funding
=======
The development of the project is free and not financed by commercial organizations,
it is my personal initiative (`@JRootJunior <https://t.me/JRootJunior>`_) and
I am engaged in the development of the project in my free time.
So, if you want to financially support the project, or, for example, give me a pizza or a beer,
you can do it on `OpenCollective <https://opencollective.com/aiogram>`_
or `Patreon <https://www.patreon.com/aiogram>`_.

View file

@ -36,70 +36,49 @@ Step by step
Before handle any states you will need to specify what kind of states you want to handle
.. literalinclude:: ../../../examples/finite_state_machine.py
:language: python
:linenos:
:lineno-start: 15
:lines: 15-18
:pyobject: Form
And then write handler for each state separately from the start of dialog
Here is dialog can be started only via command :code:`/start`, so lets handle it and make transition user to state :code:`Form.name`
.. literalinclude:: ../../../examples/finite_state_machine.py
:language: python
:linenos:
:lineno-start: 21
:lines: 21-27
:pyobject: command_start
After that you will need to save some data to the storage and make transition to next step.
.. literalinclude:: ../../../examples/finite_state_machine.py
:language: python
:linenos:
:lineno-start: 48
:lines: 48-63
:pyobject: process_name
At the next steps user can make different answers, it can be `yes`, `no` or any other
Handle :code:`yes` and soon we need to handle :code:`Form.language` state
.. literalinclude:: ../../../examples/finite_state_machine.py
:language: python
:linenos:
:lineno-start: 77
:lines: 77-84
:pyobject: process_like_write_bots
Handle :code:`no`
.. literalinclude:: ../../../examples/finite_state_machine.py
:language: python
:linenos:
:lineno-start: 66
:lines: 66-74
:pyobject: process_dont_like_write_bots
And handle any other answers
.. literalinclude:: ../../../examples/finite_state_machine.py
:language: python
:linenos:
:lineno-start: 87
:lines: 87-89
:pyobject: process_unknown_write_bots
All possible cases of `like_bots` step was covered, let's implement finally step
.. literalinclude:: ../../../examples/finite_state_machine.py
:language: python
:linenos:
:lineno-start: 92
:lines: 92-102
:pyobject: process_language
.. literalinclude:: ../../../examples/finite_state_machine.py
:pyobject: show_summary
And now you have covered all steps from the image, but you can make possibility to cancel conversation, lets do that via command or text
.. literalinclude:: ../../../examples/finite_state_machine.py
:language: python
:linenos:
:lineno-start: 30
:lines: 30-45
:pyobject: cancel_handler
Complete example
----------------

View file

@ -1,3 +1,5 @@
.. _flags:
=====
Flags
=====
@ -54,8 +56,9 @@ Via filters
Use in middlewares
==================
.. automodule:: aiogram.flags.getter
:members:
.. automodule:: aiogram.dispatcher.flags
:members: extract_flags, get_flag, check_flags
Example in middlewares
----------------------

View file

@ -17,3 +17,4 @@ Contents
dispatcher/index
utils/index
changelog
contributing

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,7 @@ 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: 2022-12-30 22:28+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"
@ -62,10 +62,6 @@ msgid ""
"default value of destination and handle result of this method."
msgstr ""
#: aiogram.client.bot.Bot:1 of
msgid "Bot class"
msgstr ""
#: aiogram.client.bot.Bot.download_file:1 of
msgid "Download file by file_path to destination."
msgstr ""
@ -186,3 +182,6 @@ msgstr ""
#: ../../api/download_file.rst:93
msgid "Example:"
msgstr ""
#~ msgid "Bot class"
#~ msgstr ""

View file

@ -8,7 +8,7 @@ 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: 2022-12-30 22:28+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"
@ -18,9 +18,12 @@ msgstr ""
"Generated-By: Babel 2.10.3\n"
#: ../../api/enums/index.rst:3
msgid "Types"
msgid "Enums"
msgstr ""
#: ../../api/enums/index.rst:5
msgid "Here is list of all available enums:"
msgstr ""
#~ msgid "Types"
#~ msgstr ""

View file

@ -8,23 +8,29 @@ 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/enums/inline_query_result_type.rst:3
msgid "InlineQueryResultType"
msgstr ""
#: aiogram.enums.inline_query_result_type.InlineQueryResultType:1 of
msgid "The part of the face relative to which the mask should be placed."
msgid "Type of inline query result"
msgstr ""
#: aiogram.enums.inline_query_result_type.InlineQueryResultType:3 of
msgid "Source: https://core.telegram.org/bots/api#maskposition"
msgid "Source: https://core.telegram.org/bots/api#inlinequeryresult"
msgstr ""
#~ msgid "The part of the face relative to which the mask should be placed."
#~ msgstr ""
#~ msgid "Source: https://core.telegram.org/bots/api#maskposition"
#~ msgstr ""

View file

@ -0,0 +1,30 @@
# 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/enums/sticker_format.rst:3
msgid "StickerFormat"
msgstr ""
#: aiogram.enums.sticker_format.StickerFormat:1 of
msgid "Format of the sticker"
msgstr ""
#: aiogram.enums.sticker_format.StickerFormat:3 of
msgid "Source: https://core.telegram.org/bots/api#createnewstickerset"
msgstr ""

View file

@ -0,0 +1,30 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2022, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 23:19+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"
#: ../../api/enums/sticker_type.rst:3
msgid "StickerType"
msgstr ""
#: aiogram.enums.sticker_type.StickerType:1 of
msgid "The part of the face relative to which the mask should be placed."
msgstr ""
#: aiogram.enums.sticker_type.StickerType:3 of
msgid "Source: https://core.telegram.org/bots/api#maskposition"
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/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

@ -0,0 +1,80 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2022, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-12-30 22:28+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"
#: ../../api/methods/close_general_forum_topic.rst:3
msgid "closeGeneralForumTopic"
msgstr ""
#: ../../api/methods/close_general_forum_topic.rst:5
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.close_general_forum_topic.CloseGeneralForumTopic: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.methods.close_general_forum_topic.CloseGeneralForumTopic:3 of
msgid "Source: https://core.telegram.org/bots/api#closegeneralforumtopic"
msgstr ""
#: ../../docstring
#: aiogram.methods.close_general_forum_topic.CloseGeneralForumTopic.chat_id:1
#: of
msgid ""
"Unique identifier for the target chat or username of the target "
"supergroup (in the format :code:`@supergroupusername`)"
msgstr ""
#: ../../api/methods/close_general_forum_topic.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/close_general_forum_topic.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/close_general_forum_topic.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/close_general_forum_topic.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/close_general_forum_topic.rst:29
msgid ""
":code:`from aiogram.methods.close_general_forum_topic import "
"CloseGeneralForumTopic`"
msgstr ""
#: ../../api/methods/close_general_forum_topic.rst:30
msgid "alias: :code:`from aiogram.methods import CloseGeneralForumTopic`"
msgstr ""
#: ../../api/methods/close_general_forum_topic.rst:33
msgid "With specific bot"
msgstr ""
#: ../../api/methods/close_general_forum_topic.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/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,7 +8,7 @@ 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-01-07 23:01+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"
@ -49,7 +49,9 @@ msgid "Unique identifier for the target message thread of the forum topic"
msgstr ""
#: ../../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 specified or empty, the current "
"name of the topic will be kept"
msgstr ""
#: ../../docstring
@ -57,7 +59,8 @@ 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."
" 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 ""
#: ../../api/methods/edit_forum_topic.rst:14
@ -91,12 +94,3 @@ msgstr ""
#: ../../api/methods/edit_forum_topic.rst:40
msgid "As reply into Webhook in handler"
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

@ -0,0 +1,84 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2022, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-12-30 22:28+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"
#: ../../api/methods/edit_general_forum_topic.rst:3
msgid "editGeneralForumTopic"
msgstr ""
#: ../../api/methods/edit_general_forum_topic.rst:5
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.edit_general_forum_topic.EditGeneralForumTopic: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.methods.edit_general_forum_topic.EditGeneralForumTopic:3 of
msgid "Source: https://core.telegram.org/bots/api#editgeneralforumtopic"
msgstr ""
#: ../../docstring
#: aiogram.methods.edit_general_forum_topic.EditGeneralForumTopic.chat_id:1 of
msgid ""
"Unique identifier for the target chat or username of the target "
"supergroup (in the format :code:`@supergroupusername`)"
msgstr ""
#: ../../docstring
#: aiogram.methods.edit_general_forum_topic.EditGeneralForumTopic.name:1 of
msgid "New topic name, 1-128 characters"
msgstr ""
#: ../../api/methods/edit_general_forum_topic.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/edit_general_forum_topic.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/edit_general_forum_topic.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/edit_general_forum_topic.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/edit_general_forum_topic.rst:29
msgid ""
":code:`from aiogram.methods.edit_general_forum_topic import "
"EditGeneralForumTopic`"
msgstr ""
#: ../../api/methods/edit_general_forum_topic.rst:30
msgid "alias: :code:`from aiogram.methods import EditGeneralForumTopic`"
msgstr ""
#: ../../api/methods/edit_general_forum_topic.rst:33
msgid "With specific bot"
msgstr ""
#: ../../api/methods/edit_general_forum_topic.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-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/get_chat_member.rst:3
msgid "getChatMember"
@ -30,8 +30,10 @@ msgstr ""
#: aiogram.methods.get_chat_member.GetChatMember:1 of
msgid ""
"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 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
@ -83,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

@ -0,0 +1,79 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2022, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-12-30 22:28+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"
#: ../../api/methods/hide_general_forum_topic.rst:3
msgid "hideGeneralForumTopic"
msgstr ""
#: ../../api/methods/hide_general_forum_topic.rst:5
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.hide_general_forum_topic.HideGeneralForumTopic: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.methods.hide_general_forum_topic.HideGeneralForumTopic:3 of
msgid "Source: https://core.telegram.org/bots/api#hidegeneralforumtopic"
msgstr ""
#: ../../docstring
#: aiogram.methods.hide_general_forum_topic.HideGeneralForumTopic.chat_id:1 of
msgid ""
"Unique identifier for the target chat or username of the target "
"supergroup (in the format :code:`@supergroupusername`)"
msgstr ""
#: ../../api/methods/hide_general_forum_topic.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/hide_general_forum_topic.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/hide_general_forum_topic.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/hide_general_forum_topic.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/hide_general_forum_topic.rst:29
msgid ""
":code:`from aiogram.methods.hide_general_forum_topic import "
"HideGeneralForumTopic`"
msgstr ""
#: ../../api/methods/hide_general_forum_topic.rst:30
msgid "alias: :code:`from aiogram.methods import HideGeneralForumTopic`"
msgstr ""
#: ../../api/methods/hide_general_forum_topic.rst:33
msgid "With specific bot"
msgstr ""
#: ../../api/methods/hide_general_forum_topic.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-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

@ -0,0 +1,81 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2022, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-12-30 22:28+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"
#: ../../api/methods/reopen_general_forum_topic.rst:3
msgid "reopenGeneralForumTopic"
msgstr ""
#: ../../api/methods/reopen_general_forum_topic.rst:5
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.reopen_general_forum_topic.ReopenGeneralForumTopic: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.methods.reopen_general_forum_topic.ReopenGeneralForumTopic:3 of
msgid "Source: https://core.telegram.org/bots/api#reopengeneralforumtopic"
msgstr ""
#: ../../docstring
#: aiogram.methods.reopen_general_forum_topic.ReopenGeneralForumTopic.chat_id:1
#: of
msgid ""
"Unique identifier for the target chat or username of the target "
"supergroup (in the format :code:`@supergroupusername`)"
msgstr ""
#: ../../api/methods/reopen_general_forum_topic.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/reopen_general_forum_topic.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/reopen_general_forum_topic.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/reopen_general_forum_topic.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/reopen_general_forum_topic.rst:29
msgid ""
":code:`from aiogram.methods.reopen_general_forum_topic import "
"ReopenGeneralForumTopic`"
msgstr ""
#: ../../api/methods/reopen_general_forum_topic.rst:30
msgid "alias: :code:`from aiogram.methods import ReopenGeneralForumTopic`"
msgstr ""
#: ../../api/methods/reopen_general_forum_topic.rst:33
msgid "With specific bot"
msgstr ""
#: ../../api/methods/reopen_general_forum_topic.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-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,7 +8,7 @@ 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: 2022-12-30 22:28+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"
@ -104,6 +104,13 @@ msgid ""
"which can be specified instead of *parse_mode*"
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
#: aiogram.methods.send_animation.SendAnimation.disable_notification:1 of
msgid ""

View file

@ -8,7 +8,7 @@ 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: 2022-12-30 22:28+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"
@ -76,6 +76,11 @@ msgid ""
"<https://core.telegram.org/bots/api#sendvideonote>`_."
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
msgid "Usage"
msgstr ""

View file

@ -8,7 +8,7 @@ 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: 2022-12-30 22:28+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"
@ -77,6 +77,12 @@ msgid ""
"which can be specified instead of *parse_mode*"
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
#: 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,7 +8,7 @@ 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: 2022-12-30 22:28+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"
@ -103,6 +103,12 @@ msgid ""
"which can be specified instead of *parse_mode*"
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
msgid "Pass :code:`True` if the uploaded video is suitable for streaming"
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

@ -0,0 +1,80 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2022, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-12-30 22:28+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"
#: ../../api/methods/unhide_general_forum_topic.rst:3
msgid "unhideGeneralForumTopic"
msgstr ""
#: ../../api/methods/unhide_general_forum_topic.rst:5
msgid "Returns: :obj:`bool`"
msgstr ""
#: aiogram.methods.unhide_general_forum_topic.UnhideGeneralForumTopic: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 ""
#: aiogram.methods.unhide_general_forum_topic.UnhideGeneralForumTopic:3 of
msgid "Source: https://core.telegram.org/bots/api#unhidegeneralforumtopic"
msgstr ""
#: ../../docstring
#: aiogram.methods.unhide_general_forum_topic.UnhideGeneralForumTopic.chat_id:1
#: of
msgid ""
"Unique identifier for the target chat or username of the target "
"supergroup (in the format :code:`@supergroupusername`)"
msgstr ""
#: ../../api/methods/unhide_general_forum_topic.rst:14
msgid "Usage"
msgstr ""
#: ../../api/methods/unhide_general_forum_topic.rst:17
msgid "As bot method"
msgstr ""
#: ../../api/methods/unhide_general_forum_topic.rst:25
msgid "Method as object"
msgstr ""
#: ../../api/methods/unhide_general_forum_topic.rst:27
msgid "Imports:"
msgstr ""
#: ../../api/methods/unhide_general_forum_topic.rst:29
msgid ""
":code:`from aiogram.methods.unhide_general_forum_topic import "
"UnhideGeneralForumTopic`"
msgstr ""
#: ../../api/methods/unhide_general_forum_topic.rst:30
msgid "alias: :code:`from aiogram.methods import UnhideGeneralForumTopic`"
msgstr ""
#: ../../api/methods/unhide_general_forum_topic.rst:33
msgid "With specific bot"
msgstr ""
#: ../../api/methods/unhide_general_forum_topic.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 ""

View file

@ -0,0 +1,35 @@
# 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/types/bot_description.rst:3
msgid "BotDescription"
msgstr ""
#: aiogram.types.bot_description.BotDescription:1 of
msgid "This object represents the bot's description."
msgstr ""
#: aiogram.types.bot_description.BotDescription:3 of
msgid "Source: https://core.telegram.org/bots/api#botdescription"
msgstr ""
#: ../../docstring aiogram.types.bot_description.BotDescription.description:1
#: of
msgid "The bot's description"
msgstr ""

View file

@ -0,0 +1,36 @@
# 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/types/bot_short_description.rst:3
msgid "BotShortDescription"
msgstr ""
#: aiogram.types.bot_short_description.BotShortDescription:1 of
msgid "This object represents the bot's short description."
msgstr ""
#: aiogram.types.bot_short_description.BotShortDescription:3 of
msgid "Source: https://core.telegram.org/bots/api#botshortdescription"
msgstr ""
#: ../../docstring
#: aiogram.types.bot_short_description.BotShortDescription.short_description:1
#: of
msgid "The bot's short description"
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/types/chat.rst:3
msgid "Chat"
@ -162,6 +162,21 @@ msgid ""
":class:`aiogram.methods.get_chat.GetChat`."
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
msgid ""
"*Optional*. :code:`True`, if messages from the chat can't be forwarded to"
@ -641,6 +656,10 @@ msgid ""
msgstr ""
#: 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 ""
"instance of method "
":class:`aiogram.methods.send_chat_action.SendChatAction`"
@ -713,8 +732,10 @@ msgstr ""
#: aiogram.types.chat.Chat.get_member:6 of
msgid ""
"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 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.types.chat.Chat.get_member:8 of
@ -923,8 +944,20 @@ msgstr ""
msgid "A JSON-serialized object for new default chat permissions"
msgstr ""
#: aiogram.types.chat.Chat.restrict:12
#: aiogram.types.chat.Chat.set_permissions:11 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 ""
#: aiogram.types.chat.Chat.set_permissions:12 of
msgid ""
"instance of method "
":class:`aiogram.methods.set_chat_permissions.SetChatPermissions`"
msgstr ""
@ -989,7 +1022,7 @@ msgstr ""
#: aiogram.types.chat.Chat.promote:18 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 ""
@ -1043,14 +1076,14 @@ msgstr ""
msgid "A JSON-serialized object for new user permissions"
msgstr ""
#: aiogram.types.chat.Chat.restrict:12 of
#: aiogram.types.chat.Chat.restrict:13 of
msgid ""
"Date when restrictions will be lifted for the user, unix time. If user is"
" restricted for more than 366 days or less than 30 seconds from the "
"current time, they are considered to be restricted forever"
msgstr ""
#: aiogram.types.chat.Chat.restrict:13 of
#: aiogram.types.chat.Chat.restrict:14 of
msgid ""
"instance of method "
":class:`aiogram.methods.restrict_chat_member.RestrictChatMember`"
@ -1235,3 +1268,23 @@ msgstr ""
#: aiogram.types.chat.Chat.set_photo:11 of
msgid "instance of method :class:`aiogram.methods.set_chat_photo.SetChatPhoto`"
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 ""
#~ 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-06 14:18+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/types/chat_administrator_rights.rst:3
msgid "ChatAdministratorRights"
@ -68,7 +68,7 @@ msgstr ""
#: of
msgid ""
":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 the user)"
msgstr ""
@ -118,3 +118,13 @@ msgid ""
"*Optional*. :code:`True`, if the user is allowed to create, rename, "
"close, and reopen forum topics; supergroups only"
msgstr ""
#~ msgid ""
#~ ":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 "
#~ "the user)"
#~ 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/types/chat_join_request.rst:3
msgid "ChatJoinRequest"
@ -38,6 +38,18 @@ msgstr ""
msgid "User that sent the join request"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_join_request.ChatJoinRequest.user_chat_id:1 of
msgid ""
"Identifier of a private chat with the user who sent the join request. "
"This number may have more than 32 significant bits and some programming "
"languages may have difficulty/silent defects in interpreting it. But it "
"has at most 52 significant bits, so a 64-bit integer or double-precision "
"float type are safe for storing this identifier. The bot can use this "
"identifier for 24 hours to send messages until the join request is "
"processed, assuming no other administrator contacted the user."
msgstr ""
#: ../../docstring aiogram.types.chat_join_request.ChatJoinRequest.date:1 of
msgid "Date the request was sent in Unix time"
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/types/chat_member.rst:3
msgid "ChatMember"
@ -108,8 +108,8 @@ msgstr ""
#: of
msgid ""
"*Optional*. :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 "
" with a subset of their own privileges or demote administrators that they"
" have promoted, directly or indirectly (promoted by administrators that "
"were appointed by the user)"
msgstr ""
@ -158,14 +158,33 @@ msgstr ""
#: ../../docstring aiogram.types.chat_member.ChatMember.can_send_messages:1 of
msgid ""
"*Optional*. :code:`True`, if the user is allowed to send text messages, "
"contacts, locations and venues"
"contacts, invoices, locations and venues"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member.ChatMember.can_send_media_messages:1 of
msgid ""
"*Optional*. :code:`True`, if the user is allowed to send audios, "
"documents, photos, videos, video notes and voice notes"
#: ../../docstring aiogram.types.chat_member.ChatMember.can_send_audios:1 of
msgid "*Optional*. :code:`True`, if the user is allowed to send audios"
msgstr ""
#: ../../docstring aiogram.types.chat_member.ChatMember.can_send_documents:1 of
msgid "*Optional*. :code:`True`, if the user is allowed to send documents"
msgstr ""
#: ../../docstring aiogram.types.chat_member.ChatMember.can_send_photos:1 of
msgid "*Optional*. :code:`True`, if the user is allowed to send photos"
msgstr ""
#: ../../docstring aiogram.types.chat_member.ChatMember.can_send_videos:1 of
msgid "*Optional*. :code:`True`, if the user is allowed to send videos"
msgstr ""
#: ../../docstring aiogram.types.chat_member.ChatMember.can_send_video_notes:1
#: of
msgid "*Optional*. :code:`True`, if the user is allowed to send video notes"
msgstr ""
#: ../../docstring aiogram.types.chat_member.ChatMember.can_send_voice_notes:1
#: of
msgid "*Optional*. :code:`True`, if the user is allowed to send voice notes"
msgstr ""
#: ../../docstring aiogram.types.chat_member.ChatMember.can_send_polls:1 of
@ -194,3 +213,26 @@ msgstr ""
#~ msgid "..."
#~ msgstr ""
#~ msgid ""
#~ "*Optional*. :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"
#~ " the user)"
#~ msgstr ""
#~ msgid ""
#~ "*Optional*. :code:`True`, if the user is"
#~ " allowed to send text messages, "
#~ "contacts, locations and venues"
#~ msgstr ""
#~ msgid ""
#~ "*Optional*. :code:`True`, if the user is"
#~ " allowed to send audios, documents, "
#~ "photos, videos, video notes and voice"
#~ " notes"
#~ msgstr ""

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-06 14:18+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/types/chat_member_administrator.rst:3
msgid "ChatMemberAdministrator"
@ -89,7 +89,7 @@ msgstr ""
#: of
msgid ""
":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 the user)"
msgstr ""
@ -145,3 +145,13 @@ msgstr ""
#: of
msgid "*Optional*. Custom title for this user"
msgstr ""
#~ msgid ""
#~ ":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 "
#~ "the user)"
#~ msgstr ""

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-06 14:18+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/types/chat_member_restricted.rst:3
msgid "ChatMemberRestricted"
@ -49,6 +49,72 @@ msgid ""
"request"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_messages:1
#: of
msgid ""
":code:`True`, if the user is allowed to send text messages, contacts, "
"invoices, locations and venues"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_audios:1
#: of
msgid ":code:`True`, if the user is allowed to send audios"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_documents:1
#: of
msgid ":code:`True`, if the user is allowed to send documents"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_photos:1
#: of
msgid ":code:`True`, if the user is allowed to send photos"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_videos:1
#: of
msgid ":code:`True`, if the user is allowed to send videos"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_video_notes:1
#: of
msgid ":code:`True`, if the user is allowed to send video notes"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_voice_notes:1
#: of
msgid ":code:`True`, if the user is allowed to send voice notes"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_polls:1
#: of
msgid ":code:`True`, if the user is allowed to send polls"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_other_messages:1
#: of
msgid ""
":code:`True`, if the user is allowed to send animations, games, stickers "
"and use inline bots"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_add_web_page_previews:1
#: of
msgid ""
":code:`True`, if the user is allowed to add web page previews to their "
"messages"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_change_info:1
#: of
@ -75,47 +141,21 @@ msgstr ""
msgid ":code:`True`, if the user is allowed to create forum topics"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_messages:1
#: of
msgid ""
":code:`True`, if the user is allowed to send text messages, contacts, "
"locations and venues"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_media_messages:1
#: of
msgid ""
":code:`True`, if the user is allowed to send audios, documents, photos, "
"videos, video notes and voice notes"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_polls:1
#: of
msgid ":code:`True`, if the user is allowed to send polls"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_send_other_messages:1
#: of
msgid ""
":code:`True`, if the user is allowed to send animations, games, stickers "
"and use inline bots"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.can_add_web_page_previews:1
#: of
msgid ""
":code:`True`, if the user is allowed to add web page previews to their "
"messages"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_member_restricted.ChatMemberRestricted.until_date:1 of
msgid ""
"Date when restrictions will be lifted for this user; unix time. If 0, "
"then the user is restricted forever"
msgstr ""
#~ msgid ""
#~ ":code:`True`, if the user is allowed "
#~ "to send text messages, contacts, "
#~ "locations and venues"
#~ msgstr ""
#~ msgid ""
#~ ":code:`True`, if the user is allowed "
#~ "to send audios, documents, photos, "
#~ "videos, video notes and voice notes"
#~ msgstr ""

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-06 14:18+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/types/chat_permissions.rst:3
msgid "ChatPermissions"
@ -35,29 +35,49 @@ msgstr ""
#: aiogram.types.chat_permissions.ChatPermissions.can_send_messages:1 of
msgid ""
"*Optional*. :code:`True`, if the user is allowed to send text messages, "
"contacts, locations and venues"
"contacts, invoices, locations and venues"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_permissions.ChatPermissions.can_send_media_messages:1 of
msgid ""
"*Optional*. :code:`True`, if the user is allowed to send audios, "
"documents, photos, videos, video notes and voice notes, implies "
"can_send_messages"
#: aiogram.types.chat_permissions.ChatPermissions.can_send_audios:1 of
msgid "*Optional*. :code:`True`, if the user is allowed to send audios"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_permissions.ChatPermissions.can_send_documents:1 of
msgid "*Optional*. :code:`True`, if the user is allowed to send documents"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_permissions.ChatPermissions.can_send_photos:1 of
msgid "*Optional*. :code:`True`, if the user is allowed to send photos"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_permissions.ChatPermissions.can_send_videos:1 of
msgid "*Optional*. :code:`True`, if the user is allowed to send videos"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_permissions.ChatPermissions.can_send_video_notes:1 of
msgid "*Optional*. :code:`True`, if the user is allowed to send video notes"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_permissions.ChatPermissions.can_send_voice_notes:1 of
msgid "*Optional*. :code:`True`, if the user is allowed to send voice notes"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_permissions.ChatPermissions.can_send_polls:1 of
msgid ""
"*Optional*. :code:`True`, if the user is allowed to send polls, implies "
"can_send_messages"
msgid "*Optional*. :code:`True`, if the user is allowed to send polls"
msgstr ""
#: ../../docstring
#: aiogram.types.chat_permissions.ChatPermissions.can_send_other_messages:1 of
msgid ""
"*Optional*. :code:`True`, if the user is allowed to send animations, "
"games, stickers and use inline bots, implies can_send_media_messages"
"games, stickers and use inline bots"
msgstr ""
#: ../../docstring
@ -65,7 +85,7 @@ msgstr ""
#: of
msgid ""
"*Optional*. :code:`True`, if the user is allowed to add web page previews"
" to their messages, implies can_send_media_messages"
" to their messages"
msgstr ""
#: ../../docstring
@ -95,3 +115,36 @@ msgid ""
"*Optional*. :code:`True`, if the user is allowed to create forum topics. "
"If omitted defaults to the value of can_pin_messages"
msgstr ""
#~ msgid ""
#~ "*Optional*. :code:`True`, if the user is"
#~ " allowed to send text messages, "
#~ "contacts, locations and venues"
#~ msgstr ""
#~ msgid ""
#~ "*Optional*. :code:`True`, if the user is"
#~ " allowed to send audios, documents, "
#~ "photos, videos, video notes and voice"
#~ " notes, implies can_send_messages"
#~ msgstr ""
#~ msgid ""
#~ "*Optional*. :code:`True`, if the user is"
#~ " allowed to send polls, implies "
#~ "can_send_messages"
#~ msgstr ""
#~ msgid ""
#~ "*Optional*. :code:`True`, if the user is"
#~ " allowed to send animations, games, "
#~ "stickers and use inline bots, implies"
#~ " can_send_media_messages"
#~ msgstr ""
#~ msgid ""
#~ "*Optional*. :code:`True`, if the user is"
#~ " allowed to add web page previews "
#~ "to their messages, implies "
#~ "can_send_media_messages"
#~ msgstr ""

View file

@ -0,0 +1,49 @@
# 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/types/chat_shared.rst:3
msgid "ChatShared"
msgstr ""
#: aiogram.types.chat_shared.ChatShared:1 of
msgid ""
"This object contains information about the chat whose identifier was "
"shared with the bot using a "
":class:`aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat`"
" button."
msgstr ""
#: aiogram.types.chat_shared.ChatShared:3 of
msgid "Source: https://core.telegram.org/bots/api#chatshared"
msgstr ""
#: ../../docstring aiogram.types.chat_shared.ChatShared.request_id:1 of
msgid "Identifier of the request"
msgstr ""
#: ../../docstring aiogram.types.chat_shared.ChatShared.chat_id:1 of
msgid ""
"Identifier of the shared chat. This number may have more than 32 "
"significant bits and some programming languages may have "
"difficulty/silent defects in interpreting it. But it has at most 52 "
"significant bits, so a 64-bit integer or double-precision float type are "
"safe for storing this identifier. The bot may not have access to the chat"
" and could be unable to use this identifier, unless the chat is already "
"known to the bot by some other means."
msgstr ""

View file

@ -8,7 +8,7 @@ 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: 2022-12-30 22:28+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"
@ -27,6 +27,10 @@ msgid ""
" from Telegram"
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
msgid "Received update"
msgstr ""

View file

@ -0,0 +1,41 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2022, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-12-30 22:28+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"
#: ../../api/types/forum_topic_edited.rst:3
msgid "ForumTopicEdited"
msgstr ""
#: aiogram.types.forum_topic_edited.ForumTopicEdited:1 of
msgid "This object represents a service message about an edited forum topic."
msgstr ""
#: aiogram.types.forum_topic_edited.ForumTopicEdited:3 of
msgid "Source: https://core.telegram.org/bots/api#forumtopicedited"
msgstr ""
#: ../../docstring aiogram.types.forum_topic_edited.ForumTopicEdited.name:1 of
msgid "*Optional*. New name of the topic, if it was edited"
msgstr ""
#: ../../docstring
#: aiogram.types.forum_topic_edited.ForumTopicEdited.icon_custom_emoji_id:1 of
msgid ""
"*Optional*. New identifier of the custom emoji shown as the topic icon, "
"if it was edited; an empty string if the icon was removed"
msgstr ""

View file

@ -0,0 +1,32 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2022, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-12-30 22:28+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"
#: ../../api/types/general_forum_topic_hidden.rst:3
msgid "GeneralForumTopicHidden"
msgstr ""
#: aiogram.types.general_forum_topic_hidden.GeneralForumTopicHidden:1 of
msgid ""
"This object represents a service message about General forum topic hidden"
" in the chat. Currently holds no information."
msgstr ""
#: aiogram.types.general_forum_topic_hidden.GeneralForumTopicHidden:3 of
msgid "Source: https://core.telegram.org/bots/api#generalforumtopichidden"
msgstr ""

View file

@ -0,0 +1,32 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2022, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-12-30 22:28+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"
#: ../../api/types/general_forum_topic_unhidden.rst:3
msgid "GeneralForumTopicUnhidden"
msgstr ""
#: aiogram.types.general_forum_topic_unhidden.GeneralForumTopicUnhidden:1 of
msgid ""
"This object represents a service message about General forum topic "
"unhidden in the chat. Currently holds no information."
msgstr ""
#: aiogram.types.general_forum_topic_unhidden.GeneralForumTopicUnhidden:3 of
msgid "Source: https://core.telegram.org/bots/api#generalforumtopicunhidden"
msgstr ""

View file

@ -8,7 +8,7 @@ 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: 2022-12-30 22:28+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"
@ -33,25 +33,29 @@ msgstr ""
msgid "Available types"
msgstr ""
#: ../../api/types/index.rst:130
#: ../../api/types/index.rst:134
msgid "Telegram Passport"
msgstr ""
#: ../../api/types/index.rst:151
#: ../../api/types/index.rst:155
msgid "Getting updates"
msgstr ""
#: ../../api/types/index.rst:160
#: ../../api/types/index.rst:164
msgid "Stickers"
msgstr ""
#: ../../api/types/index.rst:170
#: ../../api/types/index.rst:174
msgid "Payments"
msgstr ""
#: ../../api/types/index.rst:185
#: ../../api/types/index.rst:189
msgid "Games"
msgstr ""
#: ../../api/types/index.rst:199
msgid "Internals"
msgstr ""
#~ msgid "Internal events"
#~ msgstr ""

View file

@ -8,7 +8,7 @@ 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: 2022-12-30 22:28+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"
@ -97,3 +97,10 @@ msgstr ""
#: aiogram.types.input_media_animation.InputMediaAnimation.duration:1 of
msgid "*Optional*. Animation duration in seconds"
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 ""
"Project-Id-Version: aiogram \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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -62,3 +62,10 @@ msgid ""
"*Optional*. List of special entities that appear in the caption, which "
"can be specified instead of *parse_mode*"
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 ""
"Project-Id-Version: aiogram \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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -95,3 +95,10 @@ msgid ""
"*Optional*. Pass :code:`True` if the uploaded video is suitable for "
"streaming"
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

@ -0,0 +1,56 @@
# 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/types/input_sticker.rst:3
msgid "InputSticker"
msgstr ""
#: aiogram.types.input_sticker.InputSticker:1 of
msgid "This object describes a sticker to be added to a sticker set."
msgstr ""
#: aiogram.types.input_sticker.InputSticker:3 of
msgid "Source: https://core.telegram.org/bots/api#inputsticker"
msgstr ""
#: ../../docstring aiogram.types.input_sticker.InputSticker.sticker:1 of
msgid ""
"The added sticker. Pass a *file_id* as a String to send a file that "
"already exists on the Telegram servers, pass an HTTP URL as a String for "
"Telegram to get a file from the Internet, or upload a new one using "
"multipart/form-data. Animated and video stickers can't be uploaded via "
"HTTP URL. :ref:`More information on Sending Files » <sending-files>`"
msgstr ""
#: ../../docstring aiogram.types.input_sticker.InputSticker.emoji_list:1 of
msgid "List of 1-20 emoji associated with the sticker"
msgstr ""
#: ../../docstring aiogram.types.input_sticker.InputSticker.mask_position:1 of
msgid ""
"*Optional*. Position where the mask should be placed on faces. For 'mask'"
" stickers only."
msgstr ""
#: ../../docstring aiogram.types.input_sticker.InputSticker.keywords:1 of
msgid ""
"*Optional*. List of 0-20 search keywords for the sticker with total "
"length of up to 64 characters. For 'regular' and 'custom_emoji' stickers "
"only."
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/types/keyboard_button.rst:3
msgid "KeyboardButton"
@ -24,12 +24,12 @@ msgstr ""
#: aiogram.types.keyboard_button.KeyboardButton:1 of
msgid ""
"This object represents one button of the reply keyboard. For simple text "
"buttons *String* can be used instead of this object to specify text of "
"the button. Optional fields *web_app*, *request_contact*, "
"*request_location*, and *request_poll* are mutually exclusive. **Note:** "
"*request_contact* and *request_location* options will only work in "
"Telegram versions released after 9 April, 2016. Older clients will "
"display *unsupported message*."
"buttons, *String* can be used instead of this object to specify the "
"button text. The optional fields *web_app*, *request_user*, "
"*request_chat*, *request_contact*, *request_location*, and *request_poll*"
" are mutually exclusive. **Note:** *request_contact* and "
"*request_location* options will only work in Telegram versions released "
"after 9 April, 2016. Older clients will display *unsupported message*."
msgstr ""
#: aiogram.types.keyboard_button.KeyboardButton:4 of
@ -46,6 +46,13 @@ msgid ""
msgstr ""
#: aiogram.types.keyboard_button.KeyboardButton:8 of
msgid ""
"**Note:** *request_user* and *request_chat* options will only work in "
"Telegram versions released after 3 February, 2023. Older clients will "
"display *unsupported message*."
msgstr ""
#: aiogram.types.keyboard_button.KeyboardButton:10 of
msgid "Source: https://core.telegram.org/bots/api#keyboardbutton"
msgstr ""
@ -55,6 +62,22 @@ msgid ""
"sent as a message when the button is pressed"
msgstr ""
#: ../../docstring aiogram.types.keyboard_button.KeyboardButton.request_user:1
#: of
msgid ""
"*Optional.* If specified, pressing the button will open a list of "
"suitable users. Tapping on any user will send their identifier to the bot"
" in a 'user_shared' service message. Available in private chats only."
msgstr ""
#: ../../docstring aiogram.types.keyboard_button.KeyboardButton.request_chat:1
#: of
msgid ""
"*Optional.* If specified, pressing the button will open a list of "
"suitable chats. Tapping on a chat will send its identifier to the bot in "
"a 'chat_shared' service message. Available in private chats only."
msgstr ""
#: ../../docstring
#: aiogram.types.keyboard_button.KeyboardButton.request_contact:1 of
msgid ""
@ -84,3 +107,18 @@ msgid ""
"button is pressed. The Web App will be able to send a 'web_app_data' "
"service message. Available in private chats only."
msgstr ""
#~ msgid ""
#~ "This object represents one button of "
#~ "the reply keyboard. For simple text "
#~ "buttons *String* can be used instead "
#~ "of this object to specify text of"
#~ " the button. Optional fields *web_app*, "
#~ "*request_contact*, *request_location*, and "
#~ "*request_poll* are mutually exclusive. "
#~ "**Note:** *request_contact* and *request_location*"
#~ " options will only work in Telegram"
#~ " versions released after 9 April, "
#~ "2016. Older clients will display "
#~ "*unsupported message*."
#~ msgstr ""

View file

@ -0,0 +1,104 @@
# 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/types/keyboard_button_request_chat.rst:3
msgid "KeyboardButtonRequestChat"
msgstr ""
#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat:1 of
msgid ""
"This object defines the criteria used to request a suitable chat. The "
"identifier of the selected chat will be shared with the bot when the "
"corresponding button is pressed."
msgstr ""
#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat:3 of
msgid "Source: https://core.telegram.org/bots/api#keyboardbuttonrequestchat"
msgstr ""
#: ../../docstring
#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.request_id:1
#: of
msgid ""
"Signed 32-bit identifier of the request, which will be received back in "
"the :class:`aiogram.types.chat_shared.ChatShared` object. Must be unique "
"within the message"
msgstr ""
#: ../../docstring
#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.chat_is_channel:1
#: of
msgid ""
"Pass :code:`True` to request a channel chat, pass :code:`False` to "
"request a group or a supergroup chat."
msgstr ""
#: ../../docstring
#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.chat_is_forum:1
#: of
msgid ""
"*Optional*. Pass :code:`True` to request a forum supergroup, pass "
":code:`False` to request a non-forum chat. If not specified, no "
"additional restrictions are applied."
msgstr ""
#: ../../docstring
#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.chat_has_username:1
#: of
msgid ""
"*Optional*. Pass :code:`True` to request a supergroup or a channel with a"
" username, pass :code:`False` to request a chat without a username. If "
"not specified, no additional restrictions are applied."
msgstr ""
#: ../../docstring
#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.chat_is_created:1
#: of
msgid ""
"*Optional*. Pass :code:`True` to request a chat owned by the user. "
"Otherwise, no additional restrictions are applied."
msgstr ""
#: ../../docstring
#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.user_administrator_rights:1
#: of
msgid ""
"*Optional*. A JSON-serialized object listing the required administrator "
"rights of the user in the chat. The rights must be a superset of "
"*bot_administrator_rights*. If not specified, no additional restrictions "
"are applied."
msgstr ""
#: ../../docstring
#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.bot_administrator_rights:1
#: of
msgid ""
"*Optional*. A JSON-serialized object listing the required administrator "
"rights of the bot in the chat. The rights must be a subset of "
"*user_administrator_rights*. If not specified, no additional restrictions"
" are applied."
msgstr ""
#: ../../docstring
#: aiogram.types.keyboard_button_request_chat.KeyboardButtonRequestChat.bot_is_member:1
#: of
msgid ""
"*Optional*. Pass :code:`True` to request a chat with the bot as a member."
" Otherwise, no additional restrictions are applied."
msgstr ""

View file

@ -0,0 +1,60 @@
# 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/types/keyboard_button_request_user.rst:3
msgid "KeyboardButtonRequestUser"
msgstr ""
#: aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser:1 of
msgid ""
"This object defines the criteria used to request a suitable user. The "
"identifier of the selected user will be shared with the bot when the "
"corresponding button is pressed."
msgstr ""
#: aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser:3 of
msgid "Source: https://core.telegram.org/bots/api#keyboardbuttonrequestuser"
msgstr ""
#: ../../docstring
#: aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser.request_id:1
#: of
msgid ""
"Signed 32-bit identifier of the request, which will be received back in "
"the :class:`aiogram.types.user_shared.UserShared` object. Must be unique "
"within the message"
msgstr ""
#: ../../docstring
#: aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser.user_is_bot:1
#: of
msgid ""
"*Optional*. Pass :code:`True` to request a bot, pass :code:`False` to "
"request a regular user. If not specified, no additional restrictions are "
"applied."
msgstr ""
#: ../../docstring
#: aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser.user_is_premium:1
#: of
msgid ""
"*Optional*. Pass :code:`True` to request a premium user, pass "
":code:`False` to request a non-premium user. If not specified, no "
"additional restrictions are applied."
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/types/message.rst:3
msgid "Message"
@ -199,6 +199,12 @@ msgid ""
" URLs, bot commands, etc. that appear in the caption"
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
msgid "*Optional*. Message is a shared contact, information about the contact"
msgstr ""
@ -322,6 +328,14 @@ msgid ""
"<https://core.telegram.org/bots/api#payments>`_"
msgstr ""
#: ../../docstring aiogram.types.message.Message.user_shared:1 of
msgid "*Optional*. Service message: a user was shared with the bot"
msgstr ""
#: ../../docstring aiogram.types.message.Message.chat_shared:1 of
msgid "*Optional*. Service message: a chat was shared with the bot"
msgstr ""
#: ../../docstring aiogram.types.message.Message.connected_website:1 of
msgid ""
"*Optional*. The domain name of the website on which the user has logged "
@ -329,6 +343,12 @@ msgid ""
"<https://core.telegram.org/widgets/login>`_"
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
msgid "*Optional*. Telegram Passport data"
msgstr ""
@ -343,6 +363,10 @@ msgstr ""
msgid "*Optional*. Service message: forum topic created"
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
msgid "*Optional*. Service message: forum topic closed"
msgstr ""
@ -351,6 +375,16 @@ msgstr ""
msgid "*Optional*. Service message: forum topic reopened"
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
msgid "*Optional*. Service message: video chat scheduled"
msgstr ""
@ -627,8 +661,15 @@ msgid ""
"which can be specified instead of *parse_mode*"
msgstr ""
#: aiogram.types.message.Message.answer:15
#: 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_contact:15
#: aiogram.types.message.Message.answer_dice:12
@ -636,17 +677,17 @@ msgstr ""
#: aiogram.types.message.Message.answer_game:12
#: aiogram.types.message.Message.answer_invoice:32
#: 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_sticker:12
#: aiogram.types.message.Message.answer_sticker:13
#: 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_voice:16
#: aiogram.types.message.Message.copy_to:16
#: aiogram.types.message.Message.forward:13
#: 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_contact:16
#: aiogram.types.message.Message.reply_dice:13
@ -654,11 +695,11 @@ msgstr ""
#: aiogram.types.message.Message.reply_game:13
#: aiogram.types.message.Message.reply_invoice:33
#: 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_sticker:13
#: aiogram.types.message.Message.reply_sticker:14
#: 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_voice:17 of
msgid ""
@ -667,41 +708,41 @@ msgid ""
msgstr ""
#: 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_contact:16
#: aiogram.types.message.Message.answer_document:18
#: aiogram.types.message.Message.answer_game:13
#: aiogram.types.message.Message.answer_invoice:33
#: 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_sticker:13
#: aiogram.types.message.Message.answer_sticker:14
#: 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_voice:17
#: aiogram.types.message.Message.copy_to: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_contact:17
#: aiogram.types.message.Message.reply_document:19
#: aiogram.types.message.Message.reply_game:14
#: aiogram.types.message.Message.reply_invoice:34
#: 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_sticker:14
#: aiogram.types.message.Message.reply_sticker:15
#: 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_voice:18 of
msgid "Protects the contents of the sent message from forwarding and saving"
msgstr ""
#: 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_contact:18
#: aiogram.types.message.Message.answer_dice:15
@ -710,16 +751,16 @@ msgstr ""
#: aiogram.types.message.Message.answer_invoice:35
#: aiogram.types.message.Message.answer_location:20
#: 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_sticker:15
#: aiogram.types.message.Message.answer_sticker:16
#: 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_voice:19
#: aiogram.types.message.Message.copy_to:19
#: 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_contact:18
#: aiogram.types.message.Message.reply_dice:15
@ -728,11 +769,11 @@ msgstr ""
#: aiogram.types.message.Message.reply_invoice:35
#: aiogram.types.message.Message.reply_location:20
#: 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_sticker:15
#: aiogram.types.message.Message.reply_sticker:16
#: 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_voice:19 of
msgid ""
@ -741,32 +782,32 @@ msgid ""
msgstr ""
#: 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_contact:19
#: aiogram.types.message.Message.answer_dice:16
#: aiogram.types.message.Message.answer_document: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_sticker:16
#: aiogram.types.message.Message.answer_sticker:17
#: 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_voice:20
#: aiogram.types.message.Message.copy_to:20
#: 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_contact:19
#: aiogram.types.message.Message.reply_dice:16
#: aiogram.types.message.Message.reply_document: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_sticker:16
#: aiogram.types.message.Message.reply_sticker:17
#: 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_voice:20 of
msgid ""
@ -824,13 +865,13 @@ msgstr ""
msgid "Returns"
msgstr ""
#: aiogram.types.message.Message.answer_animation:24
#: aiogram.types.message.Message.reply_animation:24 of
#: aiogram.types.message.Message.answer_animation:25
#: aiogram.types.message.Message.reply_animation:25 of
msgid "instance of method :class:`aiogram.methods.send_animation.SendAnimation`"
msgstr ""
#: 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_contact:17
#: aiogram.types.message.Message.answer_dice:14
@ -838,11 +879,11 @@ msgstr ""
#: aiogram.types.message.Message.answer_game:14
#: aiogram.types.message.Message.answer_invoice:34
#: 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_sticker:14
#: aiogram.types.message.Message.answer_sticker:15
#: 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_voice:18
#: aiogram.types.message.Message.copy_to:18 of
@ -1450,8 +1491,15 @@ msgid ""
"details."
msgstr ""
#: aiogram.types.message.Message.answer_photo:20
#: aiogram.types.message.Message.reply_photo:20 of
#: aiogram.types.message.Message.answer_photo:15
#: 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`"
msgstr ""
@ -1626,13 +1674,19 @@ 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 ""
#: aiogram.types.message.Message.answer_sticker:17
#: aiogram.types.message.Message.reply_sticker:17 of
#: aiogram.types.message.Message.answer_sticker:12
#: aiogram.types.message.Message.reply_sticker:13 of
msgid "Emoji associated with the sticker; only for just uploaded stickers"
msgstr ""
#: aiogram.types.message.Message.answer_sticker:18
#: aiogram.types.message.Message.reply_sticker:18 of
msgid "instance of method :class:`aiogram.methods.send_sticker.SendSticker`"
msgstr ""
@ -1772,11 +1826,18 @@ msgstr ""
#: aiogram.types.message.Message.answer_video:19
#: 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"
msgstr ""
#: aiogram.types.message.Message.answer_video:25
#: aiogram.types.message.Message.reply_video:25 of
#: aiogram.types.message.Message.answer_video:26
#: aiogram.types.message.Message.reply_video:26 of
msgid "instance of method :class:`aiogram.methods.send_video.SendVideo`"
msgstr ""
@ -2489,3 +2550,15 @@ msgstr ""
#~ msgid "Copy message"
#~ 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,7 +8,7 @@ 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: 2022-12-30 22:28+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"
@ -41,6 +41,14 @@ msgid ""
":class:`aiogram.types.keyboard_button.KeyboardButton` objects"
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
#: aiogram.types.reply_keyboard_markup.ReplyKeyboardMarkup.resize_keyboard: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/types/sticker.rst:3
msgid "Sticker"
@ -66,7 +66,7 @@ msgid ""
"<https://telegram.org/blog/video-stickers-better-reactions>`_"
msgstr ""
#: ../../docstring aiogram.types.sticker.Sticker.thumb:1 of
#: ../../docstring aiogram.types.sticker.Sticker.thumbnail:1 of
msgid "*Optional*. Sticker thumbnail in the .WEBP or .JPG format"
msgstr ""
@ -96,6 +96,14 @@ msgid ""
"emoji"
msgstr ""
#: ../../docstring aiogram.types.sticker.Sticker.needs_repainting:1 of
msgid ""
"*Optional*. :code:`True`, if the sticker must be repainted to a text "
"color in messages, the color of the Telegram Premium badge in emoji "
"status, white color on chat photos, or another appropriate color in other"
" places"
msgstr ""
#: ../../docstring aiogram.types.sticker.Sticker.file_size:1 of
msgid "*Optional*. File size in bytes"
msgstr ""

View file

@ -0,0 +1,49 @@
# 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/types/user_shared.rst:3
msgid "UserShared"
msgstr ""
#: aiogram.types.user_shared.UserShared:1 of
msgid ""
"This object contains information about the user whose identifier was "
"shared with the bot using a "
":class:`aiogram.types.keyboard_button_request_user.KeyboardButtonRequestUser`"
" button."
msgstr ""
#: aiogram.types.user_shared.UserShared:3 of
msgid "Source: https://core.telegram.org/bots/api#usershared"
msgstr ""
#: ../../docstring aiogram.types.user_shared.UserShared.request_id:1 of
msgid "Identifier of the request"
msgstr ""
#: ../../docstring aiogram.types.user_shared.UserShared.user_id:1 of
msgid ""
"Identifier of the shared user. This number may have more than 32 "
"significant bits and some programming languages may have "
"difficulty/silent defects in interpreting it. But it has at most 52 "
"significant bits, so a 64-bit integer or double-precision float type are "
"safe for storing this identifier. The bot may not have access to the user"
" and could be unable to use this identifier, unless the user is already "
"known to the bot by some other means."
msgstr ""

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