Instance Method

getWebhooks(from:then:)

Gets a channel’s webhooks

Declaration

func getWebhooks(from channelId: Snowflake, then completion: @escaping ([Webhook]?, RequestError?) -> Void)

Parameters

channelId

Channel to get webhooks from