Method EditResponseAsync
- Namespace
- DisCatSharp.ApplicationCommands.Context
- Assembly
- DisCatSharp.ApplicationCommands.dll
EditResponseAsync(DiscordWebhookBuilder, ModifyMode, CancellationToken)
Edits the interaction response.
public Task<DiscordMessage> EditResponseAsync(DiscordWebhookBuilder builder, ModifyMode modifyMode = ModifyMode.Update, CancellationToken cancellationToken = default)
Parameters
builderDiscordWebhookBuilderThe data to edit the response with.
modifyModeModifyModeThe modify mode.
cancellationTokenCancellationTokenA token to cancel the request.
Returns
EditResponseAsync(string, CancellationToken)
Edits the interaction response.
public Task<DiscordMessage> EditResponseAsync(string content, CancellationToken cancellationToken = default)
Parameters
contentstringThe content to edit the response with.
cancellationTokenCancellationTokenA token to cancel the request.