sendUserMessage abstract method

Future<int?> sendUserMessage({
  1. required String uid,
  2. required String message,
  3. required MessageConfig config,
})

Sends a text message (P2P) to the specified user in the room.

The message length must not exceed 64 KB.

config: Reliability of the message.

Notes:

Implementation

Future<int?> sendUserMessage({
  required String uid,
  required String message,
  required MessageConfig config,
});