mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 03:27:19 +01:00
946 B
946 B
title | description |
---|---|
updates | updates attributes, type and example |
Constructor: updates
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];
PWRTelegram json-encoded version:
{"_": "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}