Learn about the Actions object used by the Automation Framework and Bot v3 API
The Actions object represents structured actions that the user can take. This object is used with postbacks and replies. You'll send an actions
object if your bot responds with a postback or reply payload.
"actions":[
{
"type":"postback",
"payload":"DEVELOPER_DEFINED_PAYLOAD-001",
"text":"A good way to keep h..."
}
]
Field | Description |
---|---|
type | Required. The action type: postback or reply |
payload | Required. The payload sent to the bot on the activation of a postback or reply button. |
text | Required. The text used with the postback or reply. |