# updateDeleteScheduledMessages

> Some scheduled messages were deleted (or sent) from the schedule queue of a chat

[Back to constructors index](/API_docs/constructors/index.html)



Some [scheduled messages](https://core.telegram.org/api/scheduled-messages) were deleted (or sent) from the schedule queue of a chat

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|peer|[long](/API_docs/types/long.html) | Yes|Peer|
|messages|Array of [int](/API_docs/types/int.html) | Yes|Deleted scheduled messages|
|sent\_messages|Array of [int](/API_docs/types/int.html) | Optional|If set, this update indicates that some scheduled messages were sent (not simply deleted from the schedule queue).  <br>In this case, the `messages` field will contain the scheduled message IDs for the sent messages (initially returned in [updateNewScheduledMessage](../constructors/updateNewScheduledMessage.html)), and `sent_messages` will contain the real message IDs for the sent messages.|



### Type: [Update](/API_docs/types/Update.html)


### Example:

```
$updateDeleteScheduledMessages = ['_' => 'updateDeleteScheduledMessages', 'peer' => long, 'messages' => [int, int], 'sent_messages' => [int, int]];
```
