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

Component Options

Link to this section Summary

Types

Whether to render this option as selected by default.

An optional description for the option, up to 100 characters.

t()

Link to this section Types

Specs

default() :: boolean()

Whether to render this option as selected by default.

Specs

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

An optional description for the option, up to 100 characters.

Specs

Specs

Specs

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

Specs

value() :: String.t()