Method ExecuteWebhookAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
ExecuteWebhookAsync(ulong, string, DiscordWebhookBuilder)
Sends a message to a webhook
public Task<DiscordMessage> ExecuteWebhookAsync(ulong webhookId, string webhookToken, DiscordWebhookBuilder builder)
Parameters
webhookId
ulongWebhook ID
webhookToken
stringWebhook token
builder
DiscordWebhookBuilderWebhook builder filled with data to send.
Returns
- Task<DiscordMessage>