grom/component/action_row
Types
pub type ActionRow {
ActionRow(id: option.Option(Int), components: List(Component))
}
Constructors
-
ActionRow(id: option.Option(Int), components: List(Component))
pub type Component {
Button(button.Button)
TextInput(text_input.TextInput)
StringSelect(string_select.StringSelect)
UserSelect(user_select.UserSelect)
RoleSelect(role_select.RoleSelect)
MentionableSelect(mentionable_select.MentionableSelect)
ChannelSelect(channel_select.ChannelSelect)
}
Constructors
-
Button(button.Button) -
TextInput(text_input.TextInput) -
StringSelect(string_select.StringSelect) -
UserSelect(user_select.UserSelect) -
RoleSelect(role_select.RoleSelect) -
MentionableSelect(mentionable_select.MentionableSelect) -
ChannelSelect(channel_select.ChannelSelect)