Layer 227
UpdatesObj
Full constructor of updates
constructor
updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date: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 |
| Seq | int | Total number of sent updates |
Returns
UpdatesGogram Example
// Creating UpdatesObj constructor obj := &tg.UpdatesObj{ Updates: &tg.VectorUpdate{}, Users: &tg.VectorUser{}, Chats: &tg.VectorChat{}, Date: 42, Seq: 42, }