From 5dbc8814f12f738ae18d73507118f998d25724f4 Mon Sep 17 00:00:00 2001 From: hi117 Date: Sat, 5 Oct 2024 17:10:49 -0400 Subject: [PATCH] Add message_snapshot --- discord/message.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/discord/message.go b/discord/message.go index 52bec56..5f6e223 100644 --- a/discord/message.go +++ b/discord/message.go @@ -23,6 +23,9 @@ type Message struct { // Flags are the MessageFlags. Flags MessageFlags `json:"flags"` + // The message associated with the message_reference. This is a minimal subset of fields in a message (e.g. author is excluded.) + MessageSnapshot []Message `json:"message_snapshot,omitempty"` + // TTS specifies whether the was a TTS message. TTS bool `json:"tts"` // Pinned specifies whether the message is pinned.