InteractionManager class

Constructors

InteractionManager(NyxxRest client, {required Snowflake applicationId})
Create a new InteractionManager.

Properties

applicationId Snowflake
The ID of the application for this InteractionManager.
final
client NyxxRest
The client for this InteractionManager.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createFollowup(String token, MessageBuilder builder, {bool? isEphemeral}) Future<Message>
Create a followup to an interaction.
createResponse(Snowflake id, String token, InteractionResponseBuilder builder) Future<void>
Create a response to an interaction.
deleteFollowup(String token, Snowflake messageId) Future<void>
Delete a followup to an interaction.
deleteOriginalResponse(String token) Future<void>
Delete an interaction's original response.
fetchFollowup(String token, Snowflake messageId) Future<Message>
Fetch a followup to an interaction.
fetchOriginalResponse(String token) Future<Message>
Fetch an interaction's original response.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(Map<String, Object?> raw) Interaction
parseApplicationCommandInteractionData(Map<String, Object?> raw, {Snowflake? guildId, Snowflake? channelId}) ApplicationCommandInteractionData
parseInteractionOption(Map<String, Object?> raw) InteractionOption
parseMessageComponentInteractionData(Map<String, Object?> raw, {Snowflake? guildId, Snowflake? channelId}) MessageComponentInteractionData
parseModalSubmitInteractionData(Map<String, Object?> raw) ModalSubmitInteractionData
parseResolvedData(Map<String, Object?> raw, {Snowflake? guildId, Snowflake? channelId}) ResolvedData
toString() String
A string representation of this object.
inherited
updateFollowup(String token, Snowflake messageId, MessageUpdateBuilder builder) Future<Message>
Update a followup to an interaction.
updateOriginalResponse(String token, MessageUpdateBuilder builder) Future<Message>
Update an interaction's original response.

Operators

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