send-message
Send a message to a specified room and automatically wait for a response or receive notification if the peer has left.
Instructions
send a message to a room. this call will automatically wait for the response, or inform if the peer has left
Input Schema
Name | Required | Description | Default |
---|---|---|---|
message | Yes | ||
roomId | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"roomId": {
"type": "string"
}
},
"required": [
"roomId",
"message"
],
"type": "object"
}