Layer 220
method
messages.updatePinnedForumTopic#175df251 peer:InputPeer topic_id:int pinned:Bool = Updates;

Parameters

Name Type Description
Peer InputPeer
TopicId int
Pinned Bool

Returns

Updates

Gogram Example

// MessagesUpdatePinnedForumTopic - positional arguments
result, err := client.MessagesUpdatePinnedForumTopic(&tg.InputPeerUser{UserID: int64(123456789)}, 0, true)
if err != nil {
    // handle error
}
// result is *tg.Updates