CSML Studio
  • Introduction
  • 🦜Getting started
    • Create Your First Bot
    • The Dashboard
    • AI & Natural Language Processing
      • AI Rules
      • Configuring a NLU Provider
    • Apps and Integrations
      • Authoring Custom Apps
      • CSML Integrations
      • Tools and utilities
      • Preprocessing
    • Livechat
      • Chatwoot
    • Bot Configuration Options
    • Authenticating Users
    • 💻CSML Language Reference
  • 🔌Studio API
    • Getting Started
    • Authentication
    • Studio CLI
    • API Reference
      • Chat API
      • Broadcasts API
      • Bot API
      • Conversations API
  • 📱Channels
    • Introduction
    • Assistant
      • Installation
      • Configuration
      • Customization
      • Widget
      • Message Formats
    • Workplace Chat
      • Installation
      • Uninstallation
      • Configuration
      • Features and message formats
    • Microsoft Teams
      • Installation
      • Features
    • Google Chat
      • Installation
      • Features
    • WhatsApp
      • Installation
      • Features and Limitations
    • Telegram
      • Installation
      • Features
    • SMS (with Twilio)
      • Installation
      • Features and Limitations
    • Slack
      • Installation
      • Message formats
      • Features
    • Callbots (with Twilio)
      • Installation
      • Features and Limitations
    • Amazon Alexa
      • Installation
    • Google Assistant
      • Installation
    • Messenger (legacy)
      • Installation
      • Configuration
      • Features
      • Message formats
    • Instagram (legacy)
      • Installation
      • Configuration
      • Features
    • Webapp (legacy)
      • Installation
      • Configuration
      • Customization
      • Chatbox
      • Message Formats
Powered by GitBook
On this page
  • Features
  • Available components
  • QR Codes Messages
  • Limitations
  • Channel Availability
  • Buttons
  • Urls
  • Video
  • Audio
  • Files
  • Carousel, Card

Was this helpful?

Export as PDF
  1. Channels
  2. WhatsApp

Features and Limitations

PreviousInstallationNextTelegram

Last updated 2 years ago

Was this helpful?

Features

Available components

Whatsapp supports the following components:

  • Simple texts

  • Wait() and Typing()

  • Medias: Image(), Video(), Audio(), File()

  • Url()

  • Question() and QuickReply()

Markdown is partially supported (only bold, italic and strikethrough).

QR Codes Messages

Whatsapp provides an easy way to generate QR codes that let users reach your chatbot easily. You can read more about it here:

Limitations

Channel Availability

As a security measure, user access tokens expire after about 60 days. If your Whatsapp chatbot remains unused for a longer time, the token will be automatically expired and you will need to reconnect your app to restore it.

Buttons

Whatsapp has a very limited set of interactive components. Buttons for example are textual only, and your users will have to type the actual text of the button

The mapping of Question() and Button() components to text is performed automatically. However you need to set the right title and accepts values in order to correctly match the user's input.

The title of a button must be between 1-20 characters long. You can however manually set a longer payload if needed:

say Button("Click here!", payload="MY_BUTTON_CLICK_HERE_PAYLOAD")

Urls

The Url() component does not support any alternative text or title. Only the given url will be shown as is. For instance, the following code:

start:
    say Url("https://www.google.com", text="Go to google")
    goto end

Has the following output:

Video

You must upload videos in mp4 format. Videos hosted on platforms such as Youtube, Dailymotion or Vimeo will not display (use the Url() component).

Audio

You must upload audio files in mp3 format. Audio files hosted on platforms such as Spotify, Deezer or Soundcloud will not display (use the Url() component).

Files

There is a hard limit of 25MB for all uploaded files (including image, video and audio files).

In a File() component, not all file types are supported. A list of supported file types could not be found, but it is safe to recommend using very common file types only.

The file upload process happens asynchronously on Whatsapp, so messages might show out of order if there is a large upload with not enough time left for its upload before sending the next message.

Carousel, Card

Carousel() and Card() components are not supported.

📱
https://developers.facebook.com/docs/whatsapp/business-management-api/qr-codes