ServerFailedPublishing

The server could not send the message at its date, for example because the user was banned. The message can only be deleted, or scheduled again as a new message.

Constructors

Link copied to clipboard

Types

Link copied to clipboard
@Immutable
abstract class Reason

The reason the server could not send a scheduled message. More reasons can be added in a minor version, so a when on it needs an else branch.

Properties

Link copied to clipboard
open override val isRetryable: Boolean

Whether sending the same changes again can succeed without changing them.

Link copied to clipboard

The reason of the failure, or null when the server gives none.