channels.reorderPinnedForumTopics

Reorder pinned forum topics

 Method schema is available as of layer 149. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
force flags.0?true If not set, the order of only the topics present both server-side and in order will be changed (i.e. mentioning topics not pinned server-side in order will not pin them, and not mentioning topics pinned server-side will not unpin them).
If set, the entire server-side pinned topic list will be replaced with order (i.e. mentioning topics not pinned server-side in order will pin them, and not mentioning topics pinned server-side will unpin them)
channel InputChannel Supergroup ID
order Vector<int> Topic IDs »

Result

Updates

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.

Related pages

Forums

Telegram allows creating forums with multiple distinct topics.