MessageInteractionMetadata class
Metadata about the interaction, including the source of the interaction and relevant server and user IDs.
Properties
-
IDs for installation context(s) related to an interaction.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
The ID of the interaction.
final
- interactedMessageId → Snowflake?
-
ID of the message that contained interactive component, present only on messages created from component interactions.
final
- originalResponseMessageId → Snowflake?
-
ID of the original response message, present only on follow-up messages.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- triggeringInteractionMetadata → MessageInteractionMetadata?
-
Metadata for the interaction that was used to open the modal, present only on modal submit interactions
final
- type → InteractionType
-
The type of the interaction.
final
- userId → Snowflake
-
ID of the user that triggered the interaction.
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