messages.getForumTopicsByID

Get forum topics by their ID

messages.forumTopics#367617d3 flags:# order_by_create_date:flags.0?true count:int topics:Vector<ForumTopic> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> pts:int = messages.ForumTopics;
---functions---
messages.getForumTopicsByID#af0a4a08 peer:InputPeer topics:Vector<int> = messages.ForumTopics;

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.