updates.channelDifference
The new updates
type tg.UpdatesChannelDifference struct { /* ... */ }
Implements updates.ChannelDifference.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Final | bool | — | Whether there are more updates to be fetched using getDifference, starting from the provided pts |
Pts | int | yes | The PTS from which to start getting updates the next time |
Timeout | 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. |
NewMessages | []MessageClass | yes | New messages |
OtherUpdates | []UpdateClass | yes | Other updates |
Chats | []ChatClass | yes | Chats |
Users | []UserClass | yes | Users |
References
- Official documentation
- Generated Go reference
- TL definition:
updates.channelDifference#2064674e