Refactor models and add IHasId/IdBasedEqualityComparer

This commit is contained in:
Alexey Golub
2019-12-06 00:17:14 +02:00
parent 23512dae64
commit fc38afe6a0
10 changed files with 34 additions and 12 deletions

View File

@@ -6,7 +6,7 @@ namespace DiscordChatExporter.Core.Models
{
// https://discordapp.com/developers/docs/resources/channel#attachment-object
public partial class Attachment
public partial class Attachment : IHasId
{
public string Id { get; }