Skip to main content

SectionComponent

Documentation


Documentation / @discordeno/types / SectionComponent

Interface: SectionComponent

Defined in: discordeno/components.ts:347

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

Extends

Properties

accessory

accessory: ButtonComponent | ThumbnailComponent

Defined in: discordeno/components.ts:353

A thumbnail or a button component, with a future possibility of adding more compatible components


components

components: TextDisplayComponent[]

Defined in: discordeno/components.ts:351

One to three text components


id?

optional id?: number

Defined in: discordeno/components.ts:42

32 bit integer used as an optional identifier for component

Inherited from

BaseComponent.id


type

type: Section

Defined in: discordeno/components.ts:348

The type of the component

Overrides

BaseComponent.type