Skip to content

Commit 1f92cc9

Browse files
authored
revert the change, will fix it later on
1 parent b360c47 commit 1f92cc9

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

docs/resources/invite.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@ Represents a code that when used, adds a user to a guild or group DM channel.
1010

1111
###### Invite Structure
1212

13-
| Field | Type | Description |
14-
| --------------------------- | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
15-
| type | integer | the [type of invite](/docs/resources/invite#invite-object-invite-types) |
16-
| code | string | the invite code (unique ID) |
17-
| guild? | partial [guild](/docs/resources/guild#guild-object) object | the guild this invite is for |
18-
| channel | ?partial [channel](/docs/resources/channel#channel-object) object | the channel this invite is for |
19-
| inviter? | [user](/docs/resources/user#user-object) object | the user who created the invite |
13+
| Field | Type | Description |
14+
|-----------------------------|----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|
15+
| type | integer | the [type of invite](/docs/resources/invite#invite-object-invite-types) |
16+
| code | string | the invite code (unique ID) |
17+
| guild? | partial [guild](/docs/resources/guild#guild-object) object | the guild this invite is for |
18+
| channel | ?partial [channel](/docs/resources/channel#channel-object) object | the channel this invite is for |
19+
| inviter? | [user](/docs/resources/user#user-object) object | the user who created the invite |
2020
| is_nickname_changeable? | [boolean](/docs/reference#boolean-query-strings) | a member's ability to change their nickname by default, returned from the `GET /invites/<code>` endpoint when `with_permissions` is `true` |
21-
| target_type? | integer | the [type of target](/docs/resources/invite#invite-object-invite-target-types) for this voice channel invite |
22-
| target_user? | [user](/docs/resources/user#user-object) object | the user whose stream to display for this voice channel stream invite |
23-
| target_application? | partial [application](/docs/resources/application#application-object) object | the embedded application to open for this voice channel embedded application invite |
24-
| approximate_presence_count? | integer | approximate count of online members, returned from the `GET /invites/<code>` endpoint when `with_counts` is `true` |
25-
| approximate_member_count? | integer | approximate count of total members, returned from the `GET /invites/<code>` endpoint when `with_counts` is `true` |
26-
| expires_at | ?ISO8601 timestamp | the expiration date of this invite |
21+
| target_type? | integer | the [type of target](/docs/resources/invite#invite-object-invite-target-types) for this voice channel invite |
22+
| target_user? | [user](/docs/resources/user#user-object) object | the user whose stream to display for this voice channel stream invite |
23+
| target_application? | partial [application](/docs/resources/application#application-object) object | the embedded application to open for this voice channel embedded application invite |
24+
| approximate_presence_count? | integer | approximate count of online members, returned from the `GET /invites/<code>` endpoint when `with_counts` is `true` |
25+
| approximate_member_count? | integer | approximate count of total members, returned from the `GET /invites/<code>` endpoint when `with_counts` is `true` |
26+
| expires_at | ?ISO8601 timestamp | the expiration date of this invite |
2727
| 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) |
28-
| 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 |
29-
| flags? | integer | [guild invite flags](/docs/resources/invite#invite-object-guild-invite-flags) for guild invites |
28+
| 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 |
29+
| flags? | integer | [guild invite flags](/docs/resources/invite#invite-object-guild-invite-flags) for guild invites |
3030

3131

3232
###### Invite Types

0 commit comments

Comments
 (0)