Method CreateInteractionResponseAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
CreateInteractionResponseAsync(ulong, string, DiscordInteractionResponseType, DiscordInteractionResponseBuilder)
Creates a response to an interaction.
public Task CreateInteractionResponseAsync(ulong interactionId, string interactionToken, DiscordInteractionResponseType type, DiscordInteractionResponseBuilder builder = null)
Parameters
interactionId
ulongThe ID of the interaction.
interactionToken
stringThe token of the interaction
type
DiscordInteractionResponseTypeThe type of the response.
builder
DiscordInteractionResponseBuilderThe data, if any, to send.
Returns
- Task