inviteUserToGroup method
Implementation
@override
Future<V2TimValueCallback<List<V2TimGroupMemberOperationResult>>>
inviteUserToGroup({
required String groupID,
required List<String> userList,
}) async {
final result = await TencentImSDKPlugin.v2TIMManager
.getGroupManager()
.inviteUserToGroup(groupID: groupID, userList: userList);
if (result.code != 0) {
_coreService.callOnCallback(TIMCallback(
type: TIMCallbackType.API_ERROR,
errorMsg: result.desc,
errorCode: result.code));
}
return result;
}