Layer 220
UpdateDeleteScheduledMessages
Some scheduled messages were deleted (or sent) from the schedule queue of a chat
constructor
updateDeleteScheduledMessages#f2a71983 flags:# peer:Peer messages:Vector<int> sent_messages:flags.0?Vector<int> = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Peer | Peer | Peer |
| Messages | Vector<int> | Deleted scheduled messages |
| SentMessages | Vector<int> | If set, this update indicates that some scheduled messages were sent (not simply deleted from the schedule queue). In this case, the messages field will contain the scheduled message IDs for the sent messages (initially returned in update New Scheduled Message ), and sent_messages will contain the real message IDs for the sent messages. |
Returns
UpdateGogram Example
// Creating UpdateDeleteScheduledMessages constructor obj := &tg.UpdateDeleteScheduledMessages{ Peer: &tg.Peer{}, Messages: []int{}, // Optional fields: // SentMessages: []int{}, }