Preconfigured options to create this webhook with
Instance Method
createWebhook(with:then:)
Creates a webhook for this channel
Declaration
func createWebhook(with options: [String : String] = [:], then completion: ((Webhook?, RequestError?) -> Void)? = nil)
Parameters
options
-
Options Params
name: The name of the webhook
avatar: The avatar string to assign this webhook in base64