Table of Contents

Method SendAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

SendAsync(DiscordWebhook)

Executes a webhook.

public Task<DiscordMessage> SendAsync(DiscordWebhook webhook)

Parameters

webhook DiscordWebhook

The 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 DiscordWebhook

The webhook that should be executed.

threadId ulong

Target thread id.

Returns

Task<DiscordMessage>

The message sent