To start a chat with a person or a group, provide your username and password, select the type of chat you are joining, and then provide the ID of the existing chat.(For a group chat, if the ID does not exists, it will create a new group chat with provided ID) Once you click on "Login and Chat" button, the Chat widget will render below and will remain active until you leave or reload this page. Any errors will be printed in your browser's console.
In a 1-1 chat, the chatId is the userId of the person you wish to chat with. In a group chat, this is the convoId/placeId of the group chat. If it's an existing placeId it will open that group chat, if it's a new placeID it will create a new group chat with current user as a participant.