Table of Contents

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 DiscordInteractionResponseType

The type of the response.

builder DiscordInteractionResponseBuilder

The data, if any, to send.

Returns

Task