Layer 224
method Users Bots
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

Gogram Example

// MessagesGetForumTopicsById - positional arguments
result, err := client.MessagesGetForumTopicsById(&tg.InputPeerUser{UserID: int64(777000)}, []int{})
if err != nil {
    // handle error
}
// result is *tg.MessagesForumTopics

Possible Errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.