replies

  • The bot can handle the visitor on its own by providing replies to the visitor queries. replies accept only a collection(i.e. a list) as the value. The collection can, in turn, have one or more strings.
  • Whenever there is a delay in the bot's reply to a visitor's message, you can send also out a delay information message.
  Channel compatibility

     

Output

One string reply

Copied "user_defined": {
      "zohosalesiq": {
        "action": "reply",
        "replies": [
          "Today's hot deal!"
        ]
      }
    }

Multiple replies

Copied "user_defined": {
      "zohosalesiq": {
        "action": "reply",
        "replies": [
          "Today's hot deal!",
          {
            "text": "Cliq - Classic Black Smart watch | 20% Off - $899 Only",
            "image": "http://zylker.com/cliq-classicblack.jpg/23454433445"
          }
        ]
      }
    }

Deplay replies

Copied "user_defined": {
      "zohosalesiq": {
        "action": "reply",
        "replies": [
            {
                "text": "Welcome to Zylker",
                "delay_config": {
                    "enabled": true,
                    "info_messages": [
                        "Loading",
                        "Fetching slots"
                    ],
                    "type": "all",
                    "time": 5
                }
            }
        ]
    }
}
//The "time" is given in seconds
//When more than one delay info messages are given. The "type" can be set as "random" or "all" to define the message order