mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +00:00
parent
adfc89f125
commit
247ffbef69
150 changed files with 571 additions and 1112 deletions
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.add_sticker_to_set import AddStickerToSet`
|
||||
- alias: :code:`from aiogram.methods import AddStickerToSet`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await AddStickerToSet(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.answer_callback_query import AnswerCallbackQuery`
|
||||
- alias: :code:`from aiogram.methods import AnswerCallbackQuery`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await AnswerCallbackQuery(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.answer_inline_query import AnswerInlineQuery`
|
||||
- alias: :code:`from aiogram.methods import AnswerInlineQuery`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await AnswerInlineQuery(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.answer_pre_checkout_query import AnswerPreCheckoutQuery`
|
||||
- alias: :code:`from aiogram.methods import AnswerPreCheckoutQuery`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await AnswerPreCheckoutQuery(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.answer_shipping_query import AnswerShippingQuery`
|
||||
- alias: :code:`from aiogram.methods import AnswerShippingQuery`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await AnswerShippingQuery(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.answer_web_app_query import AnswerWebAppQuery`
|
||||
- alias: :code:`from aiogram.methods import AnswerWebAppQuery`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: SentWebAppMessage = await AnswerWebAppQuery(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.approve_chat_join_request import ApproveChatJoinRequest`
|
||||
- alias: :code:`from aiogram.methods import ApproveChatJoinRequest`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await ApproveChatJoinRequest(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.ban_chat_member import BanChatMember`
|
||||
- alias: :code:`from aiogram.methods import BanChatMember`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await BanChatMember(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.ban_chat_sender_chat import BanChatSenderChat`
|
||||
- alias: :code:`from aiogram.methods import BanChatSenderChat`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await BanChatSenderChat(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.close import Close`
|
||||
- alias: :code:`from aiogram.methods import Close`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await Close(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.copy_message import CopyMessage`
|
||||
- alias: :code:`from aiogram.methods import CopyMessage`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: MessageId = await CopyMessage(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.create_chat_invite_link import CreateChatInviteLink`
|
||||
- alias: :code:`from aiogram.methods import CreateChatInviteLink`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: ChatInviteLink = await CreateChatInviteLink(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
44
docs/api/methods/create_invoice_link.rst
Normal file
44
docs/api/methods/create_invoice_link.rst
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
#################
|
||||
createInvoiceLink
|
||||
#################
|
||||
|
||||
Returns: :obj:`str`
|
||||
|
||||
.. automodule:: aiogram.methods.create_invoice_link
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
As bot method
|
||||
-------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: str = await bot.create_invoice_link(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
Imports:
|
||||
|
||||
- :code:`from aiogram.methods.create_invoice_link import CreateInvoiceLink`
|
||||
- alias: :code:`from aiogram.methods import CreateInvoiceLink`
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: str = await bot(CreateInvoiceLink(...))
|
||||
|
||||
As reply into Webhook in handler
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
return CreateInvoiceLink(...)
|
||||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.create_new_sticker_set import CreateNewStickerSet`
|
||||
- alias: :code:`from aiogram.methods import CreateNewStickerSet`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await CreateNewStickerSet(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.decline_chat_join_request import DeclineChatJoinRequest`
|
||||
- alias: :code:`from aiogram.methods import DeclineChatJoinRequest`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await DeclineChatJoinRequest(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.delete_chat_photo import DeleteChatPhoto`
|
||||
- alias: :code:`from aiogram.methods import DeleteChatPhoto`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await DeleteChatPhoto(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.delete_chat_sticker_set import DeleteChatStickerSet`
|
||||
- alias: :code:`from aiogram.methods import DeleteChatStickerSet`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await DeleteChatStickerSet(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.delete_message import DeleteMessage`
|
||||
- alias: :code:`from aiogram.methods import DeleteMessage`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await DeleteMessage(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.delete_my_commands import DeleteMyCommands`
|
||||
- alias: :code:`from aiogram.methods import DeleteMyCommands`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await DeleteMyCommands(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.delete_sticker_from_set import DeleteStickerFromSet`
|
||||
- alias: :code:`from aiogram.methods import DeleteStickerFromSet`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await DeleteStickerFromSet(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.delete_webhook import DeleteWebhook`
|
||||
- alias: :code:`from aiogram.methods import DeleteWebhook`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await DeleteWebhook(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.edit_chat_invite_link import EditChatInviteLink`
|
||||
- alias: :code:`from aiogram.methods import EditChatInviteLink`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: ChatInviteLink = await EditChatInviteLink(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.edit_message_caption import EditMessageCaption`
|
||||
- alias: :code:`from aiogram.methods import EditMessageCaption`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Union[Message, bool] = await EditMessageCaption(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.edit_message_live_location import EditMessageLiveLocation`
|
||||
- alias: :code:`from aiogram.methods import EditMessageLiveLocation`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Union[Message, bool] = await EditMessageLiveLocation(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.edit_message_media import EditMessageMedia`
|
||||
- alias: :code:`from aiogram.methods import EditMessageMedia`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Union[Message, bool] = await EditMessageMedia(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.edit_message_reply_markup import EditMessageReplyMarkup`
|
||||
- alias: :code:`from aiogram.methods import EditMessageReplyMarkup`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Union[Message, bool] = await EditMessageReplyMarkup(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.edit_message_text import EditMessageText`
|
||||
- alias: :code:`from aiogram.methods import EditMessageText`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Union[Message, bool] = await EditMessageText(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.export_chat_invite_link import ExportChatInviteLink`
|
||||
- alias: :code:`from aiogram.methods import ExportChatInviteLink`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: str = await ExportChatInviteLink(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.forward_message import ForwardMessage`
|
||||
- alias: :code:`from aiogram.methods import ForwardMessage`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await ForwardMessage(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_chat import GetChat`
|
||||
- alias: :code:`from aiogram.methods import GetChat`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Chat = await GetChat(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_chat_administrators import GetChatAdministrators`
|
||||
- alias: :code:`from aiogram.methods import GetChatAdministrators`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: List[Union[ChatMemberOwner, ChatMemberAdministrator, ChatMemberMember, ChatMemberRestricted, ChatMemberLeft, ChatMemberBanned]] = await GetChatAdministrators(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_chat_member import GetChatMember`
|
||||
- alias: :code:`from aiogram.methods import GetChatMember`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Union[ChatMemberOwner, ChatMemberAdministrator, ChatMemberMember, ChatMemberRestricted, ChatMemberLeft, ChatMemberBanned] = await GetChatMember(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_chat_member_count import GetChatMemberCount`
|
||||
- alias: :code:`from aiogram.methods import GetChatMemberCount`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: int = await GetChatMemberCount(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_chat_members_count import GetChatMembersCount`
|
||||
- alias: :code:`from aiogram.methods import GetChatMembersCount`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: int = await GetChatMembersCount(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_chat_menu_button import GetChatMenuButton`
|
||||
- alias: :code:`from aiogram.methods import GetChatMenuButton`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: MenuButton = await GetChatMenuButton(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_file import GetFile`
|
||||
- alias: :code:`from aiogram.methods import GetFile`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: File = await GetFile(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_game_high_scores import GetGameHighScores`
|
||||
- alias: :code:`from aiogram.methods import GetGameHighScores`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: List[GameHighScore] = await GetGameHighScores(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_me import GetMe`
|
||||
- alias: :code:`from aiogram.methods import GetMe`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: User = await GetMe(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_my_commands import GetMyCommands`
|
||||
- alias: :code:`from aiogram.methods import GetMyCommands`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: List[BotCommand] = await GetMyCommands(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_my_default_administrator_rights import GetMyDefaultAdministratorRights`
|
||||
- alias: :code:`from aiogram.methods import GetMyDefaultAdministratorRights`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: ChatAdministratorRights = await GetMyDefaultAdministratorRights(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_sticker_set import GetStickerSet`
|
||||
- alias: :code:`from aiogram.methods import GetStickerSet`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: StickerSet = await GetStickerSet(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_updates import GetUpdates`
|
||||
- alias: :code:`from aiogram.methods import GetUpdates`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: List[Update] = await GetUpdates(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_user_profile_photos import GetUserProfilePhotos`
|
||||
- alias: :code:`from aiogram.methods import GetUserProfilePhotos`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: UserProfilePhotos = await GetUserProfilePhotos(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.get_webhook_info import GetWebhookInfo`
|
||||
- alias: :code:`from aiogram.methods import GetWebhookInfo`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: WebhookInfo = await GetWebhookInfo(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@ Payments
|
|||
:maxdepth: 1
|
||||
|
||||
send_invoice
|
||||
create_invoice_link
|
||||
answer_shipping_query
|
||||
answer_pre_checkout_query
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.kick_chat_member import KickChatMember`
|
||||
- alias: :code:`from aiogram.methods import KickChatMember`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await KickChatMember(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.leave_chat import LeaveChat`
|
||||
- alias: :code:`from aiogram.methods import LeaveChat`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await LeaveChat(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.log_out import LogOut`
|
||||
- alias: :code:`from aiogram.methods import LogOut`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await LogOut(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.pin_chat_message import PinChatMessage`
|
||||
- alias: :code:`from aiogram.methods import PinChatMessage`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await PinChatMessage(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.promote_chat_member import PromoteChatMember`
|
||||
- alias: :code:`from aiogram.methods import PromoteChatMember`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await PromoteChatMember(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.restrict_chat_member import RestrictChatMember`
|
||||
- alias: :code:`from aiogram.methods import RestrictChatMember`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await RestrictChatMember(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.revoke_chat_invite_link import RevokeChatInviteLink`
|
||||
- alias: :code:`from aiogram.methods import RevokeChatInviteLink`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: ChatInviteLink = await RevokeChatInviteLink(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_animation import SendAnimation`
|
||||
- alias: :code:`from aiogram.methods import SendAnimation`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendAnimation(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_audio import SendAudio`
|
||||
- alias: :code:`from aiogram.methods import SendAudio`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendAudio(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_contact import SendContact`
|
||||
- alias: :code:`from aiogram.methods import SendContact`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendContact(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_dice import SendDice`
|
||||
- alias: :code:`from aiogram.methods import SendDice`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendDice(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_document import SendDocument`
|
||||
- alias: :code:`from aiogram.methods import SendDocument`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendDocument(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_game import SendGame`
|
||||
- alias: :code:`from aiogram.methods import SendGame`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendGame(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_invoice import SendInvoice`
|
||||
- alias: :code:`from aiogram.methods import SendInvoice`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendInvoice(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_location import SendLocation`
|
||||
- alias: :code:`from aiogram.methods import SendLocation`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendLocation(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_media_group import SendMediaGroup`
|
||||
- alias: :code:`from aiogram.methods import SendMediaGroup`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: List[Message] = await SendMediaGroup(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_message import SendMessage`
|
||||
- alias: :code:`from aiogram.methods import SendMessage`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendMessage(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_photo import SendPhoto`
|
||||
- alias: :code:`from aiogram.methods import SendPhoto`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendPhoto(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_poll import SendPoll`
|
||||
- alias: :code:`from aiogram.methods import SendPoll`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendPoll(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_sticker import SendSticker`
|
||||
- alias: :code:`from aiogram.methods import SendSticker`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendSticker(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_venue import SendVenue`
|
||||
- alias: :code:`from aiogram.methods import SendVenue`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendVenue(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_video import SendVideo`
|
||||
- alias: :code:`from aiogram.methods import SendVideo`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendVideo(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_video_note import SendVideoNote`
|
||||
- alias: :code:`from aiogram.methods import SendVideoNote`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendVideoNote(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.send_voice import SendVoice`
|
||||
- alias: :code:`from aiogram.methods import SendVoice`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: Message = await SendVoice(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.set_chat_administrator_custom_title import SetChatAdministratorCustomTitle`
|
||||
- alias: :code:`from aiogram.methods import SetChatAdministratorCustomTitle`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await SetChatAdministratorCustomTitle(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.set_chat_description import SetChatDescription`
|
||||
- alias: :code:`from aiogram.methods import SetChatDescription`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await SetChatDescription(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.set_chat_menu_button import SetChatMenuButton`
|
||||
- alias: :code:`from aiogram.methods import SetChatMenuButton`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await SetChatMenuButton(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.set_chat_permissions import SetChatPermissions`
|
||||
- alias: :code:`from aiogram.methods import SetChatPermissions`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await SetChatPermissions(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,6 @@ Imports:
|
|||
- :code:`from aiogram.methods.set_chat_photo import SetChatPhoto`
|
||||
- alias: :code:`from aiogram.methods import SetChatPhoto`
|
||||
|
||||
In handlers with current bot
|
||||
----------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await SetChatPhoto(...)
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue