Hierarchy (view full)

Implements

Constructors

  • Returns Button

Properties

custom_id?: string

custom_id Developer-defined identifier for the button; max 100 characters

Returns

disabled?: boolean

disabled Whether the button is disabled (defaults to false)

Returns

emoji?: Partial<EmojiInterface>

emoji name, id, and animated

Returns

label?: string

label Text that appears on the button; max 80 characters

Returns

style: number

style A button style

Returns

type: number

type 2 for a button

Returns

url?: string

url URL for link-style buttons

Returns

Methods

Generated using TypeDoc