Constructor
- Source:
Properties:
Name |
Type |
Description |
buttons |
Array.<Button>
|
The buttons of the action |
_ |
String
|
The type of the action, for internal use only |
Builds a reply buttons component for an Interactive message
Parameters:
Name |
Type |
Attributes |
Description |
button |
Button
|
<repeatable>
|
Buttons to be used in the reply buttons. Each button title must be unique within the message. Emojis are supported, markdown is not. Must be between 1 and 3 buttons. |
Throws:
-
-
If no buttons are provided or are over 3
-
-
Type
-
Error
-
-
If two or more buttons have the same id
-
-
Type
-
Error
-
-
If two or more buttons have the same title
-
-
Type
-
Error