diff --git a/discord/message.go b/discord/message.go index 6fe23cde..c0e2d911 100644 --- a/discord/message.go +++ b/discord/message.go @@ -117,6 +117,7 @@ type Message struct { InteractionMetadata *InteractionMetadata `json:"interaction_metadata,omitempty"` Resolved *ResolvedData `json:"resolved,omitempty"` Poll *Poll `json:"poll,omitempty"` + Call *MessageCall `json:"call,omitempty"` } func (m *Message) UnmarshalJSON(data []byte) error { @@ -477,3 +478,8 @@ type InteractionMetadata struct { InteractedMessageID *snowflake.ID `json:"interacted_message_id"` TriggeringInteractionMetadata *InteractionMetadata `json:"triggering_interaction_metadata"` } + +type MessageCall struct { + Participants []snowflake.ID `json:"participants"` + EndedTimestamp *time.Time `json:"ended_timestamp"` +}