Constructor: updates.differenceSlice

Back to constructors index

Incomplete list of occurred events.


Name Type Required Description
new_messages Array of Message Yes List of new messgaes
new_encrypted_messages Array of EncryptedMessage Yes New messages from the encrypted event sequence
other_updates Array of Update Yes List of updates
chats Array of Chat Yes List of chats mentioned in events
users Array of User Yes List of users mentioned in events
intermediate_state updates.State Yes Intermediary state

Type: updates.Difference


$updates.differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'intermediate_state' => updates.State];

Or, if you’re into Lua:

updates.differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.