Builds a button component for ActionButtons
Unique identifier for your button. It cannot have leading or trailing spaces. This ID is returned in the webhook when the button is clicked by the user. Maximum length: 256 characters.
Button title. It cannot be an empty string and must be unique within the message. Emojis are supported, markdown is not. Maximum length: 20 characters.
If id is over 256 characters
If id is malformed
If title is an empty string
If title is over 20 characters
Readonly
replyThe reply object of the row
The id of the row
The title of the row
Readonly
typeThe type of the button
Generated using TypeDoc
Button API object