Table of Contents

Method EditFollowupAsync

Namespace
DisCatSharp.ApplicationCommands.Context
Assembly
DisCatSharp.ApplicationCommands.dll

EditFollowupAsync(ulong, DiscordWebhookBuilder, ModifyMode, CancellationToken)

Edits a followup message.

public Task<DiscordMessage> EditFollowupAsync(ulong followupMessageId, DiscordWebhookBuilder builder, ModifyMode modifyMode = ModifyMode.Update, CancellationToken cancellationToken = default)

Parameters

followupMessageId ulong

The id of the followup message to edit.

builder DiscordWebhookBuilder

The webhook builder.

modifyMode ModifyMode

The modify mode.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<DiscordMessage>

The created message.

EditFollowupAsync(ulong, string, CancellationToken)

Edits a followup message.

public Task<DiscordMessage> EditFollowupAsync(ulong followupMessageId, string content, CancellationToken cancellationToken = default)

Parameters

followupMessageId ulong

The id of the followup message to edit.

content string

The content of the webhook.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<DiscordMessage>

The created message.