Types

Link copied to clipboard
object Companion
Link copied to clipboard

This message has been published to subscribed channels (via Channel Following).

Link copied to clipboard

This message is only visible to the user who invoked the Interaction.

Link copied to clipboard

This message failed to mention some roles and add their members to the thread.

Link copied to clipboard

This message has an associated thread, with the same id as the message.

Link copied to clipboard

This message originated from a message in another channel (via Channel Following).

Link copied to clipboard

This message is a voice message.

Link copied to clipboard

This message is an Interaction Response and the bot is "thinking".

Link copied to clipboard

The source message for this crosspost has been deleted (via Channel Following).

Link copied to clipboard

Do not include any embeds when serializing this message.

Link copied to clipboard

This message will not trigger push and desktop notifications.

Link copied to clipboard

An unknown MessageFlag.

Link copied to clipboard

This message came from the urgent message system.

Properties

Link copied to clipboard
val code: Int

The raw code used by Discord.

Link copied to clipboard
val shift: Int

The position of the bit that is set in this MessageFlag. This is always in 0..30.

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
operator fun plus(flag: MessageFlag): MessageFlags

Returns an instance of MessageFlags that has all bits set that are set in this and flag.

operator fun plus(flags: MessageFlags): MessageFlags

Returns an instance of MessageFlags that has all bits set that are set in this and flags.

Link copied to clipboard
override fun toString(): String