Sending messages comes in three different forms: public, whisper, and direct message. These methods are mostly used for sending messages. Additionally, you can use the invite method to send a room invitation. The direct message takes two parameters: the conversation ID and the message. Similarly, the invite method also takes two parameters: the conversation ID and the room you want to target. On the other hand, the whisper method takes the user ID and the message, while the public message is simply a message that can be sent to the public.

Below are examples demonstrating a list of all available methods in the room class:

Public Messages

Whisper Message

Direct Message

Invite To Room