addFriendsToFriendGroup method
添加好友到一个好友分组
Implementation
@override
Future<V2TimValueCallback<List<V2TimFriendOperationResult>>> addFriendsToFriendGroup({
required String groupName,
required List<String> userIDList,
}) async {
Map<String, dynamic> param = {
"groupName": groupName,
"userIDList": userIDList,
};
var resp = V2TimValueCallback<List<V2TimFriendOperationResult>>.fromJson(
formatJson(
await _channel.invokeMethod(
"addFriendsToFriendGroup",
buildFriendManagerParam(
param,
),
),
),
);
log("addFriendsToFriendGroup", param, resp.toLogString());
return resp;
}