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
781 B
ReStructuredText
44 lines
781 B
ReStructuredText
#####################
|
|
editGeneralForumTopic
|
|
#####################
|
|
|
|
Returns: :obj:`bool`
|
|
|
|
.. automodule:: aiogram.methods.edit_general_forum_topic
|
|
:members:
|
|
:member-order: bysource
|
|
:undoc-members: True
|
|
|
|
|
|
Usage
|
|
=====
|
|
|
|
As bot method
|
|
-------------
|
|
|
|
.. code-block::
|
|
|
|
result: bool = await bot.edit_general_forum_topic(...)
|
|
|
|
|
|
Method as object
|
|
----------------
|
|
|
|
Imports:
|
|
|
|
- :code:`from aiogram.methods.edit_general_forum_topic import EditGeneralForumTopic`
|
|
- alias: :code:`from aiogram.methods import EditGeneralForumTopic`
|
|
|
|
With specific bot
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
.. code-block:: python
|
|
|
|
result: bool = await bot(EditGeneralForumTopic(...))
|
|
|
|
As reply into Webhook in handler
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
.. code-block:: python
|
|
|
|
return EditGeneralForumTopic(...)
|