MessageButton class Null safety

Represents button that has attached metadata and will generate interaction event

Inheritance

Properties

customId String
a dev-defined unique string sent on click (max 100 characters)
late, final
disabled bool
True if button is disabled
late, final, inherited
emoji MessageComponentEmoji?
Additional emoji that will be displayed before label
late, final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
label String?
What the button says (max 80 characters)
late, final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
style ComponentStyle
Component style, appearance
late, final, inherited
type ComponentType
ComponentType
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited