Button component
button
Used for creating a button component.
Map entries #
Key | Type | Description |
---|---|---|
id |
String | The ID of the button. Used to identify when interacted with.1 |
label |
String | The text shown on the button. |
disabled |
Boolean ( false by default) |
Whether if this button is disabled. |
style |
String ( GREY by default) |
The style of the button. |
emoji |
String, or Emoji | The emoji shown on the button. |
url |
String | The URL opened when clicking the button.2 |
Button styles#
String | Preview |
---|---|
BLURPLE |
|
GREY |
|
GREEN |
|
RED |
|
URL |