Table of Contents

Method SendAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

SendAsync(DiscordWebhook, ulong?)

Executes a webhook.

public Task<DiscordMessage> SendAsync(DiscordWebhook webhook, ulong? threadId = null)

Parameters

webhook DiscordWebhook

The webhook that should be executed.

threadId ulong?

The target thread id.

Returns

Task<DiscordMessage>

The message sent