DiscordMessageComponentActionRow class
An Action Row is a non-interactive container component for other
types of components. It has a type: 1
and a sub-array of components
of other types.
- You can have up to 5 Action Rows per message
- An Action Row cannot contain another Action Row
- Inheritance
-
- Object
- DiscordMessageComponent
- DiscordMessageComponentActionRow
Constructors
-
DiscordMessageComponentActionRow({required List<
DiscordMessageComponent> components}) -
DiscordMessageComponentActionRow.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
components
→ List<
DiscordMessageComponent> -
list of nested components, max 5
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → int
-
The type of component
finalinherited
- typeAsEnum → DiscordMessageComponentType
-
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
Constants
- componentsEntry → const String