1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 11:59:38 +01:00
MadelineProto/old_docs/API_docs_v65/constructors/updates_channelDifferenceTooLong.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.7 KiB

title description
updates.channelDifferenceTooLong updates_channelDifferenceTooLong attributes, type and example

Constructor: updates.channelDifferenceTooLong

Back to constructors index

Attributes:

Name Type Required
final Bool Optional
pts int Yes
timeout int Optional
top_message int Yes
read_inbox_max_id int Yes
read_outbox_max_id int Yes
unread_count int Yes
messages Array of Message Yes
chats Array of Chat Yes
users Array of User Yes

Type: updates_ChannelDifference

Example:

$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]];

PWRTelegram json-encoded version:

{"_": "updates.channelDifferenceTooLong", "final": Bool, "pts": int, "timeout": int, "top_message": int, "read_inbox_max_id": int, "read_outbox_max_id": int, "unread_count": int, "messages": [Message], "chats": [Chat], "users": [User]}

Or, if you're into Lua:

updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}}