1
0
mirror of https://github.com/chylex/Discord-History-Tracker.git synced 2024-11-24 20:42:46 +01:00
Discord-History-Tracker/app/Server/Data/Message.cs

17 lines
532 B
C#

using System.Collections.Immutable;
namespace DHT.Server.Data;
public readonly struct Message {
public ulong Id { get; init; }
public ulong Sender { get; init; }
public ulong Channel { get; init; }
public string Text { get; init; }
public long Timestamp { get; init; }
public long? EditTimestamp { get; init; }
public ulong? RepliedToId { get; init; }
public ImmutableList<Attachment> Attachments { get; init; }
public ImmutableList<Embed> Embeds { get; init; }
public ImmutableList<Reaction> Reactions { get; init; }
}