mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.4 KiB
1.4 KiB
title | description | nav_exclude | image | redirect_from |
---|---|---|---|---|
updates.difference | Full list of occurred events. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/updates_difference.html |
Constructor: updates.difference
Full 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 | List of new encrypted secret chat messages |
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 |
state | updates.State | Yes | Current state |
Type: updates.Difference
Example:
$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message, Message], 'new_encrypted_messages' => [EncryptedMessage, EncryptedMessage], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User], 'state' => updates.State];