updates.channelDifference #

The new updates

Layer 223

updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector<Message> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
finalflags.0?trueWhether there are more updates to be fetched using getDifference, starting from the provided pts
ptsintThe PTS from which to start getting updates the next time
timeoutflags.1?intClients are supposed to refetch the channel difference after timeout seconds have elapsed, if the user is currently viewing the chat, see here » for more info.
new_messagesVector<Message>New messages
other_updatesVector<Update>Other updates
chatsVector<Chat>Chats
usersVector<User>Users

Type #

updates.ChannelDifference

Working with Updates #

How to subscribe to updates and handle them properly.