Konverse AI Developer Hub
  • Konverse AI Developer Hub
  • Getting Started
    • Authentication
    • Errors
    • Rate Limit
  • Webhooks
    • Webhook Endpoints
  • Platform
    • Embedded Functions
      • Send Text Message
      • Send Quick Reply
      • Set Variables
      • Send Choice
      • Send Cards
      • Stop Propagation
      • Query a Dataset
      • Jump To Story
      • Query a Google Sheet
    • Datasets
    • Bot Webhooks
  • Messaging Channels
    • Introduction to Channels
    • Web Chat
    • Facebook Messenger
    • WhatsApp
      • Send WhatsApp Notifications
      • Send Session Message
    • Line
  • App Integration
    • Android App Integration
Powered by GitBook
On this page

Was this helpful?

  1. Platform
  2. Embedded Functions

Send Cards

Our platform allows to send up-to 10 cards with each card having up-to 3 buttons.

ctx.sendCards({
	"title": "Card1",
	"subtitle": "Subtitle1",
	"image": "https://path-to-image1",
	"buttons": [{
			"type": "postback",
			"jumpTo": "<Story Label>",
			"title": "Button 1 title"
		},
		{
			"type": "url",
			"url": "https://external-redirec-link",
			"title": "URL BUTTON"
		}, {
			"type": "postback",
			"jumpTo": "<Story Label>",
			"title": "Button 3 Postback with variables",
			"variables": [{
				"key": "#variableName",
				"variableType": "variableType",
				"value": "value"
			}]
		}
	]
})
PreviousSend ChoiceNextStop Propagation

Last updated 3 years ago

Was this helpful?