Sha256: 425c94902a6b8e6dd9d7000cb2ac2455af31f1849e25bd7db061b9281c1015f9
Contents?: true
Size: 1.99 KB
Versions: 3
Compression:
Stored size: 1.99 KB
Contents
# SunshineConversationsClient::Webhook ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **String** | A unique identifier for the webhook. | [optional] [readonly] **version** | **String** | Schema version of the payload delivered to this webhook. Can be `v1`, `v1.1` or `v2`. | [optional] [readonly] **target** | **String** | URL to be called when the webhook is triggered. | **triggers** | **Array<String>** | An array of triggers the integration is subscribed to. This property is case sensitive. Current supported triggers in v2 are `conversation:create`, `conversation:message:delivery:channel`, `conversation:message:delivery:failure`, `conversation:message:delivery:user`, `conversation:message`, `conversation:read`, `conversation:typing`, `conversation:postback`, and `user:merge` | **secret** | **String** | Webhook secret, used to verify the origin of incoming requests. | [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 ```ruby require 'SunshineConversationsClient' instance = SunshineConversationsClient::Webhook.new(id: 5e554d2cac66fb73a3c01871, version: v2, target: https://example.com/callback, triggers: ["conversation:read","conversation:message"], secret: 8564b3e6a8b20a4bdb68b05ce9bc5936, include_full_user: null, include_full_source: null) ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sunshine-conversations-client-9.3.0 | docs/Webhook.md |
sunshine-conversations-client-9.2.0 | docs/Webhook.md |
sunshine-conversations-client-9.1.1 | docs/Webhook.md |