1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-03 21:17:46 +01:00
MadelineProto/docs/API_docs/constructors/updates_difference.md

821 B

Constructor: updates_difference

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 = ['new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ];