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

discord: Add Interaction field to Message

This commit is contained in:
twoscott 2022-05-24 15:45:52 +01:00 committed by diamondburned
parent 8cd802e09d
commit 15c37ad341

View file

@ -98,6 +98,10 @@ type Message struct {
// non-null, it is a message object
ReferencedMessage *Message `json:"referenced_message,omitempty"`
// Interaction is the interaction that the message is in response to.
// This is only present if the message is in response to an interaction.
Interaction *MessageInteraction `json:"interaction,omitempty"`
// Stickers contains the sticker "items" sent with the message.
Stickers []StickerItem `json:"sticker_items,omitempty"`
}