I’m trying to follow
Example 6 - Message with a reply part that contains a collection of quick reply buttons
Found on the Freshchat developer API docs: Freshchat
Payload
{
"actor_type": "agent",
"actor_id": "xxx",
"message_type": "normal",
"message_parts": [
{
"text": {
"content": "Do you Agree?"
}
}
],
"reply_parts": [
{
"collection": {
"sub_parts": [
{
"quick_reply_button": {
"label": "Yes 👍"
}
},
{
"quick_reply_button": {
"label": "No"
}
}
]
}
}
]
}
Endpoint: https://api.in.freshchat.com/v2/conversations/xxx/messages/
I’m getting the following error
{
"code": 400,
"status": "INVALID_VALUE",
"message": "One helpText is required in replyParts along with QuickReplyButtons as part of collection"
}
What is the correct payload for this API?