sendRoomMessage abstract method
Sends text messages to all other users in the room.
The message
length must not exceed 64 KB.
Notes:
- Before sending an in-room broadcasting text message, you must call RTCRoom.joinRoom to join the target room.
- After calling this API, the local user will receive RTCRoomEventHandler.onRoomMessageSendResult.
- If the text message is sent successfully, all the other users in the room will receive RTCRoomEventHandler.onRoomMessageReceived.
Implementation
Future<int?> sendRoomMessage(String message);