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