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 Choice

Our platform lets you prompt visitor with a set of up-to 10 choices

ctx.sendChoice("Your text message", [{
            "title" : "Choice1",
            "value": "Choice1Value"
        }, {
            "title" : "Choice2",
            "value": "Choice2Value"
        }, {
            "title" : "Choice3",
            "value": "Choice3Value"
        }], variableName, requied);
Parameter
Description

TextMessage

Text message to prompted

Buttons

Set of buttons

VariableName

Name of the variable in which the value will be saved when a button is clicked

required

true or false; default false

PreviousSet VariablesNextSend Cards

Last updated 3 years ago

Was this helpful?