Nostrum.Struct.Component.ChannelSelect (nostrum v0.11.0-dev)

View Source

Channel Select

Summary

Types

opt()

(since 0.10.1)

opts()

(since 0.10.1)
@type opts() :: [opt()]

t()

(since 0.10.1)
@type t() :: %Nostrum.Struct.Component{
  channel_types: Nostrum.Struct.Component.channel_types(),
  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: term(),
  placeholder: term(),
  required: term(),
  style: term(),
  type: Nostrum.Struct.Component.type(),
  url: term(),
  value: term()
}

Functions

channel_select(custom_id, opts \\ [])

(since 0.10.1)

flatten(map)

(since 0.10.1)