Overview

The Quick Reply template provides a way to receive consumer input to a question/statement by a set of buttons that each contain a title text and/or emojis. The quick reply options always appear above the message composition in the Facebook Messenger window, and will be published in the conversation thread upon consumer selection.

Quick Replies for Facebook Messenger includes a set of up to 11 buttons that can each contain a text title and a publish text click action.

Please note that should you want to share a question/statement before sending the quick replies, the text message should be shared with the JSON.

Below is an image of a Quick Reply template with four quick replies:

image alt textimage alt text

Template Properties

Property Name Description Type Required
type Types of basic elements supported by Structured Content framework. Will always be set to "quickReplies" Enum Y
itemsPerRow The number of items that will be set on each row. For Facebook Quick Reply this property is ignored, since Facebook has a fix set of one row. Integer Y
replies Array of quick replies sent to the consumer Y
button Button elements contain click and actions properties that define the type of action set on user click operation Object Y
click Click object contains the action type set on the click operation for each button Object Y
action Actions are a list of applicative user actions on buttons, that will run on the consumer side and will help them to achieve their operation. Button action for Facebook Quick Reply can be set to “publishText” only Enum - “publishText” N

Example Template

{
  "type": "quickReplies",
  "itemsPerRow": 8,
  "replies": [
    {
      "type": "button",
      "tooltip": "Not likely at all",
      "title": "Not likely at all",
      "click": {
        "actions": [
          {
            "type": "publishText",
            "text": "yep"
          }
        ]
      }
    },
    {
      "type": "button",
      "tooltip": "Not likely",
      "title": "Not likely",
      "click": {
        "actions": [
          {
            "type": "publishText",
            "text": "nope"
          }
        ]
      }
    },
    {
      "type": "button",
      "tooltip": "likely",
      "title": "likely",
      "click": {
        "actions": [
          {
            "type": "publishText",
            "text": "nope"
          }
        ]
      }
    },
    {
      "type": "button",
      "tooltip": "Very likely",
      "title": "Very likely",
      "click": {
        "actions": [
          {
            "type": "publishText",
            "text": "nope"
          }
        ]
      }
    }
  ]
}

Limitations

To create unified layouts when looking to use the Quick Replies Messenger template, please use these limitation/guidelines to create layouts:

  • Facebook has a maximum of 11 replies in each quick reply template. LiveEngage does not have a limit on the number of replies.
  • Facebook does not allow more than 20 characters on button title text. LiveEngage will allow up to 128 characters.
  • Facebook allows sharing images within quick replies - this is not supported with the template, however.