Interaction class Null safety

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
read-only
guild Guild?
read-only
hashCode int
The hash code for this object.
read-only, inherited
id Snowflake
read-only
label String?
read-only
member GuildMember?
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
token String
read-only
type InteractionType
read-only
user User
read-only
version int
read-only

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 non-existent 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