Layer 220
constructor

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Final flags.0?true Whether there are more updates that must be fetched (always false)
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
Chats Vector<Chat> Chats from messages
Users Vector<User> Users from messages

Gogram Example

// Creating UpdatesChannelDifferenceTooLong constructor
obj := &tg.UpdatesChannelDifferenceTooLong{
    Dialog: &tg.Dialog{},
    Messages: []tg.Message{&tg.Message{}},
    Chats: []tg.Chat{&tg.Chat{}},
    Users: []tg.User{&tg.User{}},

    // Optional fields:
    // Final: true,
    // Timeout: 0,
}