SunshineConversationsClient::PostbackWebhook
August 27, 2025 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| payload | String | The payload associated with the postback. | [optional] |
| metadata | Hash<String, Object> | Flat object containing custom properties. Strings, numbers and booleans are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size. | [optional] |
Example
require 'sunshine-conversations-client'
instance = SunshineConversationsClient::PostbackWebhook.new(
payload: null,
metadata: {"lang":"en-ca"}
)