updates.getDifference

Returns diffetence between the current state of updates and transmitted.

updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference;
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;
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;
---functions---
updates.getDifference#a041495 pts:int date:int qts:int = updates.Difference;

Params

pts int The most relevant value of parameter pts of (updates.state), (updateNewMessage), (updateReadMessages), (updateDeleteMessages) или (updateRestoreMessages)
date int The most relevant value of parameter date of (updates.state), (updateShort) или (updates)
qts int The most relevant value of parameter qts of (updates.state), (updateNewEncryptedMessage)
-1 if end-to-end encryption is not supported
Parameter was added in eigth layer.

Result

updates.Difference