Layer 220
constructor
updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates;

Parameters

Name Type Description
Updates Vector<Update> List of updates
Users Vector<User> List of users mentioned in updates
Chats Vector<Chat> List of chats mentioned in updates
Date int Current date
SeqStart int Value seq for the earliest update in a group
Seq int Value seq for the latest update in a group

Returns

Updates

Gogram Example

// Creating UpdatesCombined constructor
obj := &tg.UpdatesCombined{
    Updates: []tg.Update{&tg.UpdateNewMessage{}},
    Users: []tg.User{&tg.User{}},
    Chats: []tg.Chat{&tg.Chat{}},
    Date: 0,
    SeqStart: 0,
    Seq: 0,
}