airyhq / airy

💬 Open Source App Framework to build streaming apps with real-time data - 💎 Build real-time data pipelines and make real-time data universally accessible - 🤖 Join historical and real-time data in the stream to create smarter ML and AI applications. - ⚡ Standardize complex data ingestion and stream data to apps with pre-built connectors
https://airy.co/docs/core
Apache License 2.0
370 stars 44 forks source link

Render Quick Replies from Facebook #861

Closed AitorAlgorta closed 3 years ago

AitorAlgorta commented 3 years ago
{
   "conversation_id": "UUID",
   "message":{
    "text": "Pick a color:",
    "quick_replies":[
      {
        "content_type":"text",
        "title":"Red",
        "payload":"<POSTBACK_PAYLOAD>",
        "image_url":"http://example.com/img/red.png"
      },{
        "content_type":"text",
        "title":"Green",
        "payload":"<POSTBACK_PAYLOAD>",
        "image_url":"http://example.com/img/green.png"
      }
    ]
  }
}
AudreyKj commented 3 years ago

52945248-2e20e080-3369-11e9-99b9-3ac39f0ec482

AudreyKj commented 3 years ago

quick Replies: https://developers.facebook.com/docs/messenger-platform/reference/buttons/quick-replies/ attachment: https://developers.facebook.com/docs/messenger-platform/reference/send-api#attachment

"a set of up to 13 buttons in-conversation that contain a title and optional image"