Sha256: 684bb83b71947b14175190c20e48184820c3bed8e418f5bba1e52f9db983a686
Contents?: true
Size: 1.7 KB
Versions: 27
Compression:
Stored size: 1.7 KB
Contents
# SmoochApi::Action ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | The action type. | **text** | **String** | The button text. | **payload** | **String** | The payload to be sent with the resulting webhook. Required for *postback* and *reply* actions. | [optional] **metadata** | **Object** | Flat JSON object containing any custom properties associated with the action. | [optional] **amount** | **Integer** | The amount being charged. It needs to be specified in cents and is an integer. Required for *buy* actions. | [optional] **currency** | **String** | The currency of the amount being charged (USD, CAD, etc.). | [optional] **default** | **BOOLEAN** | Flag indicating if the message action is the default for a message item in Facebook Messenger. | [optional] **icon_url** | **String** | An icon to render next to the reply option (Facebook Messenger and Web Messenger only). | [optional] **uri** | **String** | The action URI. This is the link that will be used in the clients when clicking the button. Required for *link* and *webview* actions. | [optional] **fallback** | **String** | The webview action fallback uri. This is the link that will be used in clients that do not support webviews. Required for *webview* actions. | [optional] **size** | **String** | The size used to display the webview. Allowed values are [\"compact\", \"tall\", \"full\"]. (Optional) Used for *webview* actions. | [optional] **extra_channel_options** | **Object** | Extra options to pass directly to the channel API. See [Extra Channel Options](https://docs.smooch.io/rest#extra-channel-options-schema) | [optional]
Version data entries
27 entries across 27 versions & 1 rubygems