Sha256: 3b9bf5d3841f66a438591d6f187e8f27c455dc3138fd2749da9797726b17d4e2

Contents?: true

Size: 1.31 KB

Versions: 15

Compression:

Stored size: 1.31 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] 
**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

15 entries across 15 versions & 1 rubygems

Version Path
smooch-api-2.3.0 docs/Action.md
smooch-api-2.2.0 docs/Action.md
smooch-api-2.1.0 docs/Action.md
smooch-api-2.0.0 docs/Action.md
smooch-api-1.12.0 docs/Action.md
smooch-api-1.11.0 docs/Action.md
smooch-api-1.9.0 docs/Action.md
smooch-api-1.8.0 docs/Action.md
smooch-api-1.7.0 docs/Action.md
smooch-api-1.6.0 docs/Action.md
smooch-api-1.5.0 docs/Action.md
smooch-api-1.4.0 docs/Action.md
smooch-api-1.3.0 docs/Action.md
smooch-api-1.2.0 docs/Action.md
smooch-api-1.1.0 docs/Action.md