Table of Contents

Method CreateModalResponseAsync

Namespace
DisCatSharp.ApplicationCommands.Context
Assembly
DisCatSharp.ApplicationCommands.dll

CreateModalResponseAsync(DiscordInteractionModalBuilder, CancellationToken)

Creates a modal response to this interaction.

public Task CreateModalResponseAsync(DiscordInteractionModalBuilder builder, CancellationToken cancellationToken = default)

Parameters

builder DiscordInteractionModalBuilder

The data to send.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task