Chat Off Message
https://api.deadsimplechat.com/consumer/api/v1/chatroom/:roomId/chatoffmessage
Chat Off Message​
This endpoint lets you set the message that is displayed when the chat room is turned off. When you update the message, the message will be updated in real-time without requiring the users to refresh the page.
Chat off Message | description | |
---|---|---|
Parameters | ||
roomId | string | roomId of the chat room |
Query | ||
auth | string | Private API Key |
Body | ||
message | string | The message you want to display when the chat room is off. |
Responses​
200
JSON
{
success: true
}
400
JSON
{
"message": "invalid accessToken"
}