Raw.updates.ChannelDifference
The new updates
updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector<Message> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;
export namespace Raw {
export namespace updates {
export class ChannelDifference {
constructor(params: {
final?: boolean;
pts: number;
timeout?: number;
newMessages: Array<Raw.TypeMessage>;
otherUpdates: Array<Raw.TypeUpdate>;
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: 0x2064674e
Property
final
: boolean or undefinedWhether there are more updates to be fetched using getdifference, starting from the provided pts
pts
: numberThe pts from which to start getting updates the next time
timeout
: number or undefinedClients are supposed to refetch the channel difference after timeout seconds have elapsed
newMessages
: Array of Raw.TypeMessageNew messages
otherUpdates
: Array of Raw.TypeUpdateOther updates
chats
: Array of Raw.TypeChatChats
users
: Array of Raw.TypeUserUsers