Instance Method

modify(with:then:)

Modifies the current Webhook

Declaration

func modify(with options: [String : String], then completion: ((Webhook?, RequestError?) -> Void)? = nil)

Parameters

options

A dictionary of options to apply to this webhook

Option Params

  • name: The name of the webhook

  • avatar: The avatar for this webhook in base64 string