Interactive

User replies to your List message

{
  "app": "DemoApp",
  "timestamp": 1580228523976,
  "version": 2,
  "type": "message",
  "payload": {
    "id": "ABEGkYaYVSEEAhCzqobr15BdMPcRup1fIXAJ",
    "source": "918x98xx21x4",
    "type": "list_reply",
    "payload": {
            "title": "section 1 row 1",
            "id": "list1",
            "reply":"section 1 row 1 1",
            "postbackText":"section 1 row 1 postback payload",
            "description": "first row of first section description"
        },
    "sender": {
      "phone": "918x98xx21x4",
      "name": "John",
      "country_code": "91",
      "dial_code": "8x98xx21x4"
    },
    "context": {
        "id": "gBEGkYaYVSEEAgnPGGVYGg1uNU4",
        "gsId": "cbdafe39-1023-42a7-89d6-6c01a3388bb5"
    }
  }
}

Payload object description

KeyDescriptionExample
titleThe section's title of the selected messagesection 1 row 1
idThe developer defined message ID i.e. the custom ID(alpha-numeric) provided in API request when sending the list message.list1
replyThe title of the list item selected from the section of the list message along with the index of the list item.section 1 row 1 1
postbackTextThe developer defined postback payload for a particular item in the list.section 1 row 1 postback payload
descriptionThe description of the selected list itemfirst row of first section description

User replies to Quick Reply message

{
  "app": "DemoApp",
  "timestamp": 1580228523976,
  "version": 2,
  "type": "message",
  "payload": {
    "id": "ABEGkYaYVSEEAhCzqobr15BdMPcRup1fIXAJ",
    "source": "918x98xx21x4",   
    "type": "button_reply", 
    "payload": {    
            "title": "First",   
            "id": "qr1",    
            "reply":"First 1"   
        },  
    "sender": { 
      "phone": "918x98xx21x4",  
      "name": "John",   
      "country_code": "91", 
      "dial_code": "8x98xx21x4" 
    },  
    "context": {    
        "id": "gBEGkYaYVSEEAgkvE0f1ZkfXX78",    
        "gsId": "123b0fb2-0620-493b-8f7e-5a1ceb6d8c58"  
    }   
  } 
}

Payload object description

KeyDescriptionExample
titleThe title of the button selected by the userFirst
idThe developer defined message ID i.e. the custom ID(alpha-numeric) provided in API request when sending the list message.qr1
replyThe title of the button clicked along with the index of the buttonFirst 1

What’s Next

In the next chapter of this guide, you'll learn about inbound message type: Other messages