Send a message from the Customer Service Platform to a customer.
You can send messages to a customer by using the
/message request method to the Business Chat service. Business Chat delivers the message to the customer’s device. Unless otherwise noted, all text fields support Basic Multilingual Plane of Unicode. For information about sending interactive messages, see Sending a Custom Interactive Message.
In addition to the dictionaries listed below, sending a message also includes keys from the Attachment dictionary.
In addition to the keys from BaseMessage, use the following keys:
(Required) The message text; required when the type is
A dictionary representing the properties of an interactive message. See BaseInteractiveMessage dictionary.
(Required) A string that identifies the message type. For the list of possible values, see Message Type Values.
The response includes a status code listed in the Response Codes section of Integrating with Business Chat.
The body of the response is empty unless the message sent is of type
interactive and its JSON is larger than 10 KB. To reuse an asset, use the asset reference when creating a new interactive data JSON. For more information, see Receiving Large Interactive Data Payloads.