DiscordMessageInteraction class
Constructors
- DiscordMessageInteraction({required DiscordSnowflake id, required int type, required String name, required DiscordUser user, DiscordGuildMember? member})
-
DiscordMessageInteraction.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → DiscordSnowflake
-
id of the interaction
final
- member → DiscordGuildMember?
-
the member who invoked the interaction in the guild
final
- name → String
-
the name of the application command
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → int
-
the type of interaction
final
- typeAsEnum → DiscordMessageInteractionType
-
no setter
- user → DiscordUser
-
the user who invoked the interaction
final
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