channels.getForumTopicsByID

Get forum topics by their ID

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

Parameters

Name Type Description
channel InputChannel Forum
topics Vector<int> Topic IDs

Result

messages.ForumTopics

Possible errors

Code Type Description
400 CHANNEL_FORUM_MISSING This supergroup is not a forum.
400 CHANNEL_INVALID The provided channel is invalid.
400 TOPICS_EMPTY You specified no topic IDs.

Bots can use this method