create_forum_topic


Description:

public async ForumTopicInfo create_forum_topic (int64 chat_id, string name, ForumTopicIcon icon) throws TDLibError

Creates a topic in a forum supergroup chat; requires can_manage_topics administrator or can_create_topics member right in the supergroup

Parameters:

chat_id

Identifier of the chat

name

Name of the topic; 1-128 characters

icon

Icon of the topic. Icon color must be one of 0x6FB9F0, 0xFFD67E, 0xCB86DB, 0x8EEE98, 0xFF93B2, or 0xFB6F5F. Telegram Premium users can use any custom emoji as topic icon, other users can use only a custom emoji returned by Client.get_forum_topic_default_icons