joinGroup method
Implementation
@override
Future<V2TimCallback> joinGroup({
required String groupID,
required String message,
}) async {
final result = await TencentImSDKPlugin.v2TIMManager
.joinGroup(groupID: groupID, message: message);
if (result.code != 0) {
String recommendText = ErrorMessageConverter.getErrorMessage(result.code);
_coreService.callOnCallback(TIMCallback(
type: TIMCallbackType.API_ERROR,
errorMsg: result.desc,
errorCode: result.code,
infoRecommendText: recommendText));
}
return result;
}