Reason
The reason the server rejects scheduling, editing or rescheduling a message. More reasons can be added in a minor version, so a when on it needs an else branch.
Inheritors
Types
The date is further away than the app allows.
The new date of an edited message is in the past.
The current user has as many pending scheduled messages in the channel as the app allows.
The current user has as many pending scheduled messages as the app allows.
The message was already sent.
The scheduled message was deleted, for example on another device.
Another edit was saved first.
The ID of the message belongs to a scheduled message of another user or channel.
A failed scheduled message can't be edited or sent now.
Scheduled messages are disabled for the app.
The server is sending the message, or will try again shortly.