Table of Contents

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 ulong

Webhook ID

webhookToken string

Webhook token

builder DiscordWebhookBuilder

Webhook builder filled with data to send.

Returns

Task<DiscordMessage>