Instance Method

deleteWebhook(_:token:then:)

Deletes a webhook

Declaration

func deleteWebhook(_ webhookId: Snowflake, token: String? = nil, then completion: ((RequestError?) -> Void)? = nil)

Parameters

webhookId

Webhook to delete