Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.19 KB

File metadata and controls

23 lines (16 loc) · 1.19 KB

SunshineConversationsClient::WebhookBody

Properties

Name Type Description Notes
target String URL to be called when the webhook is triggered. [optional]
triggers Array<String> An array of triggers the integration is subscribed to. This property is case sensitive. More details. [optional]
include_full_user Boolean A boolean specifying whether webhook payloads should include the complete user schema for events involving a specific user. [optional] [default to false]
include_full_source Boolean A boolean specifying whether webhook payloads should include the client and device object (when applicable). [optional] [default to false]

Code Sample

require 'SunshineConversationsClient'

instance = SunshineConversationsClient::WebhookBody.new(target: https://example.com/callback,
                                 triggers: [&quot;conversation:read&quot;,&quot;conversation:message&quot;],
                                 include_full_user: null,
                                 include_full_source: null)