mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-08-02 10:40:15 +02:00
6d7a8ae063
* Create a dummy WPF project * Set up Ammy placeholders * Don't track autogenerated files * Basic layout * Add Program.cs * Implement basic workflow * Autofocus token textbox and add Enter key handler * Strip double quotes from token * AmmyUI converters are slightly dumb :( * Use CanExecute * Add file path select and theme select, also refactor * Persist token * Trying to improve UI/UX - 1 * Rename stuff * Finish improving UI/UX * Remove data placeholder * Remove border on middle grid * Ok now i'm done * Improve Discord API layer * Add lots of stuff * Show filesizes in export * Improve export * Animations * Update readme * Improving gui again * Improve UI again * Refactor
17 lines
516 B
C#
17 lines
516 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using DiscordChatExporter.Models;
|
|
|
|
namespace DiscordChatExporter.Services
|
|
{
|
|
public interface IDataService
|
|
{
|
|
Task<IEnumerable<Guild>> GetGuildsAsync(string token);
|
|
|
|
Task<IEnumerable<Channel>> GetDirectMessageChannelsAsync(string token);
|
|
|
|
Task<IEnumerable<Channel>> GetGuildChannelsAsync(string token, string guildId);
|
|
|
|
Task<IEnumerable<Message>> GetChannelMessagesAsync(string token, string channelId);
|
|
}
|
|
} |