Messages
Broadcast Message
Broadcast data messages to all users of a meeting.
POST /rooms/`ACCESS_KEY`/messages
RESPONSE 201 CREATED, 400 BAD REQUEST, 404 NOT FOUND, 410 GONE
REQUIRED type, content
Example Req/Res: Broadcast Message
Request
curl -X POST -H "Content-Type: application/json" -d "{"type": "chat", "content": "I will appear as a broadcast message."}" "https://api.eyeson.team/rooms/$ACCESS_KEY/messages"
Response
201
type
Type: STRING
(required)
Manages the visibility of messages in the Prebuilt-UI chat.
Value | Description |
---|---|
chat | Messages are shown in the chat of the Prebuilt-UI |
custom | Messages do not show up in the Prebuilt-UI |
info
Both types will show up in the Meeting Observer and as broadcasts in the client logs.
content
Type: STRING
(required)
Data content.