Implement progress reporting when downloading messages (#57)

This commit is contained in:
Alexey Golub
2018-06-25 23:11:34 +03:00
committed by GitHub
parent e4f0b8193f
commit 8678043f0d
6 changed files with 89 additions and 42 deletions

View File

@@ -21,8 +21,8 @@ namespace DiscordChatExporter.Cli.ViewModels
_exportService = exportService;
}
public async Task ExportAsync(string token, string channelId, string filePath, ExportFormat format, DateTime? from,
DateTime? to)
public async Task ExportAsync(string token, string channelId, string filePath, ExportFormat format,
DateTime? from, DateTime? to)
{
// Get channel and guild
var channel = await _dataService.GetChannelAsync(token, channelId);