Sends a message to the specified room.
The options for sending the message.
Optional
A promise that resolves when the message is sent.
Will throw an error if the message count limit is exceeded.
Will throw an error if the message, sender, or receivers are not valid.
Will throw an error if the user is not allowed to send a message in the event room.
launchMessages({ updateIsMessagesModalVisible: (visible) => console.log("Modal visibility:", visible), isMessagesModalVisible: false,}); Copy
launchMessages({ updateIsMessagesModalVisible: (visible) => console.log("Modal visibility:", visible), isMessagesModalVisible: false,});
Sends a message to the specified room.