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:
parent
8cd802e09d
commit
15c37ad341
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue