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
builderDiscordInteractionModalBuilderThe data to send.
cancellationTokenCancellationTokenA token to cancel the request.