1.5 KiB
1.5 KiB
title | description | image |
---|---|---|
updates.channelDifference | updates_channelDifference attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updates.channelDifference
Attributes:
Name | Type | Required |
---|---|---|
final | Bool | Optional |
channel_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, 'channel_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, "channel_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, channel_pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}}