Method ModifyAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
ModifyAsync(DiscordWebhook, DiscordMessage, DiscordThreadChannel?)
Sends the modified webhook message.
public Task<DiscordMessage> ModifyAsync(DiscordWebhook webhook, DiscordMessage message, DiscordThreadChannel? thread = null)
Parameters
webhookDiscordWebhookThe webhook that should be executed.
messageDiscordMessageThe message to modify.
threadDiscordThreadChannelThe target thread.
Returns
- Task<DiscordMessage>
The modified message
ModifyAsync(DiscordWebhook, ulong, ulong?)
Sends the modified webhook message.
public Task<DiscordMessage> ModifyAsync(DiscordWebhook webhook, ulong messageId, ulong? threadId = null)
Parameters
webhookDiscordWebhookThe webhook that should be executed.
messageIdulongThe id of the message to modify.
threadIdulong?The target thread id.
Returns
- Task<DiscordMessage>
The modified message