Layer 228
UpdatesChannelDifferenceTooLong
The passed pts is too old: one or more updates starting from the specified PTS were deleted from the message box of this channel.
constructor
updates.channelDifferenceTooLong#a4bcc6fe flags:# final:flags.0?true timeout:flags.1?int dialog:Dialog messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;
Parameters
| Name | Type | Description |
|---|---|---|
| Final | flags .0? true | Whether there are more updates that must be fetched (always set) |
| Timeout | flags .1? int | Clients are supposed to refetch the channel difference after timeout seconds have elapsed |
| Dialog | Dialog | Dialog containing the latest PTS that can be used to reset the channel state |
| Messages | Vector<Message> | The latest messages (not starting from the passed pts, just the latest messages). |
| Chats | Vector<Chat> | Chats from messages |
| Users | Vector<User> | Users from messages |
Returns
updates.ChannelDifferenceGogram Example
// Creating UpdatesChannelDifferenceTooLong constructor obj := &tg.UpdatesChannelDifferenceTooLong{ Final: nil, Timeout: nil, Dialog: &tg.DialogObj{}, Messages: []tg.Message{&tg.MessageObj{}}, Chats: []tg.Chat{&tg.ChatObj{}}, Users: []tg.User{&tg.UserObj{}}, }