Send Message to Chat
For sending external messages to a room we use the following endpoint.
Last updated
For sending external messages to a room we use the following endpoint.
Last updated
POST
https://api.jelou.ai/v1/rooms/<roomId>/message
This endpoint allows you to send messages to a Room.
Name | Type | Description |
---|---|---|
You can review the types of messages available here: Message
messages*
array
Array of messages to be send
messages.**
object
Message object
senderId*
string
Bot.id || Bot.socketId || Operator.id || uuid generic
messages.*.type*
string
Type of message to send
messages.*.text
String
String of text
messages.*.mediaUrl
String
Url of the media to be sended
messages.*.id*
String
Id of message