Layer 227
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.VectorMessage{}, NewEncryptedMessages: &tg.VectorEncryptedMessage{}, OtherUpdates: &tg.VectorUpdate{}, Chats: &tg.VectorChat{}, Users: &tg.VectorUser{}, IntermediateState: nil, }