MessageButton¶
Inherits: MessageInteractiveComponent < MessageComponent < Reference < Object
Description¶
Button message component.
custom_id
is empty when url
is set, and the button does not fire an
interaction event if it is the case.
Properties¶
type | name |
---|---|
bool | disabled |
int | style |
String | label |
Emoji | emoji |
String | url |
Constants¶
-
Dictionary Styles
-
PRIMARY = 1
-
SECONDARY = 2
-
SUCCESS = 3
-
DANGER = 4
-
LINK = 5
Button styles
-