Now go to Settings -> Login. There is an option called Allow Guest Users. Set it to Read & Write. This will enable guest users to access chat and send messages.
Disable Guest Users
To allow only logged-in users to chat and disable Guest Users, set the option Allow Guest Users to Disable.