unMuteMembers method
Unmutes group members.
Only the group owner or admin can call this method.
Param groupId
The group ID.
Param members
The list of members to be muted.
Throws A description of the exception. See ChatError.
Implementation
Future<void> unMuteMembers(
String groupId,
List<String> members,
) async {
Map req = {'groupId': groupId, 'members': members};
Map result = await _channel.invokeMethod(ChatMethodKeys.unMuteMembers, req);
try {
ChatError.hasErrorFromResult(result);
} on ChatError catch (e) {
throw e;
}
}