Method EditOriginalInteractionResponseAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
EditOriginalInteractionResponseAsync(string, DiscordWebhookBuilder, IEnumerable<DiscordAttachment>)
Edits the original interaction response.
public Task<DiscordMessage> EditOriginalInteractionResponseAsync(string interactionToken, DiscordWebhookBuilder builder, IEnumerable<DiscordAttachment> attachments = null)
Parameters
interactionToken
stringThe token of the interaction.
builder
DiscordWebhookBuilderThe webhook builder.
attachments
IEnumerable<DiscordAttachment>Attached files to keep.
Returns
- Task<DiscordMessage>
The DiscordMessage edited.