Routes - /Chatroom

File Path: /src/Middleware/chatroom.js

Method: POST

Contains route which gets the mobile number from user who is sending message and to whom to message is to be send .It checks for the channel if it exist .If it is present it return the channel object back to Frontend or it generate the new one and return the channel object back to Frontend .It also saves the entry of channel Object in the channel Collection.

results matching ""

    No results matching ""