View Source Nostrum.Struct.Component.Option (Nostrum v0.10.0)
Component Options
Summary
Types
@type default() :: boolean() | nil
If this option is selected by default.
@type description() :: String.t() | nil
An optional description of the option. Max length is 100 characters.
@type emoji() :: Nostrum.Struct.Component.emoji()
@type label() :: Nostrum.Struct.Component.label()
The user-facing name of the option.
@type t() :: %Nostrum.Struct.Component.Option{ default: default(), description: description(), emoji: emoji(), label: label(), value: value() }
@type value() :: String.t()
The developer defined value of the option.