Interaction class Null safety
Constructors
- Interaction(Snowflake _id, 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
- 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
-
modal(
ModalBuilder modal) → Future< void> -
Responds to this by an
Modal
-
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<void> - Responds to this by an Message
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited