File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ type Message struct {
117117 InteractionMetadata * InteractionMetadata `json:"interaction_metadata,omitempty"`
118118 Resolved * ResolvedData `json:"resolved,omitempty"`
119119 Poll * Poll `json:"poll,omitempty"`
120+ Call * MessageCall `json:"call,omitempty"`
120121}
121122
122123func (m * Message ) UnmarshalJSON (data []byte ) error {
@@ -477,3 +478,8 @@ type InteractionMetadata struct {
477478 InteractedMessageID * snowflake.ID `json:"interacted_message_id"`
478479 TriggeringInteractionMetadata * InteractionMetadata `json:"triggering_interaction_metadata"`
479480}
481+
482+ type MessageCall struct {
483+ Participants []snowflake.ID `json:"participants"`
484+ EndedTimestamp * time.Time `json:"ended_timestamp"`
485+ }
You can’t perform that action at this time.
0 commit comments