diff --git a/docs/resources/invite.mdx b/docs/resources/invite.mdx index caba0a6404..9a80be8937 100644 --- a/docs/resources/invite.mdx +++ b/docs/resources/invite.mdx @@ -22,7 +22,7 @@ Represents a code that when used, adds a user to a guild or group DM channel. | 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, returned from the `GET /invites/` endpoint when `with_expiration` 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 | @@ -162,7 +162,6 @@ Returns an [invite](/docs/resources/invite#invite-object) object for the given c | Field | Type | Description | |---------------------------|--------------------------------------------------|-------------------------------------------------------------| | with_counts? | [boolean](/docs/reference#boolean-query-strings) | whether the invite should contain approximate member counts | -| with_expiration? | [boolean](/docs/reference#boolean-query-strings) | whether the invite should contain the expiration date | | guild_scheduled_event_id? | snowflake | the guild scheduled event to include with the invite | ## Delete Invite