Method DeleteWebhookAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
DeleteWebhookAsync(ulong, string)
Deletes a webhook
public Task DeleteWebhookAsync(ulong webhookId, string reason)
Parameters
Returns
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
ulongWebhook ID
reason
stringReason this webhook was removed
webhookToken
stringWebhook token