aiogram/docs/api/methods/unpin_all_forum_topic_messages.rst

46 lines
882 B
ReStructuredText
Raw Normal View History

##########################
unpinAllForumTopicMessages
##########################
Returns: :obj:`bool`
.. automodule:: aiogram.methods.unpin_all_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_forum_topic_messages(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.unpin_all_forum_topic_messages import UnpinAllForumTopicMessages`
- alias: :code:`from aiogram.methods import UnpinAllForumTopicMessages`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: bool = await bot(UnpinAllForumTopicMessages(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: python
return UnpinAllForumTopicMessages(...)