updates.channelDifference

The new updates

Constructor schema is available as of layer 38. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
final flags.0?true Whether there are more updates to be fetched using getDifference, starting from the provided pts
pts int The PTS from which to start getting updates the next time
timeout flags.1?int Clients 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_messages Vector<Message> New messages
other_updates Vector<Update> Other updates
chats Vector<Chat> Chats
users Vector<User> Users

Type

updates.ChannelDifference

Related pages

Working with Updates

How to subscribe to updates and handle them properly.