mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-30 09:32:49 +00:00
Fix create_forum_topic example
This commit is contained in:
parent
5a6d4de9dd
commit
4d738a2f42
@ -53,7 +53,7 @@ class CreateForumTopic:
|
||||
Example:
|
||||
.. code-block:: python
|
||||
|
||||
await app.create_forum_topic("Topic Title")
|
||||
await app.create_forum_topic(chat_id=chat_id, title="Topic Title")
|
||||
"""
|
||||
r = await self.invoke(
|
||||
raw.functions.channels.CreateForumTopic(
|
||||
|
Loading…
Reference in New Issue
Block a user