lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb in twilio-ruby-5.61.2 vs lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb in twilio-ruby-5.62.0

- old
+ new

@@ -82,19 +82,19 @@ # Update the WebhookInstance # @param [String] pre_webhook_url The absolute url the pre-event webhook request # should be sent to. # @param [String] post_webhook_url The absolute url the post-event webhook request # should be sent to. - # @param [Array[String]] filters The list of webhook event triggers that are - # enabled for this Service. Possible values are `onParticipantAdd`, - # `onParticipantAdded`, `onDeliveryUpdated`, `onConversationUpdated`, - # `onConversationRemove`, `onParticipantRemove`, `onConversationUpdate`, - # `onMessageAdd`, `onMessageRemoved`, `onParticipantUpdated`, - # `onConversationAdded`, `onMessageAdded`, `onConversationAdd`, - # `onConversationRemoved`, `onParticipantUpdate`, `onMessageRemove`, - # `onMessageUpdated`, `onParticipantRemoved`, `onMessageUpdate` or - # `onConversationStateUpdated`. + # @param [Array[String]] filters The list of events that your configured webhook + # targets will receive. Events not configured here will not fire. Possible values + # are `onParticipantAdd`, `onParticipantAdded`, `onDeliveryUpdated`, + # `onConversationUpdated`, `onConversationRemove`, `onParticipantRemove`, + # `onConversationUpdate`, `onMessageAdd`, `onMessageRemoved`, + # `onParticipantUpdated`, `onConversationAdded`, `onMessageAdded`, + # `onConversationAdd`, `onConversationRemoved`, `onParticipantUpdate`, + # `onMessageRemove`, `onMessageUpdated`, `onParticipantRemoved`, `onMessageUpdate` + # or `onConversationStateUpdated`. # @param [String] method The HTTP method to be used when sending a webhook # request. One of `GET` or `POST`. # @return [WebhookInstance] Updated WebhookInstance def update(pre_webhook_url: :unset, post_webhook_url: :unset, filters: :unset, method: :unset) data = Twilio::Values.of({ @@ -176,11 +176,11 @@ def account_sid @properties['account_sid'] end ## - # @return [String] The chat_service_sid + # @return [String] The unique ID of the {Conversation Service}[https://www.twilio.com/docs/conversations/api/service-resource] this conversation belongs to. def chat_service_sid @properties['chat_service_sid'] end ## @@ -194,11 +194,11 @@ def post_webhook_url @properties['post_webhook_url'] end ## - # @return [Array[String]] The list of webhook event triggers that are enabled for this Service. + # @return [Array[String]] The list of events that your configured webhook targets will receive. Events not configured here will not fire. def filters @properties['filters'] end ## @@ -217,18 +217,18 @@ # Update the WebhookInstance # @param [String] pre_webhook_url The absolute url the pre-event webhook request # should be sent to. # @param [String] post_webhook_url The absolute url the post-event webhook request # should be sent to. - # @param [Array[String]] filters The list of webhook event triggers that are - # enabled for this Service. Possible values are `onParticipantAdd`, - # `onParticipantAdded`, `onDeliveryUpdated`, `onConversationUpdated`, - # `onConversationRemove`, `onParticipantRemove`, `onConversationUpdate`, - # `onMessageAdd`, `onMessageRemoved`, `onParticipantUpdated`, - # `onConversationAdded`, `onMessageAdded`, `onConversationAdd`, - # `onConversationRemoved`, `onParticipantUpdate`, `onMessageRemove`, - # `onMessageUpdated`, `onParticipantRemoved`, `onMessageUpdate` or - # `onConversationStateUpdated`. + # @param [Array[String]] filters The list of events that your configured webhook + # targets will receive. Events not configured here will not fire. Possible values + # are `onParticipantAdd`, `onParticipantAdded`, `onDeliveryUpdated`, + # `onConversationUpdated`, `onConversationRemove`, `onParticipantRemove`, + # `onConversationUpdate`, `onMessageAdd`, `onMessageRemoved`, + # `onParticipantUpdated`, `onConversationAdded`, `onMessageAdded`, + # `onConversationAdd`, `onConversationRemoved`, `onParticipantUpdate`, + # `onMessageRemove`, `onMessageUpdated`, `onParticipantRemoved`, `onMessageUpdate` + # or `onConversationStateUpdated`. # @param [String] method The HTTP method to be used when sending a webhook # request. One of `GET` or `POST`. # @return [WebhookInstance] Updated WebhookInstance def update(pre_webhook_url: :unset, post_webhook_url: :unset, filters: :unset, method: :unset) context.update( \ No newline at end of file