Raw.messages.ChannelMessages
Channel messages
messages.channelMessages#c776ba4e flags:# inexact:flags.1?true pts:int count:int offset_id_offset:flags.2?int messages:Vector<Message> topics:Vector<ForumTopic> chats:Vector<Chat> users:Vector<User> = messages.Messages;
export namespace Raw {
export namespace messages {
export class ChannelMessages {
constructor(params: {
inexact?: boolean;
pts: number;
count: number;
offsetIdOffset?: number;
messages: Array<Raw.TypeMessage>;
topics: Array<Raw.TypeForumTopic>;
chats: Array<Raw.TypeChat>;
users: Array<Raw.TypeUser>;
}) {}
}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xc776ba4e
Property
inexact
: boolean or undefinedIf set, returned results may be inexact
pts
: numberEvent count after generation
count
: numberTotal number of results were found server-side (may not be all included here)
offsetIdOffset
: number or undefinedIndicates the absolute position of messages[0] within the total result set with count count. this is useful, for example, if the result was fetched using offsetId, and we need to display a progress/total counter (like photo 134 of 200, for all media in a chat, we could simply use photo offsetIdOffset of count.
messages
: Array of Raw.TypeMessageFound messages
topics
: Array of Raw.TypeForumTopicForum topic information
chats
: Array of Raw.TypeChatChats
users
: Array of Raw.TypeUserUsers