sendRoomMessage abstract method

Future<void> sendRoomMessage({
  1. required String roomId,
  2. required String message,
  3. List<String>? receiver,
})

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.

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,
});