MadelineProto/old_docs/API_docs_v46/constructors/updates_difference.md

991 B

title description
updates.difference updates_difference attributes, type and example

Constructor: updates.difference

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
state updates_State Required

Type: updates_Difference

Example:

$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ];