This site is no longer updated.Go to new Conversational Cloud docs

image


To send images, use the image reply type.

You can also use the equivalent image DSL tag.

Properties

Property Type Required Description
imageUrl String Yes Image URL.
text String No Image description.

Syntax

{
  "type": "image",
  "imageUrl": "https://example.com/image.png",
  "text": "See the image"
}

Channel restrictions

image is not supported in the following channels:

  • Chat2Desk
  • Slack
  • Webim (Custom Channel API)
  • Zendesk Chat

How to use

state: Discount
    a: Take advantage of our special hot deal and get 10% off tickets to Bangkok!
    script:
        $response.replies = $response.replies || [];
        $response.replies.push({
            "type": "image",
            "imageUrl": "https://example.com/bangkok.jpg"
        });