diff --git a/discord/message.go b/discord/message.go index 50d3dbf..1f7e9b8 100644 --- a/discord/message.go +++ b/discord/message.go @@ -89,6 +89,10 @@ type Message struct { // Application is sent with Rich Presence-related chat embeds. Application *MessageApplication `json:"application,omitempty"` + // ApplicationID contains the ID of the application, if this message was + // generated by an interaction or an application-owned webhook. + ApplicationID AppID `json:"application_id,omitempty"` + // Reference is the reference data sent with crossposted messages and // inline replies. Reference *MessageReference `json:"message_reference,omitempty"`