channels.getForumTopicsByID #

Get forum topics by their ID

Layer 223

Method schema is available as of layer 216. Switch »

Parameters #

NameTypeDescription
channelInputChannelForum
topicsVector<int>Topic IDs

Result #

messages.ForumTopics

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHANNEL_FORUM_MISSINGThis supergroup is not a forum.
400CHANNEL_INVALIDThe provided channel is invalid.
400TOPICS_EMPTYYou specified no topic IDs.