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
Copy file name to clipboardExpand all lines: docs/events/gateway-events.mdx
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -977,6 +977,7 @@ Sent when a new invite to a channel is created.
977
977
| target_application? | partial [application](/docs/resources/application#application-object) object | Embedded application to open for this voice channel embedded application invite |
978
978
| temporary | boolean | Whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role) |
979
979
| uses | integer | How many times the invite has been used (always will be 0) |
980
+
| expires_at | ?ISO8601 timestamp | the expiration date of this invite |
| 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
-
| target_type? | integer | the [type of target](/docs/resources/invite#invite-object-invite-target-types) for this voice channel invite |
21
-
| target_user? |[user](/docs/resources/user#user-object) object | the user whose stream to display for this voice channel stream invite |
22
-
| target_application? | partial [application](/docs/resources/application#application-object) object | the embedded application to open for this voice channel embedded application invite |
23
-
| approximate_presence_count? | integer | approximate count of online members, returned from the `GET /invites/<code>` endpoint when `with_counts` is `true`|
24
-
| approximate_member_count? | integer | approximate count of total members, returned from the `GET /invites/<code>` endpoint when `with_counts` is `true`|
25
-
| expires_at | ?ISO8601 timestamp | the expiration date of this invite |
26
-
| 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) |
27
-
| 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 |
| 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
+
| target_type? | integer | the [type of target](/docs/resources/invite#invite-object-invite-target-types) for this voice channel invite |
21
+
| target_user? |[user](/docs/resources/user#user-object) object | the user whose stream to display for this voice channel stream invite |
22
+
| target_application? | partial [application](/docs/resources/application#application-object) object | the embedded application to open for this voice channel embedded application invite |
23
+
| approximate_presence_count? | integer | approximate count of online members, returned from the `GET /invites/<code>` endpoint when `with_counts` is `true`|
24
+
| approximate_member_count? | integer | approximate count of total members, returned from the `GET /invites/<code>` endpoint when `with_counts` is `true`|
25
+
| expires_at | ?ISO8601 timestamp | the expiration date of this invite |
26
+
| 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