Message types
Live Chat supports several message types. Customize the messages to meet various requirements and to collect the data that you need from your customers.
The following table summarizes the available message types:
| Message type | Content |
|---|---|
| Attachments | Files that users and agents share. User files must have a permitted extension and must not exceed 10 MB. |
| Greeting | Automatic first message that end users see before the conversation starts. |
| Standard | Text and emojis. |
| Image | Images. The supported formats depend on who sends the image. The widget shows any image file as an image. |
| Video | Videos. Agents and chatbots send video in mp4 format. The widget shows any video file as a video. |
| Audio | Audio files. Audio that agents send plays in an audio player. Audio that users send appears as a download link. |
| Document | Files that are not images, video, or audio, such as PDF files. The widget shows documents as download links. |
| Quick replies | Buttons that send an automatic postback response with the quick reply title. |
| Card buttons | Images, text, and buttons with a URL or postback action. |
| Carousel | Message that moves horizontally and contains 2 to 10 cards. |
| Rich text formatting | Bold, italic, and strikethrough text, hyperlinks, bullet points, numbered lists, and quoted text. |
| Custom data | A JSON payload that is not displayed in the chat, with optional text for the agent and the user. |
Attachments [#attachments]
Live Chat enables both users and agents to share files as attachments. Files that users send must have a permitted extension and cannot exceed 10 MB. These rules do not apply to files shared by agents.
The widget shows image files as images and video files as videos. Documents appear as download links. In the in-app chat, end users can send attachments from their media gallery or capture them with their device camera.
To permit or restrict attachments from users, see User input. For the full list of permitted file extensions, see Default allowed extensions and Custom allowed extensions. For the MIME type check, see File type checks.
Greeting [#greeting]
A greeting message is automatic and visible to end users before the conversation starts. It is the first message they see. Use it to greet your users and guide them on how to proceed with the conversation.
Define the greeting message in the welcome message settings of the widget.
A greeting message can contain the following:
- Image
- Text
- Card buttons
- Quick reply buttons
Standard [#standard]
A standard message can contain text and emojis.
Standard messages are available through the following:
- Chatbots (Answers) bot action
- Agent panel
- Inbox API
Image [#image]
An image message adds an image to a standard message. The supported formats depend on who sends the image:
- Users: Any image extension that the widget permits. See Default allowed extensions.
- Agents in Inbox (Conversations): JPEG and PNG.
- Chatbots:
jpg,jpeg,png, andgif. See Live Chat channel elements.
The widget shows any file with an image/* MIME type as an image. End users can save the image by selecting it.
Outbound messages with images are available through the following:
- Chatbots (Answers) bot action
- Agent panel
- Inbox API
Video [#video]
Use a video message to share guidance with your end users. End users can save the video quickly. They can also send you a message that contains a video.
Agents and chatbots send video in mp4 format. Users can send any video extension that the widget permits. The widget shows any file with a video/* MIME type as a video.
Outbound messages that contain video are available through the following:
- Chatbots (Answers) bot action
- Agent panel
- Inbox API
Audio [#audio]
Agents can send audio files from Inbox (Conversations) in AAC, MP3, OGG, or AMR format. The widget plays these files in an audio player.
Users can send audio files with a permitted extension, for example, mp3, ogg, or wav. For the full list, see Default allowed extensions. The widget shows audio files that users send as download links.
Document [#document]
A document message sends a file that is not an image, video, or audio file, such as a PDF file. The widget shows documents as download links. End users can save a document by selecting the link.
Live Chat validates the files that users send. For details, see File type checks.
Quick replies [#quick-replies]
Use quick replies to guide your end users through automatic dialogues. A quick reply always has one action: it sends an automatic postback response with the quick reply title.
Quick reply messages are available through the following:
- Greeting message in the widget configuration
- Chatbots (Answers) bot action
- Inbox API
Card buttons [#card-buttons]
Use card buttons to drive your end users to a target action. In some cases, these buttons also take end users to different points in your bot logic.
Each card button message can contain an image, text, and buttons. Live Chat does not limit the number of buttons in a card button message.
Each button has the following properties:
- Button title: Up to 32 characters.
- Button action type: URL or Postback.
- Payload: The value of the action:
- URL: The link that opens when the end user selects the button.
- Postback: The data that your bot logic receives when the end user selects the button.
Card button messages are available through the following:
- Greeting message in the widget configuration
- Chatbots (Answers) bot action
- Inbox API
Carousel [#carousel]
Carousel messages suit complex scenarios where you provide multi-choice offers to your end users. If none of the offers suits the user, add quick replies to the carousel. The user can then continue without selecting a specific carousel card.
Carousel messages move horizontally and contain 2 to 10 cards. End users move between the cards with the arrow or by swiping.
Each card in a carousel message has the following elements:
- Image: The supported files are
png,jpg, andjpeg. Recommended aspect ratio: 4:3 (legacy design). The redesigned widget crops images to 256 × 176 px. - Title: Displayed in bold.
- Text: Description of the card.
- Card buttons: Up to 4 buttons per card.
- Quick reply: Optional. If you specify quick replies in your carousel, they are always visible when users move through the cards.
If some cards have images, the cards without an image show a placeholder.
Rich text formatting [#rich-text-formatting]
Use rich text formatting to highlight the most important parts of the messages that you send to your customers.
Rich text formatting in Live Chat supports the following:
- Bold, italic, and strikethrough text
- Hyperlinks with text labels
- Bullet points
- Numbered lists
- Quoted text
Rich text formatting is available in the following places:
- Conversation replies in the agent panel
- Welcome message in the widget configuration
- Text in card button messages
- Captions of image and video messages
Custom data [#custom-data]
The custom data message type sends custom data as a JSON payload without displaying the data in the chat interface. Use it to embed deep links, transmit contextual information, or send custom attributes.
Optionally, define your own text representation of the data, separately for the Live Chat user and the agent. This gives you flexibility in the message content and its visibility.
The custom data message type is useful for the following:
- Transmitting internal metadata: For example, user actions or session states.
- Triggering automated back-end workflows: For example, order tracking and support routing.
- Logging analytics or system events: Record these events without displaying them in the chat.
The custom data message type has the following properties:
- Custom data: Payload that contains the data to transmit. It can include any key-value pairs relevant to your application.
- Agent message: Optional text message displayed to the agent.
- User message: Optional text message displayed to the user.
Custom data messages are available through the following:
Example use case [#example-use-case]
A user interacts with an element on the host page, such as a Track my order button. Instead of asking the user to type their request in the chat, your system automatically sends a custom data message to the agent. The message includes relevant metadata, such as the order ID and the requested action.
At the same time, Live Chat displays a short message to the user to confirm that the request is being processed. In this case, configure the custom data message as follows:
- Agent view: User requested tracking info for order ORD-6789, so the agent quickly understands the context and responds efficiently.
- User view: Track my order, which confirms that the request was sent.
Back-end systems can consume the custom data payload to log the event, fetch the order status from external systems, or trigger automated workflows.
Custom data messages enhance agent readiness, streamline support workflows, and improve responsiveness, while keeping the chat interface clean and focused.
Welcome messages
Configure the greeting, quick replies, and card buttons that customers see first.
JavaScript SDK in Live Chat
Send basic, draft, and custom data messages from your website with the Send command.
Agent experience in Inbox (Conversations)
See session info, previous conversations, and the typing indicator while you reply.
Was this page helpful?