sendUserMessageOutsideRoom abstract method
Future<int?>
sendUserMessageOutsideRoom({
- required String uid,
- required String message,
- required MessageConfig config,
Sends a text message to a specified user outside the room.
The length of message
must not exceed 64KB.
- Call this API after calling RTCVideo.login to log in.
- After this API is called, the local user will receive RTCVideoEventHandler.onUserMessageSendResultOutsideRoom about the sending result.
- If the text message is sent successfully, the user specified by
uid
will receive RTCVideoEventHandler.onUserMessageReceivedOutsideRoom.
Implementation
Future<int?> sendUserMessageOutsideRoom({
required String uid,
required String message,
required MessageConfig config,
});