diff --git a/docs/events/gateway-events.mdx b/docs/events/gateway-events.mdx index 8a057dddf6..aecfd1056a 100644 --- a/docs/events/gateway-events.mdx +++ b/docs/events/gateway-events.mdx @@ -977,6 +977,7 @@ Sent when a new invite to a channel is created. | target_application? | partial [application](/docs/resources/application#application-object) object | Embedded application to open for this voice channel embedded application invite | | temporary | boolean | Whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role) | | uses | integer | How many times the invite has been used (always will be 0) | +| expires_at | ?ISO8601 timestamp | the expiration date of this invite | #### Invite Delete diff --git a/docs/resources/invite.mdx b/docs/resources/invite.mdx index 9a80be8937..333c1f3e03 100644 --- a/docs/resources/invite.mdx +++ b/docs/resources/invite.mdx @@ -10,22 +10,21 @@ Represents a code that when used, adds a user to a guild or group DM channel. ###### Invite Structure -| Field | Type | Description | -|-----------------------------|----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------| -| type | integer | the [type of invite](/docs/resources/invite#invite-object-invite-types) | -| code | string | the invite code (unique ID) | -| guild? | partial [guild](/docs/resources/guild#guild-object) object | the guild this invite is for | -| channel | ?partial [channel](/docs/resources/channel#channel-object) object | the channel this invite is for | -| inviter? | [user](/docs/resources/user#user-object) object | the user who created the invite | -| target_type? | integer | the [type of target](/docs/resources/invite#invite-object-invite-target-types) for this voice channel invite | -| target_user? | [user](/docs/resources/user#user-object) object | the user whose stream to display for this voice channel stream invite | -| target_application? | partial [application](/docs/resources/application#application-object) object | the embedded application to open for this voice channel embedded application invite | -| approximate_presence_count? | integer | approximate count of online members, returned from the `GET /invites/` endpoint when `with_counts` is `true` | -| approximate_member_count? | integer | approximate count of total members, returned from the `GET /invites/` endpoint when `with_counts` is `true` | -| expires_at | ?ISO8601 timestamp | the expiration date of this invite | -| stage_instance? | [invite stage instance](/docs/resources/invite#invite-stage-instance-object) object | stage instance data if there is a [public Stage instance](/docs/resources/stage-instance) in the Stage channel this invite is for (deprecated) | -| guild_scheduled_event? | [guild scheduled event](/docs/resources/guild-scheduled-event#guild-scheduled-event-object) object | guild scheduled event data, only included if `guild_scheduled_event_id` contains a valid guild scheduled event id | -| flags? | integer | [guild invite flags](/docs/resources/invite#invite-object-guild-invite-flags) for guild invites | +| Field | Type | Description | +|-----------------------------|----------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------| +| type | integer | the [type of invite](/docs/resources/invite#invite-object-invite-types) | +| code | string | the invite code (unique ID) | +| guild? | partial [guild](/docs/resources/guild#guild-object) object | the guild this invite is for | +| channel | ?partial [channel](/docs/resources/channel#channel-object) object | the channel this invite is for | +| inviter? | [user](/docs/resources/user#user-object) object | the user who created the invite | +| target_type? | integer | the [type of target](/docs/resources/invite#invite-object-invite-target-types) for this voice channel invite | +| target_user? | [user](/docs/resources/user#user-object) object | the user whose stream to display for this voice channel stream invite | +| target_application? | partial [application](/docs/resources/application#application-object) object | the embedded application to open for this voice channel embedded application invite | +| approximate_presence_count? | integer | approximate count of online members, returned from the `GET /invites/` endpoint when `with_counts` is `true` | +| approximate_member_count? | integer | approximate count of total members, returned from the `GET /invites/` endpoint when `with_counts` is `true` | +| expires_at | ?ISO8601 timestamp | the expiration date of this invite | +| guild_scheduled_event? | [guild scheduled event](/docs/resources/guild-scheduled-event#guild-scheduled-event-object) object | guild scheduled event data, only included if `guild_scheduled_event_id` contains a valid guild scheduled event id | +| flags? | integer | [guild invite flags](/docs/resources/invite#invite-object-guild-invite-flags) for guild invites | ###### Invite Types diff --git a/docs/resources/stage-instance.mdx b/docs/resources/stage-instance.mdx index fbbf3fc428..81772c2d0d 100644 --- a/docs/resources/stage-instance.mdx +++ b/docs/resources/stage-instance.mdx @@ -55,7 +55,6 @@ Below are some definitions related to stages. - **Topic**: This is the blurb that gets shown below the channel's name, among other places. - **Public**: A Stage instance is public when it has a `privacy_level` of `PUBLIC`. While a guild has a public Stage instance: - Users in the Stage can have the Stage show in their [activities](/docs/events/gateway-events#presence). - - [Invites](/docs/resources/invite#invite-object) to the Stage channel will have the `stage_instance` field. ## Auto Closing