ComponentType class Null safety
Type of interaction component
Constructors
- ComponentType.from(int value)
-
Create ComponentType from
value
Properties
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 ==(
dynamic other) → bool -
The equality operator.
inherited
Constants
-
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)