Method CreateResponseAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
CreateResponseAsync(DiscordInteractionResponseType, DiscordInteractionResponseBuilder)
Creates a response to this interaction.
public virtual Task CreateResponseAsync(DiscordInteractionResponseType type, DiscordInteractionResponseBuilder builder = null)
Parameters
type
DiscordInteractionResponseTypeThe type of the response.
builder
DiscordInteractionResponseBuilderThe data, if any, to send.
Returns
- Task