Reason

@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.

Inheritors

Types

Link copied to clipboard

The user is banned from the channel.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The server was delayed and could not send the message in time.

Link copied to clipboard

A hook of the app rejected the message.

Link copied to clipboard

The server failed for another reason.

Link copied to clipboard

The message no longer meets the limits of the app, for example it is too long.

Link copied to clipboard
Link copied to clipboard

The user is no longer allowed to send messages in the channel.

Link copied to clipboard

The channel now holds messages for approval, which scheduled messages don't support.

Link copied to clipboard

A reason this version of the SDK does not know.

Link copied to clipboard

Properties

Link copied to clipboard
abstract val value: String

The name of the reason, as the server gives it.