View Source Nostrum.Struct.Component.SelectMenu (Nostrum v0.10.0)
Select Menu
Summary
Functions
Creates a select menu that can be used inside an action row.
Types
@type opt() :: {:custom_id, Nostrum.Struct.Component.custom_id()} | {:options, Nostrum.Struct.Component.options()} | {:placeholder, Nostrum.Struct.Component.placeholder()} | {:min_values, Nostrum.Struct.Component.min_values()} | {:max_values, Nostrum.Struct.Component.max_values()} | {:disabled, Nostrum.Struct.Component.disabled()}
@type opts() :: [opt()]
@type t() :: %Nostrum.Struct.Component{ channel_types: term(), components: term(), custom_id: Nostrum.Struct.Component.custom_id(), default_values: term(), disabled: Nostrum.Struct.Component.disabled(), emoji: term(), label: term(), max_length: term(), max_values: Nostrum.Struct.Component.max_values(), min_length: term(), min_values: Nostrum.Struct.Component.min_values(), options: Nostrum.Struct.Component.options(), placeholder: Nostrum.Struct.Component.placeholder(), required: term(), style: term(), type: Nostrum.Struct.Component.type(), url: term(), value: term() }