Raw.channels.GetForumTopics
Get topics of a forum
channels.getForumTopics#de560d1 flags:# channel:InputChannel q:flags.0?string offset_date:int offset_id:int offset_topic:int limit:int = messages.ForumTopics;
export namespace Raw {
export namespace channels {
export class GetForumTopics {
constructor(params: {
channel: Raw.TypeInputChannel;
q?: string;
offsetDate: number;
offsetId: number;
offsetTopic: number;
limit: number;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xde560d1
Property
channel
: Raw.TypeInputChannelSupergroup
q
: string or undefinedSearch query
offsetDate
: numberOffsets for pagination, for more info click here, date of the last message of the last found topic. use 0 or any date in the future to get results from the last topic.
offsetId
: numberOffsets for pagination, for more info click here, id of the last message of the last found topic (or initially 0).
offsetTopic
: numberOffsets for pagination, for more info click here, id of the last found topic (or initially 0).
limit
: numberMaximum number of results to return, see pagination. for optimal performance, the number of returned topics is chosen by the server and can be smaller than the specified limit.