mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Prepare for Bot API 6.8
This commit is contained in:
parent
577b44cdc1
commit
81b6465340
26 changed files with 374 additions and 27 deletions
|
|
@ -165,6 +165,14 @@ Updating messages
|
|||
stop_message_live_location
|
||||
stop_poll
|
||||
|
||||
Upcoming update
|
||||
===============
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
unpin_all_general_forum_topic_messages
|
||||
|
||||
Inline mode
|
||||
===========
|
||||
|
||||
|
|
|
|||
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`
|
||||
Loading…
Add table
Add a link
Reference in a new issue