Webhook to modify
Instance Method
modifyWebhook(_:token:with:then:)
Modifies a webhook
Declaration
func modifyWebhook(_ webhookId: Snowflake, token: String? = nil, with options: [String : String], then completion: ((Webhook?, RequestError?) -> Void)? = nil)
Parameters
webhookId
-
options
-
Preconfigured options to modify webhook with
Option Params
name: The name given to the webhook
avatar: The avatar image to give webhook in base 64 string