1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 14:34:39 +01:00
MadelineProto/old_docs/API_docs_v66/constructors/updates_channelDifference.md
2017-07-23 16:11:02 +02:00

1.4 KiB

title description
updates.channelDifference updates_channelDifference attributes, type and example

Constructor: updates.channelDifference

Back to constructors index

Attributes:

Name Type Required
final Bool Optional
pts int Yes
timeout int Optional
new_messages Array of Message Yes
other_updates Array of Update Yes
chats Array of Chat Yes
users Array of User Yes

Type: updates_ChannelDifference

Example:

$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [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}, }