Twilio\Rest\Chat\V2\Service\Channel\UpdateWebhookOptions

Synopsis

class UpdateWebhookOptions extends Options {
  • // Inherited members from Options
  • protected array $options;
  • // Inherited methods from Options
  • public void getIterator()
}

Hierarchy

Extends

Members

protected

  • $options

Methods

public

  • __construct()
  • __toString() — Provide a friendly representation
  • setConfigurationFilters() — The events that cause us to call the Channel Webhook. Used when `type` is `webhook`. This parameter takes only one event. To specify more than one event, repeat this parameter for each event. For the list of possible events, see [Webhook Event Triggers](https://www.twilio.com/docs/chat/webhook-events#webhook-event-trigger).
  • setConfigurationFlowSid() — The SID of the Studio [Flow](https://www.twilio.com/docs/studio/rest-api/flow) to call when an event in `configuration.filters` occurs. Used only when `type` = `studio`.
  • setConfigurationMethod()
  • setConfigurationRetryCount() — The number of times to retry the webhook if the first attempt fails. Can be an integer between 0 and 3, inclusive, and the default is 0.
  • setConfigurationTriggers() — A string that will cause us to call the webhook when it is present in a message body. This parameter takes only one trigger string. To specify more than one, repeat this parameter for each trigger string up to a total of 5 trigger strings. Used only when `type` = `trigger`.
  • setConfigurationUrl() — The URL of the webhook to call using the `configuration.method`.

Inherited from Twilio\Options

public