Skip to main content

Create Channel


https://api.deadsimplechat.com/consumer/api/v1/chatroom/:roodId/channel

Create Channel

Create a Channel Inside of a Chat Room

ParametersDescription
Path
roomIDstringroomId of the chat room where you want to create the channel
Query
authstringauth token of the chat room
Body
enabledbooleanset the channel enabled or disabled
notifyAllUsersbooleanWhenever a message is sent to this channel do you want to notify all users in the chant room. If this is set to true all users in the chatroom will be notified even if they have never opened the channel, if this is set to false then only the users who have open the channel will be notified of the new messages.
channelNamestringname of the channel

Responses

200

JSON

{
"success": true
}

404

JSON

{
"message": "Invalid auth token"
}