MadelineProtoDocs/docs/API_docs/constructors/updates.differenceSlice.md
2024-05-01 14:53:46 +02:00

1.5 KiB

title description nav_exclude image redirect_from
updates.differenceSlice Incomplete list of occurred events. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/updates_differenceSlice.html

Constructor: updates.differenceSlice

Back to constructors index

Incomplete list of occurred events.

Attributes:

Name Type Required Description
new_messages Array of Message Yes List of new messages
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

Example:

$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];