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)|
11
12
| code | string | the invite code (unique ID) |
12
13
| guild? | partial [guild](#DOCS_RESOURCES_GUILD/guild-object) object | the guild this invite is for |
13
14
| channel | ?partial [channel](#DOCS_RESOURCES_CHANNEL/channel-object) object | the channel this invite is for |
@@ -21,6 +22,14 @@ Represents a code that when used, adds a user to a guild or group DM channel.
21
22
| 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) |
22
23
| 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 |
23
24
25
+
###### Invite Types
26
+
27
+
| Type | Value |
28
+
|----------|-------|
29
+
| GUILD | 0 |
30
+
| GROUP_DM | 1 |
31
+
| FRIEND | 2 |
32
+
24
33
###### Invite Target Types
25
34
26
35
| Type | Value |
@@ -32,6 +41,7 @@ Represents a code that when used, adds a user to a guild or group DM channel.
0 commit comments