Types

Link copied to clipboard

A container for other components.

Link copied to clipboard

A button object.

Link copied to clipboard

Select menu for channels.

Link copied to clipboard

Single checkbox for yes/no choice

Link copied to clipboard

Multi-selectable group of checkboxes

Link copied to clipboard
object Companion
Link copied to clipboard

Container that visually groups a set of components

Link copied to clipboard

Displays an attached file

Link copied to clipboard

Component for uploading files

Link copied to clipboard

Container associating a label and description with a component

Link copied to clipboard

Display images and other media

Link copied to clipboard

Select menu for mentionables (users and roles).

Link copied to clipboard

Single-Choice set of options

Link copied to clipboard

Select menu for roles.

Link copied to clipboard

Container to display text alongside an accessory component

Link copied to clipboard

Component to add vertical padding between other components

Link copied to clipboard

A select menu for picking from defined text options.

Link copied to clipboard

Markdown text

Link copied to clipboard

A text input object.

Link copied to clipboard

Small image that can be used as an accessory

Link copied to clipboard
Link copied to clipboard

Select menu for users.

Properties

Link copied to clipboard
val value: Int

The raw value used by Discord.

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
override fun toString(): String