Method ModifyAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
ModifyAsync(DiscordWebhook, DiscordMessage)
Sends the modified webhook message.
public Task<DiscordMessage> ModifyAsync(DiscordWebhook webhook, DiscordMessage message)
Parameters
webhookDiscordWebhookThe webhook that should be executed.
messageDiscordMessageThe message to modify.
Returns
- Task<DiscordMessage>
The modified message
ModifyAsync(DiscordWebhook, ulong)
Sends the modified webhook message.
public Task<DiscordMessage> ModifyAsync(DiscordWebhook webhook, ulong messageId)
Parameters
webhookDiscordWebhookThe webhook that should be executed.
messageIdulongThe id of the message to modify.
Returns
- Task<DiscordMessage>
The modified message