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
stringThe token of the interaction.
messageId
ulongThe ID of the follow up message.
builder
DiscordWebhookBuilderThe webhook builder.
attachments
IEnumerable<DiscordAttachment>Attached files to keep.
Returns
- Task<DiscordMessage>
The DiscordMessage edited.