Skip to main content

DiscordActionRow

Documentation


Documentation / @discordeno/types / DiscordActionRow

Interface: DiscordActionRow

Defined in: discord/components.ts:104

https://docs.discord.com/developers/components/reference#action-row-action-row-structure

Extends

Properties

components

components: (DiscordStringSelectComponent | DiscordUserSelectComponent | DiscordRoleSelectComponent | DiscordMentionableSelectComponent | DiscordChannelSelectComponent | DiscordButtonComponent | DiscordTextInputComponent)[]

Defined in: discord/components.ts:116

The components in this row

Remarks

Up to 5 button components, a single select component or a single text input component

Using a DiscordTextInputComponent inside the Action Row is deprecated, use a DiscordLabelComponent for modals


id?

optional id?: number

Defined in: discord/components.ts:100

32 bit integer used as an optional identifier for component

Inherited from

DiscordBaseComponent.id


type

type: ActionRow

Defined in: discord/components.ts:105

The type of the component

Overrides

DiscordBaseComponent.type