Method SendAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
SendAsync(DiscordWebhook, ulong?)
Executes a webhook.
public Task<DiscordMessage> SendAsync(DiscordWebhook webhook, ulong? threadId = null)
Parameters
webhookDiscordWebhookThe webhook that should be executed.
threadIdulong?The target thread id.
Returns
- Task<DiscordMessage>
The message sent