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

781 B

title description
updates updates attributes, type and example

Constructor: updates

Back to constructors index

Attributes:

Name Type Required
updates Array of Update Yes
users Array of User Yes
chats Array of Chat Yes
date int Yes
seq int Yes

Type: Updates

Example:

$updates = ['_' => 'updates', 'updates' => [Update], 'users' => [User], 'chats' => [Chat], 'date' => int, 'seq' => int, ];

Or, if you're into Lua:

updates={_='updates', updates={Update}, users={User}, chats={Chat}, date=int, seq=int, }