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