mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 15:53:30 -07:00
* 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
24 lines
536 B
C#
24 lines
536 B
C#
namespace DiscordChatExporter.Models
|
|
{
|
|
public class Attachment
|
|
{
|
|
public string Id { get; }
|
|
|
|
public AttachmentType Type { get; }
|
|
|
|
public string Url { get; }
|
|
|
|
public string FileName { get; }
|
|
|
|
public long FileSize { get; }
|
|
|
|
public Attachment(string id, AttachmentType type, string url, string fileName, long fileSize)
|
|
{
|
|
Id = id;
|
|
Type = type;
|
|
Url = url;
|
|
FileName = fileName;
|
|
FileSize = fileSize;
|
|
}
|
|
}
|
|
} |