Overview
Quick Replies for RCS Business Messaging include the question/statement text and a set of up to 11 replies that each contain:
- Title text (including emojis)
- Publish text click action
Quick Replies example image:
JSON 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 RCS quick replies this property is ignored, since RCS has a fixed set of one row. | Integer | Y |
replies | Array of quick replies sent to the consumer | Y | |
button | Buttons contain click and action properties that define the type of action set on user click operation | Object | Y |
click | Click objects contain the action type set on the click operation for each button | Object | Y |
action | Actions are a list of applicative user actions on buttons, which will run on the consumer side and will help them to achieve their operation. Button actions for RCS quick replies can be set to “publishText” only | Enum - “publishText”” | N |
Quick Reply template code example
{
"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
- Maximum of 11 replies for each template
- Each quick reply can contain up to 25 characters
- Colors of quick reply bubble frames is taken by default from the profile branding color that the brand has configured
- Agent or bot will receive an error when trying to send Quick Replies if the text exceeds 25 characters