MadelineProto/old_docs/API_docs_v65/constructors/updates_differenceSlice.md
Daniil Gentili 1eb2fc0b4f fix
2017-04-21 13:27:04 +02:00

1.2 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 Yes
new_encrypted_messages Array of EncryptedMessage Yes
other_updates Array of Update Yes
chats Array of Chat Yes
users Array of User Yes
intermediate_state updates_State Yes

Type: updates_Difference

Example:

$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ];

Or, if you're into Lua:

updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, }