mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added support of Bot API 6.2
This commit is contained in:
parent
4315ecf1a2
commit
bc88bf8571
64 changed files with 237 additions and 271 deletions
|
|
@ -108,6 +108,7 @@ Stickers
|
|||
|
||||
send_sticker
|
||||
get_sticker_set
|
||||
get_custom_emoji_stickers
|
||||
upload_sticker_file
|
||||
create_new_sticker_set
|
||||
add_sticker_to_set
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_chat_action import SendChatAction`
|
||||
- alias: :code:`from aiogram.methods import SendChatAction`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await SendChatAction(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.set_chat_sticker_set import SetChatStickerSet`
|
||||
- alias: :code:`from aiogram.methods import SetChatStickerSet`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await SetChatStickerSet(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.set_chat_title import SetChatTitle`
|
||||
- alias: :code:`from aiogram.methods import SetChatTitle`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await SetChatTitle(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.set_game_score import SetGameScore`
|
||||
- alias: :code:`from aiogram.methods import SetGameScore`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Union[Message, bool] = await SetGameScore(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.set_my_commands import SetMyCommands`
|
||||
- alias: :code:`from aiogram.methods import SetMyCommands`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await SetMyCommands(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.set_my_default_administrator_rights import SetMyDefaultAdministratorRights`
|
||||
- alias: :code:`from aiogram.methods import SetMyDefaultAdministratorRights`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await SetMyDefaultAdministratorRights(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.set_passport_data_errors import SetPassportDataErrors`
|
||||
- alias: :code:`from aiogram.methods import SetPassportDataErrors`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await SetPassportDataErrors(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.set_sticker_position_in_set import SetStickerPositionInSet`
|
||||
- alias: :code:`from aiogram.methods import SetStickerPositionInSet`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await SetStickerPositionInSet(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.set_sticker_set_thumb import SetStickerSetThumb`
|
||||
- alias: :code:`from aiogram.methods import SetStickerSetThumb`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await SetStickerSetThumb(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.set_webhook import SetWebhook`
|
||||
- alias: :code:`from aiogram.methods import SetWebhook`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await SetWebhook(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.stop_message_live_location import StopMessageLiveLocation`
|
||||
- alias: :code:`from aiogram.methods import StopMessageLiveLocation`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Union[Message, bool] = await StopMessageLiveLocation(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.stop_poll import StopPoll`
|
||||
- alias: :code:`from aiogram.methods import StopPoll`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Poll = await StopPoll(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.unban_chat_member import UnbanChatMember`
|
||||
- alias: :code:`from aiogram.methods import UnbanChatMember`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await UnbanChatMember(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.unban_chat_sender_chat import UnbanChatSenderChat`
|
||||
- alias: :code:`from aiogram.methods import UnbanChatSenderChat`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await UnbanChatSenderChat(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.unpin_all_chat_messages import UnpinAllChatMessages`
|
||||
- alias: :code:`from aiogram.methods import UnpinAllChatMessages`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await UnpinAllChatMessages(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.unpin_chat_message import UnpinChatMessage`
|
||||
- alias: :code:`from aiogram.methods import UnpinChatMessage`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await UnpinChatMessage(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.upload_sticker_file import UploadStickerFile`
|
||||
- alias: :code:`from aiogram.methods import UploadStickerFile`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: File = await UploadStickerFile(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue