MessageButtonOptions
typedef · SourceType: BaseMessageComponentOptions
Properties
label
optional
label: string
The text to be displayed on this button
customId
optional
customId: string
A unique string to be sent in the interaction when clicked
style
optional
style: MessageButtonStyleResolvable
The style of this button
emoji
optional
emoji: EmojiIdentifierResolvable
The emoji to be displayed to the left of the text
url
optional
url: string
Optional URL for link-style buttons
disabled
optional
disabled: boolean
Disables the button to prevent interactions
Default: false