IInteractionsEndpoints class Null safety

Constructors

IInteractionsEndpoints()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

acknowledge(String token, String interactionId, bool hidden, int opCode) Future<void>
Acknowledges interaction that response can be sent within next 15 mins. Response will be ephemeral if hidden is set to true. To response to different interaction types (slash command, button...) opCode is used.
bulkOverrideGlobalCommands(Snowflake applicationId, Iterable<SlashCommandBuilder> builders) Stream<SlashCommand>
Bulk overrides global commands. To delete all apps global commands pass empty list to builders
bulkOverrideGuildCommands(Snowflake applicationId, Snowflake guildId, Iterable<SlashCommandBuilder> builders) Stream<SlashCommand>
Bulk overrides global commands. To delete all apps global commands pass empty list to builders
bulkOverrideGuildCommandsPermissions(Snowflake applicationId, Snowflake guildId, Iterable<SlashCommandBuilder> builders) Future<void>
Overrides permissions for guild commands
deleteFollowup(String token, Snowflake applicationId, Snowflake messageId) Future<void>
Deletes followup message with given id
deleteGlobalCommand(Snowflake applicationId, Snowflake commandId) Future<void>
Deletes global command with given commandId
deleteGuildCommand(Snowflake applicationId, Snowflake commandId, Snowflake guildId) Future<void>
Deletes guild command with given commandId]
deleteOriginalResponse(String token, Snowflake applicationId, String interactionId) Future<void>
Deletes original interaction response
editFollowup(String token, Snowflake applicationId, Snowflake messageId, MessageBuilder builder) Future<Message>
Edits followup message with given messageId
editGlobalCommand(Snowflake applicationId, Snowflake commandId, SlashCommandBuilder builder) Future<SlashCommand>
Edits global command with given commandId using builder
editGuildCommand(Snowflake applicationId, Snowflake commandId, Snowflake guildId, SlashCommandBuilder builder) Future<SlashCommand>
Edits single guild command with given commandId
editOriginalResponse(String token, Snowflake applicationId, MessageBuilder builder) Future<Message>
Edits original interaction response using builder
fetchFollowup(String token, Snowflake applicationId, Snowflake messageId) Future<Message>
Fetches followup messagge from API
fetchGlobalCommand(Snowflake applicationId, Snowflake commandId) Future<SlashCommand>
Fetches global command with given commandId
fetchGlobalCommands(Snowflake applicationId) Stream<SlashCommand>
Fetches global commands of application
fetchGuildCommand(Snowflake applicationId, Snowflake commandId, Snowflake guildId) Future<SlashCommand>
Fetches single guild command with given commandId
fetchGuildCommands(Snowflake applicationId, Snowflake guildId) Stream<SlashCommand>
Fetches all commands for given guildId
fetchOriginalResponse(String token, Snowflake applicationId, String interactionId) Future<Message>
Fetch original interaction response.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
respondCreateResponse(String token, String interactionId, MessageBuilder builder, bool hidden, int respondOpCode) Future<void>
Response to interaction by creating response. Used when interaction wasn't acked before.
respondEditOriginal(String token, Snowflake applicationId, MessageBuilder builder, bool hidden) Future<void>
Response to interaction by editing original response. Used when interaction was acked before.
respondToAutocomplete(Snowflake interactionId, String token, List<ArgChoiceBuilder> builders) Future<void>
Responds to autocomplete interaction
sendFollowup(String token, Snowflake applicationId, MessageBuilder builder) Future<Message>
Sends followup for interaction with given token. Message will be created with builder
toString() String
A string representation of this object. [...]
inherited

Operators

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