Sends a text message to an active chat.
...
Status | ||||
---|---|---|---|---|
|
Path Variables:
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
domain |
|
| Unique domain identifier | ||||||||||
chatId |
|
| Unique chat identifier |
Authorization: Status
Request Body:
Type:
Status | ||
---|---|---|
|
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
text |
|
| Text message to send in chat | ||||||||||
nickname |
|
| User nickname |
Response:
Type:
Status | ||
---|---|---|
|
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
result |
| If true, the service response was performed correctly | ||||||||
error |
| Contains the error description if an error has occurred in the request |
Example:
Request
http://<hostname>:<port>/livechat/default/sendTextMessageToActiveChat/CHAT_DEFAULT_966afd14-9bdc-4246-84f7-035d6eb54d9a
...
Code Block | ||
---|---|---|
| ||
{ "text": "Questo รจ un messaggio esternoThis is a new message from API", "nickname":"Lando Calrissian" } |
...