Sha256: b4a457405384bccdf9faf0da1ccd9b0fbe3b9a20a5a26a781d02a5d291a9f169

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 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* actions.  | [optional] 


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smooch-api-1.0.0 docs/Action.md