joinGroup static method
Implementation
static Future<bool> joinGroup({required String groupId}) async {
var result = await TencentImSDKPlugin.v2TIMManager.joinGroup(
groupID: groupId,
message: "",
);
if (result.code == 0) {
return true;
}
TCICLog.error(
"Failed to join group $groupId: code=${result.code}, message=${result.desc}",
actionModule: ActionModule.imSDK.name,
actionName: ActionName.joinGroup.name,
);
throw TCICIMException(result.desc, result.code, 'joinGroup');
}