mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added full support of Bot API 7.9 (#1560)
* Added full support of Bot API 7.9 * Added changelog * Try to fix towncrier * Fixed towncrier check
This commit is contained in:
parent
1c323ecc97
commit
c3a08664d3
48 changed files with 817 additions and 114 deletions
45
docs/api/methods/create_chat_subscription_invite_link.rst
Normal file
45
docs/api/methods/create_chat_subscription_invite_link.rst
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
################################
|
||||
createChatSubscriptionInviteLink
|
||||
################################
|
||||
|
||||
Returns: :obj:`ChatInviteLink`
|
||||
|
||||
.. automodule:: aiogram.methods.create_chat_subscription_invite_link
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
As bot method
|
||||
-------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: ChatInviteLink = await bot.create_chat_subscription_invite_link(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
Imports:
|
||||
|
||||
- :code:`from aiogram.methods.create_chat_subscription_invite_link import CreateChatSubscriptionInviteLink`
|
||||
- alias: :code:`from aiogram.methods import CreateChatSubscriptionInviteLink`
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: ChatInviteLink = await bot(CreateChatSubscriptionInviteLink(...))
|
||||
|
||||
As reply into Webhook in handler
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
return CreateChatSubscriptionInviteLink(...)
|
||||
45
docs/api/methods/edit_chat_subscription_invite_link.rst
Normal file
45
docs/api/methods/edit_chat_subscription_invite_link.rst
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
##############################
|
||||
editChatSubscriptionInviteLink
|
||||
##############################
|
||||
|
||||
Returns: :obj:`ChatInviteLink`
|
||||
|
||||
.. automodule:: aiogram.methods.edit_chat_subscription_invite_link
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
As bot method
|
||||
-------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: ChatInviteLink = await bot.edit_chat_subscription_invite_link(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
Imports:
|
||||
|
||||
- :code:`from aiogram.methods.edit_chat_subscription_invite_link import EditChatSubscriptionInviteLink`
|
||||
- alias: :code:`from aiogram.methods import EditChatSubscriptionInviteLink`
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: ChatInviteLink = await bot(EditChatSubscriptionInviteLink(...))
|
||||
|
||||
As reply into Webhook in handler
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
return EditChatSubscriptionInviteLink(...)
|
||||
|
|
@ -44,6 +44,7 @@ Available methods
|
|||
copy_message
|
||||
copy_messages
|
||||
create_chat_invite_link
|
||||
create_chat_subscription_invite_link
|
||||
create_forum_topic
|
||||
decline_chat_join_request
|
||||
delete_chat_photo
|
||||
|
|
@ -51,6 +52,7 @@ Available methods
|
|||
delete_forum_topic
|
||||
delete_my_commands
|
||||
edit_chat_invite_link
|
||||
edit_chat_subscription_invite_link
|
||||
edit_forum_topic
|
||||
edit_general_forum_topic
|
||||
export_chat_invite_link
|
||||
|
|
|
|||
|
|
@ -137,6 +137,7 @@ Available types
|
|||
reaction_type
|
||||
reaction_type_custom_emoji
|
||||
reaction_type_emoji
|
||||
reaction_type_paid
|
||||
reply_keyboard_markup
|
||||
reply_keyboard_remove
|
||||
reply_parameters
|
||||
|
|
|
|||
10
docs/api/types/reaction_type_paid.rst
Normal file
10
docs/api/types/reaction_type_paid.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
################
|
||||
ReactionTypePaid
|
||||
################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.reaction_type_paid
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
Loading…
Add table
Add a link
Reference in a new issue