ComponentType class

Type of interaction component

Inheritance

Constructors

ComponentType.from(int value)
Create ComponentType from value

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
value int
Returns value of enum
read-onlyinherited

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 ==(dynamic other) bool
The equality operator.
inherited

Constants

button → const ComponentType
Button object.
ComponentType._create(2)
channelMultiSelect → const ComponentType
Select menu for channels.
ComponentType._create(8)
mentionableMultiSelect → const ComponentType
Select menu for mentionables (users and roles).
ComponentType._create(7)
multiSelect → const ComponentType
Select menu for picking from defined text options.
ComponentType._create(3)
roleMultiSelect → const ComponentType
Select menu for roles.
ComponentType._create(6)
row → const ComponentType
Row where other components can be placed
ComponentType._create(1)
text → const ComponentType
Text input object.
ComponentType._create(4)
userMultiSelect → const ComponentType
Select menu for users.
ComponentType._create(5)