mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Merge branch 'dev-3.x'
This commit is contained in:
commit
21c74c73d0
77 changed files with 740 additions and 139 deletions
|
|
@ -228,6 +228,7 @@ Payments
|
|||
successful_payment
|
||||
transaction_partner
|
||||
transaction_partner_affiliate_program
|
||||
transaction_partner_chat
|
||||
transaction_partner_fragment
|
||||
transaction_partner_other
|
||||
transaction_partner_telegram_ads
|
||||
|
|
|
|||
10
docs/api/types/transaction_partner_chat.rst
Normal file
10
docs/api/types/transaction_partner_chat.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
######################
|
||||
TransactionPartnerChat
|
||||
######################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.transaction_partner_chat
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
|
|
@ -12,7 +12,7 @@ By default you will need to override only method :code:`async def handle(self) -
|
|||
|
||||
This class also has a default initializer and you don't need to change it.
|
||||
The initializer accepts the incoming event and all contextual data, which
|
||||
can be accessed from the handler through attributes: :code:`event: TelegramEvent` and :code:`data: Dict[Any, str]`
|
||||
can be accessed from the handler through attributes: :code:`event: TelegramEvent` and :code:`data: Dict[str, Any]`
|
||||
|
||||
If an instance of the bot is specified in context data or current context it can be accessed through *bot* class attribute.
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ They allow you to control and manage the flow of the conversation in a more orga
|
|||
Scene Lifecycle
|
||||
---------------
|
||||
|
||||
Each Scene can be "entered", "left" of "exited", allowing for clear transitions between different
|
||||
Each Scene can be "entered", "left" or "exited", allowing for clear transitions between different
|
||||
stages of the conversation.
|
||||
For instance, in a multi-step form filling interaction, each step could be a Scene -
|
||||
the bot guides the user from one Scene to the next as they provide the required information.
|
||||
|
|
|
|||
|
|
@ -47,12 +47,12 @@ msgid ""
|
|||
"This class also has a default initializer and you don't need to change "
|
||||
"it. The initializer accepts the incoming event and all contextual data, "
|
||||
"which can be accessed from the handler through attributes: :code:`event: "
|
||||
"TelegramEvent` and :code:`data: Dict[Any, str]`"
|
||||
"TelegramEvent` and :code:`data: Dict[str, Any]`"
|
||||
msgstr ""
|
||||
"Цей клас також має ініціалізатор за замовчуванням, і вам не потрібно його"
|
||||
" змінювати. Ініціалізатор приймає поточну подію та всі контекстні дані, "
|
||||
"доступ до яких можна отримати з обробника через атрибути: :code:`event: "
|
||||
"TelegramEvent` and :code:`data: Dict[Any, str]`"
|
||||
"TelegramEvent` and :code:`data: Dict[str, Any]`"
|
||||
|
||||
#: ../../dispatcher/class_based_handlers/base.rst:17
|
||||
#, fuzzy
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ msgstr ""
|
|||
|
||||
#: ../../../README.rst:71
|
||||
msgid "If you have any questions, you can visit our community chats on Telegram:"
|
||||
msgstr "Якщо є якість додаткові запитання, ласкаво просимо до онлайн-спільнот:"
|
||||
msgstr "Якщо є додаткові запитання, ласкаво просимо до онлайн-спільнот:"
|
||||
|
||||
#: ../../../README.rst:73
|
||||
msgid "🇺🇸 `@aiogram <https://t.me/aiogram>`_"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue