Skip to content

Commit f7393bd

Browse files
authored
add message.call field (discord#6864)
1 parent 7a1fb42 commit f7393bd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/resources/Channel.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ Represents a message sent in a channel within Discord.
302302
| role_subscription_data? | [role subscription data](#DOCS_RESOURCES_CHANNEL/role-subscription-data-object) object | data of the role subscription purchase or renewal that prompted this ROLE_SUBSCRIPTION_PURCHASE message |
303303
| resolved? | [resolved](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-object-resolved-data-structure) data | data for users, members, channels, and roles in the message's [auto-populated select menus](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/select-menus) |
304304
| poll? | [poll](#DOCS_RESOURCES_POLL/poll-object) object | A poll! |
305+
| call? | [message call](#DOCS_RESOURCES_CHANNEL/message-call-object) object | the call associated with the message |
305306

306307

307308
\* The author object follows the structure of the user object, but is only a valid user in the case where the message is generated by a user or bot user. If the message is generated by a webhook, the author object corresponds to the webhook's id, username, and avatar. You can tell if a message is generated by a webhook by checking for the `webhook_id` on the message object.
@@ -500,6 +501,16 @@ Metadata about the interaction, including the source of the interaction and rele
500501
| interacted_message_id? | snowflake | ID of the message that contained interactive component, present only on messages created from component interactions |
501502
| triggering_interaction_metadata? | Message Interaction Metadata Structure | Metadata for the interaction that was used to open the modal, present only on modal submit interactions |
502503

504+
### Message Call Object
505+
506+
Information about the call in a private channel.
507+
508+
###### Message Call Object Structure
509+
510+
| Field | Type | Description |
511+
| participants | array of snowflakes | array of [user](#DOCS_RESOURCES_USER/user-object) object ids that participated in the call |
512+
| ended_timestamp? | ?ISO8601 timestamp | time when call ended |
513+
503514
### Message Reference Object
504515

505516
###### Message Reference Structure

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy