Raw.channels.UpdatePinnedForumTopic
Pin or unpin forum topics
channels.updatePinnedForumTopic#6c2d9026 channel:InputChannel topic_id:int pinned:Bool = Updates;export namespace Raw {
export namespace channels {
export class UpdatePinnedForumTopic {
constructor(params: { channel: Raw.TypeInputChannel; topicId: number; pinned: boolean }) {}
}
}
}This is a function constructor, you can use it as method when call invoke
Layer: 201
Constructor ID: 0x6c2d9026
Property
channel: Raw.TypeInputChannelSupergroup id
topicId: numberForum topic id
pinned: booleanWhether to pin or unpin the topic