/// <inheritdoc/> public ReadOnlyCollection <object> GetDemographics(GetDemographicsParams getDemographicsParams) { return(_vk.Call <ReadOnlyCollection <object> >("ads.getDemographics", new VkParameters { { "account_id", getDemographicsParams.AccountId }, { "ids_type", getDemographicsParams.IdsType }, { "ids", getDemographicsParams.Ids }, { "period", getDemographicsParams.Period }, { "date_from", getDemographicsParams.DateFrom }, { "date_to", getDemographicsParams.DateTo } })); }
/// <inheritdoc/> public async Task <ReadOnlyCollection <object> > GetDemographicsAsync(GetDemographicsParams getDemographicsParams) { return(await TypeHelper.TryInvokeMethodAsync(() => GetDemographics(getDemographicsParams))); }