Raw.updates.Difference
Full list of occurred events.
updates.difference#f49ca0 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> state:updates.State = updates.Difference;
export namespace Raw {
export namespace updates {
export class Difference {
constructor(params: {
newMessages: Array<Raw.TypeMessage>;
newEncryptedMessages: Array<Raw.TypeEncryptedMessage>;
otherUpdates: Array<Raw.TypeUpdate>;
chats: Array<Raw.TypeChat>;
users: Array<Raw.TypeUser>;
state: Raw.updates.TypeState;
}) {}
}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xf49ca0
Property
newMessages
: Array of Raw.TypeMessageList of new messages
newEncryptedMessages
: Array of Raw.TypeEncryptedMessageList of new encrypted secret chat messages
otherUpdates
: Array of Raw.TypeUpdateList of updates
chats
: Array of Raw.TypeChatList of chats mentioned in events
users
: Array of Raw.TypeUserList of users mentioned in events
state
: Raw.updates.TypeStateCurrent state