MessageDiscardReason

Why the application discarded a received message (docs/message-discard.md). A closed set of codes, deliberately not free text: it is stored unencrypted as local metadata and never sent to the sender. Use it for permanent decisions only; a temporary failure should leave the message pending.

Entries

Link copied to clipboard

The application cannot interpret the content (unknown type, unsupported version, malformed).

Link copied to clipboard

The content is valid, but the application state makes it permanently inapplicable.

Link copied to clipboard

The user rejected the message.

Link copied to clipboard

An application policy rejected the message.

Link copied to clipboard

Any other permanent reason.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.