MadelineProtoDocs/docs/API_docs/constructors/updates_channelDifference.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.5 KiB

title description image
updates.channelDifference Channel difference https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updates.channelDifference

Back to constructors index

Channel difference

Attributes:

Name Type Required Description
final Bool Optional Final?
pts int Yes Pts
timeout int Optional Timeout
new_messages Array of Message Yes New messages
other_updates Array of Update Yes Other updates
chats Array of Chat Yes Chats
users Array of User Yes Users

Type: updates_ChannelDifference

Example:

$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message, Message], 'other_updates' => [Update, Update], 'chats' => [Chat, Chat], 'users' => [User, User]];

PWRTelegram json-encoded version:

{"_": "updates.channelDifference", "final": Bool, "pts": int, "timeout": int, "new_messages": [Message], "other_updates": [Update], "chats": [Chat], "users": [User]}

Or, if you're into Lua:

updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}}