DSharpPlus.Rest/DiscordRestClient.cs
/// <summary>
/// Edits a previously-sent webhook message.
/// </summary>
/// <param name="webhook_id">Webhook id</param>
/// <param name="webhook_token">Webhook token</param>
/// <param name="messageId">The id of the message to edit.</param>
/// <param name="builder">The builder of the message to edit.</param>
/// <returns>The modified <see cref="DiscordMessage"/></returns>
Edits a previously-sent webhook message.
Edits a previously - sent webhook message .
public async Task<DiscordMessage> EditWebhookMessageAsync(ulong webhook_id, string webhook_token, ulong messageId, DiscordWebhookBuilder builder)
        {
            builder.Validate(true);
            return await this.ApiClient.EditWebhookMessageAsync(webhook_id, webhook_token, messageId, builder).ConfigureAwait(false);
        }
public async Task < DiscordMessage > EditWebhookMessageAsync ( ulong webhook_id , string webhook_token , ulong messageId , DiscordWebhookBuilder builder ) { builder . Validate ( true ) ; return await this . ApiClient . EditWebhookMessageAsync ( webhook_id , webhook_token , messageId , builder ) . ConfigureAwait ( false ) ; }
Edits a previously-sent webhook message.
Edits a previously - sent webhook message .
None
webhook_id
ulong
None
webhook_token
string
None
messageId
ulong
The id of the message to edit.
The id of the message to edit .
builder
DiscordWebhookBuilder
The builder of the message to edit.
The builder of the message to edit .