Table of Contents

Method EditFollowupMessageAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

EditFollowupMessageAsync(string, ulong, DiscordWebhookBuilder, IEnumerable<DiscordAttachment>)

Edits a follow up message.

public Task<DiscordMessage> EditFollowupMessageAsync(string interactionToken, ulong messageId, DiscordWebhookBuilder builder, IEnumerable<DiscordAttachment> attachments = null)

Parameters

interactionToken string

The token of the interaction.

messageId ulong

The ID of the follow up message.

builder DiscordWebhookBuilder

The webhook builder.

attachments IEnumerable<DiscordAttachment>

Attached files to keep.

Returns

Task<DiscordMessage>

The DiscordMessage edited.