Send chat message

This activity sends a chat message to all users in an existing chat conversation or creates a new conversation to send a direct message to selected users. The content type of the message is commonly text or HTML, but other advanced options are available, including Action Card, Location, Missed Call,Voicemail, or System Message.

Table 1. Send chat message action - Inputs
Parameters Description

Body

Content of the message, if it is of type 'Text'.

BodyObject

JSON formatted content of the message for messages not of type 'Text'.

ContentType

Indicates the content type of the message to be sent. Options are 'Text', 'Html', 'Action Card', 'Location', or 'Missed Call', 'Voicemail', and 'System Message'.

Receivers

If a ConversationId is not specified, specifies a list of receivers to which the message will be sent. A new conversation is created in this case.

From

Identifier of the user sending the message, when a ConversationId is specified. The user must be an existing member of the conversation.

Table 2. Send chat message action - Throughputs
Parameters Description

ConversationId

Unique identifier for the conversation, if it currently exists. If a direct message is sent, it returns the unique identifier for the created conversation.

Table 3. Send chat message action - Outputs
Parameters Description

Success

Indicates whether the activity was completed successfully (value = True) or not (value = False).

Result

Returns the JSON formatted response from the activity.