1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 13:07:23 +01:00
MadelineProto/docs/API_docs/constructors/updates_channelDifferenceTooLong.md

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
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
unread_mentions_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, 'unread_mentions_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, "unread_mentions_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, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}}