MessageButton class
Represents button that has attached metadata and will generate interaction event
- Inheritance
-
- Object
- IMessageComponent
- IMessageButton
- MessageButton
Properties
- customId ↔ String
-
a dev-defined unique string sent on click (max 100 characters)
latefinal
- disabled ↔ bool
-
True if button is disabled
latefinalinherited
- emoji ↔ MessageComponentEmoji?
-
Additional emoji that will be displayed before label
latefinalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- label ↔ String?
-
What the button says (max 80 characters)
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style ↔ ComponentStyle
-
Component style, appearance
latefinalinherited
- type → ComponentType
-
ComponentType
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited