peyk.platforms.bale.methods.create_forum_topic¶
- async peyk.platforms.bale.methods.create_forum_topic(self, chat_id: int | str, name: str) ForumTopic[source]¶
Create a topic in a private chat with a user (bot topic chats).
- Parameters:
chat_id – Identifier of the target private chat.
name – Topic name (1-64 characters).
- Returns:
The created
ForumTopic. Use itsmessage_thread_id(or themessage_thread_idof the service message) to send into the topic.