updates.differenceSlice #

Incomplete list of occurred events.

Layer 223

updates.differenceSlice#a8fb1981 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> intermediate_state:updates.State = updates.Difference;

Parameters #

NameTypeDescription
new_messagesVector<Message>List of new messages
new_encrypted_messagesVector<EncryptedMessage>New messages from the encrypted event sequence
other_updatesVector<Update>List of updates
chatsVector<Chat>List of chats mentioned in events
usersVector<User>List of users mentioned in events
intermediate_stateupdates.StateIntermediary state

Type #

updates.Difference

Working with Updates #

How to subscribe to updates and handle them properly.