Enable or disable forum functionality in a supergroup.
Method schema is available as of layer 148. Switch ยป
Name | Type | Description |
---|---|---|
channel | InputChannel | Supergroup ID |
enabled | Bool | Enable or disable forum functionality |
Code | Type | Description |
---|---|---|
400 | CHANNEL_INVALID | The provided channel is invalid. |
400 | CHAT_DISCUSSION_UNALLOWED | You can't enable forum topics in a discussion group linked to a channel. |
400 | CHAT_NOT_MODIFIED | No changes were made to chat information because the new information you passed is identical to the current information. |
Telegram allows creating forums with multiple distinct topics.