View Source Nostrum.Struct.Component.Option (Nostrum v0.6.1)

Component Options

Link to this section Summary

Types

If this option is selected by default.

An optional description of the option. Max length is 100 characters.

The user-facing name of the option.

t()

The developer defined value of the option.

Link to this section Types

Specs

default() :: boolean() | nil

If this option is selected by default.

Specs

description() :: String.t() | nil

An optional description of the option. Max length is 100 characters.

Specs

Specs

The user-facing name of the option.

Specs

t() :: %Nostrum.Struct.Component.Option{
  default: default(),
  description: description(),
  emoji: emoji(),
  label: label(),
  value: value()
}

Specs

value() :: String.t()

The developer defined value of the option.