Link Search Menu Expand Document

Constructor: updates.differenceSlice

Back to constructors index

Incomplete list of occurred events.

Attributes:

NameTypeRequiredDescription
new_messagesArray of MessageYesList of new messages
new_encrypted_messagesArray of EncryptedMessageYesNew messages from the encrypted event sequence
other_updatesArray of UpdateYesList of updates
chatsArray of ChatYesList of chats mentioned in events
usersArray of UserYesList of users mentioned in events
intermediate_stateupdates.StateYesIntermediary 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];