1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-27 17:23:00 +00:00

discord: Add Message.ApplicationID (#343)

This commit is contained in:
Sam 2022-09-21 19:30:12 +02:00 committed by GitHub
parent d96ce0f54c
commit 5870d04644
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"`