Table of Contents

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 string

The token of the interaction.

builder DiscordWebhookBuilder

The webhook builder.

attachments IEnumerable<DiscordAttachment>

Attached files to keep.

Returns

Task<DiscordMessage>

The DiscordMessage edited.