ActionRowBuilder

Constructors

Link copied to clipboard
constructor()

Properties

Functions

Link copied to clipboard
open override fun build(): DiscordChatComponent
Link copied to clipboard
inline fun channelSelect(customId: String, builder: ChannelSelectBuilder.() -> Unit = {})

Creates and adds a channel select menu with the customId and configured by the builder. An ActionRow with a select menu cannot have any other select menus or buttons.

Link copied to clipboard
Link copied to clipboard
inline fun linkButton(url: String, builder: ButtonBuilder.LinkButtonBuilder.() -> Unit)
Link copied to clipboard
inline fun mentionableSelect(customId: String, builder: MentionableSelectBuilder.() -> Unit = {})

Creates and adds a mentionable select menu with the customId and configured by the builder. An ActionRow with a select menu cannot have any other select menus or buttons.

Link copied to clipboard
inline fun premiumButton(skuId: Snowflake, builder: PremiumButtonBuilder.() -> Unit = {})
Link copied to clipboard
inline fun roleSelect(customId: String, builder: RoleSelectBuilder.() -> Unit = {})

Creates and adds a role select menu with the customId and configured by the builder. An ActionRow with a select menu cannot have any other select menus or buttons.

Link copied to clipboard
inline fun stringSelect(customId: String, builder: StringSelectBuilder.() -> Unit)

Creates and adds a string select menu with the customId and configured by the builder. An ActionRow with a select menu cannot have any other select menus or buttons.

Link copied to clipboard
inline fun textInput(style: TextInputStyle, customId: String, label: String, builder: TextInputBuilder.() -> Unit = {})

Creates and adds a text input with the customId and configured by the builder. Text Inputs can only be used within modals.

Link copied to clipboard
inline fun userSelect(customId: String, builder: UserSelectBuilder.() -> Unit = {})

Creates and adds a user select menu with the customId and configured by the builder. An ActionRow with a select menu cannot have any other select menus or buttons.