diff --git a/Myriad/Gateway/Payloads/GatewayIdentify.cs b/Myriad/Gateway/Payloads/GatewayIdentify.cs index a6d1e683..3dcbe13e 100644 --- a/Myriad/Gateway/Payloads/GatewayIdentify.cs +++ b/Myriad/Gateway/Payloads/GatewayIdentify.cs @@ -18,6 +18,9 @@ public record GatewayIdentify public GatewayIntent Intents { get; init; } + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + public GatewayStatusUpdate? Presence { get; init; } + public record ConnectionProperties { [JsonPropertyName("$os")] public string Os { get; init; } diff --git a/Myriad/Types/Message.cs b/Myriad/Types/Message.cs index b2d2fff5..f052e433 100644 --- a/Myriad/Types/Message.cs +++ b/Myriad/Types/Message.cs @@ -57,6 +57,7 @@ public record Message public Reaction[] Reactions { get; init; } public bool Pinned { get; init; } public ulong? WebhookId { get; init; } + public ulong? ApplicationId { get; init; } public MessageType Type { get; init; } public Reference? MessageReference { get; set; } public MessageFlags Flags { get; init; }