mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 02:03:04 +00:00
Bot API 6.8 (#1276)
* Prepare for Bot API 6.8 * Bump after public release * Bump version, added changelog
This commit is contained in:
parent
bc0932a745
commit
678b3cfe7d
29 changed files with 363 additions and 27 deletions
|
|
@ -86,6 +86,7 @@ Available methods
|
|||
unhide_general_forum_topic
|
||||
unpin_all_chat_messages
|
||||
unpin_all_forum_topic_messages
|
||||
unpin_all_general_forum_topic_messages
|
||||
unpin_chat_message
|
||||
|
||||
Payments
|
||||
|
|
|
|||
51
docs/api/methods/unpin_all_general_forum_topic_messages.rst
Normal file
51
docs/api/methods/unpin_all_general_forum_topic_messages.rst
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
#################################
|
||||
unpinAllGeneralForumTopicMessages
|
||||
#################################
|
||||
|
||||
Returns: :obj:`bool`
|
||||
|
||||
.. automodule:: aiogram.methods.unpin_all_general_forum_topic_messages
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
As bot method
|
||||
-------------
|
||||
|
||||
.. code-block::
|
||||
|
||||
result: bool = await bot.unpin_all_general_forum_topic_messages(...)
|
||||
|
||||
|
||||
Method as object
|
||||
----------------
|
||||
|
||||
Imports:
|
||||
|
||||
- :code:`from aiogram.methods.unpin_all_general_forum_topic_messages import UnpinAllGeneralForumTopicMessages`
|
||||
- alias: :code:`from aiogram.methods import UnpinAllGeneralForumTopicMessages`
|
||||
|
||||
With specific bot
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
result: bool = await bot(UnpinAllGeneralForumTopicMessages(...))
|
||||
|
||||
As reply into Webhook in handler
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
return UnpinAllGeneralForumTopicMessages(...)
|
||||
|
||||
|
||||
As shortcut from received object
|
||||
--------------------------------
|
||||
|
||||
- :meth:`aiogram.types.chat.Chat.unpin_all_general_forum_topic_messages`
|
||||
|
|
@ -123,6 +123,7 @@ Available types
|
|||
reply_keyboard_markup
|
||||
reply_keyboard_remove
|
||||
response_parameters
|
||||
story
|
||||
switch_inline_query_chosen_chat
|
||||
user
|
||||
user_profile_photos
|
||||
|
|
|
|||
10
docs/api/types/story.rst
Normal file
10
docs/api/types/story.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#####
|
||||
Story
|
||||
#####
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.story
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
Loading…
Add table
Add a link
Reference in a new issue