2021-01-31 13:42:28 +00:00
|
|
|
|
using Myriad.Types;
|
|
|
|
|
using Myriad.Utils;
|
2020-12-25 12:58:45 +00:00
|
|
|
|
|
|
|
|
|
namespace Myriad.Gateway
|
2020-12-22 12:15:26 +00:00
|
|
|
|
{
|
|
|
|
|
public record MessageUpdateEvent(ulong Id, ulong ChannelId): IGatewayEvent
|
|
|
|
|
{
|
2020-12-25 12:58:45 +00:00
|
|
|
|
public Optional<string?> Content { get; init; }
|
2021-01-31 13:42:28 +00:00
|
|
|
|
public Optional<User> Author { get; init; }
|
|
|
|
|
public Optional<GuildMemberPartial> Member { get; init; }
|
|
|
|
|
public Optional<Message.Attachment[]> Attachments { get; init; }
|
2021-01-31 13:50:10 +00:00
|
|
|
|
public Optional<ulong?> GuildId { get; init; }
|
2020-12-22 12:15:26 +00:00
|
|
|
|
// TODO: lots of partials
|
|
|
|
|
}
|
|
|
|
|
}
|