ApplicationCommandInteractionData class
The data sent in an ApplicationCommandInteraction or an ApplicationCommandAutocompleteInteraction.
Properties
- guildId → Snowflake?
-
The ID of the guild the command was registered in, or
null
if it was a global command.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
The ID of the command.
final
- name → String
-
The name of the command.
final
-
options
→ List<
InteractionOption> ? -
A list of provided options.
final
- resolved → ResolvedData?
-
Additional data about entities in the payload.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetId → Snowflake?
-
The ID of the entity the command was invoked on.
final
- type → ApplicationCommandType
-
The type of the command.
final
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
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