Skip to main content

updates.channelDifference

The new updates

type tg.UpdatesChannelDifference struct { /* ... */ }

Implements updates.ChannelDifference.

Fields

NameTypeRequiredDescription
FinalboolWhether there are more updates to be fetched using getDifference, starting from the provided pts
PtsintyesThe PTS from which to start getting updates the next time
TimeoutintClients 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.
NewMessages[]MessageClassyesNew messages
OtherUpdates[]UpdateClassyesOther updates
Chats[]ChatClassyesChats
Users[]UserClassyesUsers

References