private async Task InitConnectionAndGetConfig() { _config = await _methods.InvokeWithLayer18Async(new InvokeWithLayer18Args { Query = new InitConnectionArgs { ApiId = _appInfo.ApiId, AppVersion = _appInfo.AppVersion, DeviceModel = _appInfo.DeviceModel, LangCode = _appInfo.LangCode, SystemVersion = _appInfo.SystemVersion, Query = new HelpGetConfigArgs() } }) as Config; }