Sha256: 690d2ed7c0ed1bb719241bbd8fb95b22010e253ae5cd4afae42dcb83b5a7557b
Contents?: true
Size: 1.2 KB
Versions: 19
Compression:
Stored size: 1.2 KB
Contents
# SunshineConversationsClient::Reply ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | The type of action. | **text** | **String** | The button text. Text longer than 20 characters will be truncated on Facebook Messenger, and longer than 40 characters will be truncated on Web Messenger, iOS, and Android. | **payload** | **String** | A string payload to help you identify the action context. Used when posting the reply. You can also use metadata for more complex needs. | **metadata** | [**Object**](.md) | 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] **icon_url** | **String** | An icon to render next to the reply option. | [optional] ## Code Sample ```ruby require 'SunshineConversationsClient' instance = SunshineConversationsClient::Reply.new(type: null, text: null, payload: null, metadata: {"lang":"en-ca"}, icon_url: null) ```
Version data entries
19 entries across 19 versions & 1 rubygems