Interaction class

Implementers

Constructors

Interaction(Snowflake _id, String? _label, Snowflake _applicationId, int _version, int _typeId, String _token, Snowflake? _userId, Snowflake? _guildId)
Interaction.from({required dynamic payload})
factory

Properties

applicationId Snowflake
no setter
guild Guild?
no setter
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
no setter
label String?
no setter
member GuildMember?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
no setter
type InteractionType
no setter
user User
no setter
version int
no setter

Methods

deferredReply() Future<Interaction>
Responds to this by a deferred Message (Show a loading state to the user)
delete() Future<void>
Delete original response to interaction
Responds to this by an ModalBuilder
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reply({String? content, List<EmbedBuilder>? embeds, List<RowBuilder>? components, bool? tts, bool? private}) Future<Interaction>
Responds to this by an Message
toString() String
A string representation of this object.
inherited
updateReply({String? content, List<EmbedBuilder>? embeds, List<RowBuilder>? components}) Future<Interaction>
Edit original response to interaction

Operators

operator ==(Object other) bool
The equality operator.
inherited