MadelineProto/old_docs/API_docs_v51/constructors/updates_differenceSlice.md

1.0 KiB

title description
updates_differenceSlice updates_differenceSlice attributes, type and example

Constructor: updates_differenceSlice

Back to constructors index

Attributes:

Name Type Required
new_messages Array of Message Required
new_encrypted_messages Array of EncryptedMessage Required
other_updates Array of Update Required
chats Array of Chat Required
users Array of User Required
intermediate_state updates_State Required

Type: updates_Difference

Example:

$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ];