mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
17 lines
No EOL
511 B
C#
17 lines
No EOL
511 B
C#
using Myriad.Types;
|
|
using Myriad.Utils;
|
|
|
|
namespace Myriad.Gateway;
|
|
|
|
public record MessageUpdateEvent(ulong Id, ulong ChannelId): IGatewayEvent
|
|
{
|
|
public Optional<string?> Content { get; init; }
|
|
public Optional<User> Author { get; init; }
|
|
public Optional<GuildMemberPartial> Member { get; init; }
|
|
public Optional<Message.Attachment[]> Attachments { get; init; }
|
|
|
|
public Message.MessageType Type { get; init; }
|
|
|
|
public Optional<ulong?> GuildId { get; init; }
|
|
// TODO: lots of partials
|
|
} |