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