sendRoomMessage abstract method
Description Send targeted text messages to some members of the chat room
- Parameters:
- userIds:
UserId
- roomId: chatroom id
- content: content text
- completion: Send callback,what if success or error.
- userIds:
Implementation
/// - Parameters:
/// - userIds: [UserId]
/// - roomId: chatroom id
/// - content: content text
/// - completion: Send callback,what if success or error.
Future<void> sendRoomMessage({
required String roomId,
required String message,
List<String>? receiver,
});