Added support of Bot API 6.2

This commit is contained in:
Alex Root Junior 2022-08-14 01:37:00 +03:00
parent 4315ecf1a2
commit bc88bf8571
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
64 changed files with 237 additions and 271 deletions

View file

@ -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

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~

View file

@ -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
~~~~~~~~~~~~~~~~~