1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-03-22 18:09:21 +00:00

Add message_snapshot

This commit is contained in:
hi117 2024-10-05 17:10:49 -04:00
parent ea044b4644
commit 5dbc8814f1
No known key found for this signature in database
GPG key ID: CC30AEEE3BF366D0

View file

@ -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.