messages.getForumTopicsByID

Get forum topics by their ID

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

Parameters

Name Type Description
peer InputPeer The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located.
topics Vector<int> Topic IDs

Result

messages.ForumTopics

Both users and bots can use this method

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.