Instance Method

getWebhook(_:token:then:)

Gets a webhook

Declaration

func getWebhook(_ webhookId: Snowflake, token: String? = nil, then completion: @escaping (Webhook?, RequestError?) -> Void)

Parameters

webhookId

Webhook to get