Breadcrumbs

Messages

The purpose of this section is to cover the format of the messages exchanged between a Channel Connector and CCM. 

Message Format

A message consists of the three parts: unique identifier of the message (ID), header and body. 

1

Header and Body

The generic structure of header and body of the message is described here in CIM Messages.

2

Message Types

The body of the message changes depending upon the type of message being exchanged. The types of messages are given in the table below.


Message Type

Description

Plain Message

Plain messages are simplest of the message types and are supported by all channels. 

Media Messages

Media Messages consist of the following types: 

  • Image 

  • Video 

  • Audio

  • File

  • Sticker

Contact Message

Contact message is primarily used to send details of a contact (name, email, phone etc.) to the recipient.

Location Message

Location message is primarily used to send location coordinates to the recipient. 

Button Message

The button message is used to provide pre-defined options to the customer and is specifically for Agents and Conversational Bots (Outbound Message). The button API can be customized to send either a single option (as button) or a multiple options (list of buttons).

URL Message

URL message is specifically used by Agents and Bots (Outbound Messages) to send a URL e.g. for app installation, system/license updates. 



Message Types