aiogram/docs/api/methods/unpin_all_forum_topic_messages.rst
Alex Root Junior b287551590
Bot API 6.3 (#1063)
* Added API changes

* Added changelog

* Oops. Move changelog

* Update tests

* Remove experimental

* Added message content type

* Update message aliases

* Update changes

* Update texts

* Bump version

* Remove versionadded badge
2022-11-06 14:28:21 +02:00

44 lines
834 B
ReStructuredText

##########################
unpinAllForumTopicMessages
##########################
Returns: :obj:`bool`
.. automodule:: aiogram.methods.unpin_all_forum_topic_messages
:members:
:member-order: bysource
:undoc-members: True
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(...)