You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 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 |
20
20
| 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 |
27
27
| 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 |
| 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 |
0 commit comments