Table of Contents

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 ulong

The ID of the interaction.

interactionToken string

The token of the interaction

type DiscordInteractionResponseType

The type of the response.

builder DiscordInteractionResponseBuilder

The data, if any, to send.

Returns

Task