unMuteChatRoomMembers method

Future<void> unMuteChatRoomMembers(
  1. String roomId,
  2. List<String> unMuteMembers

Unmutes the specified members in a chat room.

Only the chat room owner or admin can call this method.

Param roomId The chat room ID.

Param unMuteMembers The list of members to be unmuted.

Throws A description of the exception. See ChatError.


Future<void> unMuteChatRoomMembers(
  String roomId,
  List<String> unMuteMembers,
) async {
  Map req = {"roomId": roomId, "unMuteMembers": unMuteMembers};
  Map result =
      await _channel.invokeMethod(ChatMethodKeys.unMuteChatRoomMembers, req);
  try {
  } on ChatError catch (e) {
    throw e;