mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 07:50:32 +00:00
* Remove warnings about pytest asyncio mode * Update Bot API to 6.4 * Bump version * Added changelog * Update translations
44 lines
801 B
ReStructuredText
44 lines
801 B
ReStructuredText
#######################
|
|
unhideGeneralForumTopic
|
|
#######################
|
|
|
|
Returns: :obj:`bool`
|
|
|
|
.. automodule:: aiogram.methods.unhide_general_forum_topic
|
|
:members:
|
|
:member-order: bysource
|
|
:undoc-members: True
|
|
|
|
|
|
Usage
|
|
=====
|
|
|
|
As bot method
|
|
-------------
|
|
|
|
.. code-block::
|
|
|
|
result: bool = await bot.unhide_general_forum_topic(...)
|
|
|
|
|
|
Method as object
|
|
----------------
|
|
|
|
Imports:
|
|
|
|
- :code:`from aiogram.methods.unhide_general_forum_topic import UnhideGeneralForumTopic`
|
|
- alias: :code:`from aiogram.methods import UnhideGeneralForumTopic`
|
|
|
|
With specific bot
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
.. code-block:: python
|
|
|
|
result: bool = await bot(UnhideGeneralForumTopic(...))
|
|
|
|
As reply into Webhook in handler
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
.. code-block:: python
|
|
|
|
return UnhideGeneralForumTopic(...)
|