Link Search Menu Expand Document

Constructor: updateDeleteScheduledMessages

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
peerlongYesPeer
messagesArray of intYesDeleted scheduled messages
sent_messagesArray of intOptionalIf 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 updateNewScheduledMessage), and sent_messages will contain the real message IDs for the sent messages.

Type: Update

Example:

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