deleteScheduledMessage

Deletes a scheduled message, so it is never sent. Failed scheduled messages can be deleted too. The message leaves scheduledMessages right away, and is deleted on the server once the device is online. A message that is not on the server yet is only deleted locally, and deleted on the server too if its scheduling is in flight. If the server can't delete it, the message comes back in scheduledMessages with a ScheduledMessage.failure, and resendScheduledMessage or another delete deletes it again.

Return

Executable async Call responsible for deleting the scheduled message locally, or on the server when this device does not know it.

Parameters

id

The ID of the scheduled message.