Constructor Summary
Public Constructor | ||
public |
constructor(params: Object) |
Member Summary
Public Members | ||
public |
String returned via webhook in the postback.data property of the postback event. |
|
public |
Text sent when the action is performed. |
Inherited Summary
From class TemplateAction | ||
public |
Label for the action. |
|
public |
Identifier for the type of action. |
Public Constructors
public constructor(params: Object) source
Params:
Name | Type | Attribute | Description |
params | Object | ||
params.label | string | Label for the action. (Max: 20 chars) |
|
params.text | string |
|
Text sent when the action is performed. (Max: 300 chars) |
params.data | string | String returned via webhook in the postback.data property of the postback event. (Max: 300 chars) |