addCommunityMembersToPermissionGroup method
Future<V2TimValueCallback<List<V2TimPermissionGroupMemberOperationResult> > >
addCommunityMembersToPermissionGroup({})
override
Implementation
@override
Future<V2TimValueCallback<List<V2TimPermissionGroupMemberOperationResult>>> addCommunityMembersToPermissionGroup({
required String groupID,
required String permissionGroupID,
required List<String> memberList,
}) async {
Map<String, dynamic> param = {
"groupID": groupID,
"permissionGroupID": permissionGroupID,
"memberList": memberList,
};
var resp = V2TimValueCallback<List<V2TimPermissionGroupMemberOperationResult>>.fromJson(
formatJson(
await _channel.invokeMethod(
"addCommunityMembersToPermissionGroup",
buildCommunityManagerParam(
param,
),
),
),
);
log("addCommunityMembersToPermissionGroup", param, resp.toLogString());
return resp;
}