Layer 220
UpdatesDifferenceSlice
Incomplete list of occurred events.
constructor
updates.differenceSlice#a8fb1981 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> intermediate_state:updates.State = updates.Difference;
Parameters
| Name | Type | Description |
|---|---|---|
| NewMessages | Vector<Message> | List of new messages |
| NewEncryptedMessages | Vector<EncryptedMessage> | New messages from the encrypted event sequence |
| OtherUpdates | Vector<Update> | List of updates |
| Chats | Vector<Chat> | List of chats mentioned in events |
| Users | Vector<User> | List of users mentioned in events |
| IntermediateState | updates.State | Intermediary state |
Returns
updates.DifferenceGogram Example
// Creating UpdatesDifferenceSlice constructor obj := &tg.UpdatesDifferenceSlice{ NewMessages: []tg.Message{&tg.Message{}}, NewEncryptedMessages: []tg.EncryptedMessage{&tg.EncryptedMessage{}}, OtherUpdates: []tg.Update{&tg.UpdateNewMessage{}}, Chats: []tg.Chat{&tg.Chat{}}, Users: []tg.User{&tg.User{}}, IntermediateState: nil, }