public async Task <long> PostToVkAsync(string message, string[] imageUrls) { _logger.Info($"Creating post with message '{message}'..."); _logger.Info($"Uploading images..."); var photoIds = await _imgLoader.UploadToVkAsync(imageUrls); _logger.Info($"{photoIds.Length} images uploaded"); _logger.Info("Posting to wall..."); var postResult = await _vkPoster.WallPostAsync(-_config.GroupId, _config.AccessToken, true, message, photoIds, _config.Version); _logger.Info($"Message {message} posted successfully"); return(postResult); }