BotConnector quickReply responds with empty string

Hi, i have configured a Genesys BotConnector and my postUtterance responds with your example:

"replymessages":
[
    {
        "type":"Text",
        "text":"your cookie is ordered"
    },
    {
        "type":"Structured",
        "text": "What would you like to do?",
        "content" : [
            {
                "contentType": "QuickReply",
                "quickReply": {
                    "text":"I want a cookie",
                    "payload": "cookie"
                }
            },
            {
                "contentType": "QuickReply",
                "quickReply": {
                    "text":"I like movies",
                    "payload": "I like movies"              
                }
            }
        ]
    }
]

This renders fine in the messanger, and when i click one of the options, e.g. 'I want a cookie', i see the options disappear and 'I want a cookie' in the messanger box. However, the text sent back to my bot is and empty string "".

Here is what is getting sent to my bot:
"input": {
"message_type": "text",
"text": "",
"source": {
"type": "user",
"id": "8ca8328f-a2d4-421c-b287-0bd6f5ace411"
}

Basically, clicking on a quickReply sends an empty string back to my bot. can someone tell me why?

i figured it out, i thought i was supposed to get
"inputMessage": {
"type": "Text",
"text": "hello"
}

but actually it gets
"inputMessage": {
"type": "Structured",
"content": [
{
"contentType": "ButtonResponse",
"buttonResponse": {
"type": "QuickReply",
"text": "I want a cookie",
"payload": "cookie"
}
}
]
}

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.