ScheduledMessageStatus
Where a ScheduledMessage is, from scheduling until it is sent. More statuses can be added in a minor version, so a when on it needs an else branch.
Inheritors
Types
The message was deleted, so it is never sent. Only the scheduled message of a scheduled_message.deleted event has it.
The message could not be scheduled or sent. See ScheduledMessage.failure.
The latest changes are not on the server yet: the attachments are uploading, the device is offline, or the changes are being sent.
The server has the latest changes and sends the message at ScheduledMessage.scheduledAt.
The server is sending the message, at its date or after a send now, including while it retries a failed attempt. It can no longer be edited, rescheduled or sent now.
The message was sent. Only the scheduled message of a scheduled_message.sent event has it.
A status this version of the SDK does not know.