Compare commits

..

No commits in common. "v3.27.0" and "dev-3.x" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View file

@ -247,11 +247,11 @@ msgstr ""
#: ../../migration_2_to_3.rst:85 #: ../../migration_2_to_3.rst:85
msgid "" msgid ""
"All API methods are now classes with validation, implemented via " "All API methods are now classes with validation, implemented via "
"`pydantic <https://docs.pydantic.dev/>`_. These API calls are also " "`pydantic <https://docs.pydantic.dev/>`. These API calls are also "
"available as methods in the Bot class." "available as methods in the Bot class."
msgstr "" msgstr ""
"Всі методи API тепер є класами з валідацією, реалізованими через " "Всі методи API тепер є класами з валідацією, реалізованими через "
"`pydantic <https://docs.pydantic.dev/>`_. Ці виклики API також доступні як" "`pydantic <https://docs.pydantic.dev/>`. Ці виклики API також доступні як"
" методи в класі Bot." " методи в класі Bot."
#: ../../migration_2_to_3.rst:88 #: ../../migration_2_to_3.rst:88

View file

@ -83,7 +83,7 @@ Bot API
======= =======
- All API methods are now classes with validation, implemented via - All API methods are now classes with validation, implemented via
`pydantic <https://docs.pydantic.dev/>`_. `pydantic <https://docs.pydantic.dev/>`.
These API calls are also available as methods in the Bot class. These API calls are also available as methods in the Bot class.
- More pre-defined Enums have been added and moved to the `aiogram.enums` sub-package. - More pre-defined Enums have been added and moved to the `aiogram.enums` sub-package.
For example, the chat type enum is now :class:`aiogram.enums.ChatType` instead of :class:`aiogram.types.chat.ChatType`. For example, the chat type enum is now :class:`aiogram.enums.ChatType` instead of :class:`aiogram.types.chat.ChatType`.