Table of Contents

Method DeleteWebhookAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

DeleteWebhookAsync(ulong, string)

Deletes a webhook

public Task DeleteWebhookAsync(ulong webhookId, string reason)

Parameters

webhookId ulong

Webhook ID

reason string

Reason this webhook was deleted

Returns

Task

DeleteWebhookAsync(ulong, string, string)

Deletes a webhook (when user is not in said guild)

public Task DeleteWebhookAsync(ulong webhookId, string reason, string webhookToken)

Parameters

webhookId ulong

Webhook ID

reason string

Reason this webhook was removed

webhookToken string

Webhook token

Returns

Task