Skip to main content

RadioGroupComponent

Documentation


Documentation / @discordeno/types / RadioGroupComponent

Interface: RadioGroupComponent

Defined in: discordeno/components.ts:480

https://docs.discord.com/developers/components/reference#radio-group-structure

Extends

Properties

customId

customId: string

Defined in: discordeno/components.ts:483

A custom identifier for this component. Maximum 100 characters.


id?

optional id?: number

Defined in: discordeno/components.ts:42

32 bit integer used as an optional identifier for component

Inherited from

BaseComponent.id


options

options: RadioGroupOption[]

Defined in: discordeno/components.ts:485

List of options to show; min 2, max 10.


required?

optional required?: boolean

Defined in: discordeno/components.ts:487

Whether a selection is required to submit the modal. Defaults to true.


type

type: RadioGroup

Defined in: discordeno/components.ts:481

The type of the component

Overrides

BaseComponent.type