2021-08-27 15:03:47 +00:00
|
|
|
using Myriad.Types;
|
2021-01-31 13:42:28 +00:00
|
|
|
using Myriad.Utils;
|
2020-12-25 12:58:45 +00:00
|
|
|
|
2021-11-27 02:10:56 +00:00
|
|
|
namespace Myriad.Gateway;
|
|
|
|
|
|
|
|
public record MessageUpdateEvent(ulong Id, ulong ChannelId): IGatewayEvent
|
2020-12-22 12:15:26 +00:00
|
|
|
{
|
2021-11-27 02:10:56 +00:00
|
|
|
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 Optional<ulong?> GuildId { get; init; }
|
|
|
|
// TODO: lots of partials
|
2020-12-22 12:15:26 +00:00
|
|
|
}
|