channels.toggleForum

Enable or disable forum functionality in a supergroup.

 Method schema is available as of layer 148. Switch ยป

Parameters

Name Type Description
channel InputChannel Supergroup ID
enabled Bool Enable or disable forum functionality

Result

Updates

Possible errors

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.

Related pages

Forums

Telegram allows creating forums with multiple distinct topics.