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

1.9 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
channel_pts int Yes
timeout int Optional
top_message int Yes
top_important_message int Yes
read_inbox_max_id int Yes
unread_count int Yes
unread_important_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, 'channel_pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User]];

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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