MadelineProtoDocs/old_docs/API_docs_v38/constructors/updates_channelDifferenceTooLong.md
2018-04-01 13:24:46 +02:00

1.8 KiB

title description
updates.channelDifferenceTooLong updates_channelDifferenceTooLong attributes, type and example

Constructor: updates.channelDifferenceTooLong

Back to constructors index

Attributes:

Name Type Required
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', '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, Message], 'chats' => [Chat, Chat], 'users' => [User, User]];

PWRTelegram json-encoded version:

{"_": "updates.channelDifferenceTooLong", "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', 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}}