1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 02:27:20 +01:00
MadelineProto/docs/API_docs/constructors/updatesCombined.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.1 KiB

title description
updatesCombined updatesCombined attributes, type and example

Constructor: updatesCombined

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_start int Yes
seq int Yes

Type: Updates

Example:

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

PWRTelegram json-encoded version:

{"_": "updatesCombined", "updates": [Update], "users": [User], "chats": [Chat], "date": int, "seq_start": int, "seq": int}

Or, if you're into Lua:

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