unblockMembers method
Removes users from the group blocklist. Only the group owner can call this method.
Param groupId The group ID.
Param members The list of users to be removed from the blocklist.
Returns None.
Throws Exception description, see ChatError.
Implementation
Future<void> unblockMembers(
String groupId,
List<String> members,
) async {
try {
Map req = {'groupId': groupId, 'members': members};
Map result = await platform_interface.Client.instance.groupManager
.callNativeMethod(ChatMethodKeys.unblockMembers, req);
ChatError.hasErrorFromResult(result);
} catch (e) {
rethrow;
}
}