Discord · Schema

CreateInviteRequest

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
max_age integer
max_uses integer
temporary boolean
unique boolean
target_type integer
target_user_id object
target_application_id object
View JSON Schema on GitHub

JSON Schema

discord-createinviterequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateInviteRequest",
  "title": "CreateInviteRequest",
  "type": "object",
  "properties": {
    "max_age": {
      "type": "integer",
      "default": 86400
    },
    "max_uses": {
      "type": "integer",
      "default": 0
    },
    "temporary": {
      "type": "boolean",
      "default": false
    },
    "unique": {
      "type": "boolean",
      "default": false
    },
    "target_type": {
      "type": "integer"
    },
    "target_user_id": {
      "$ref": "#/components/schemas/Snowflake"
    },
    "target_application_id": {
      "$ref": "#/components/schemas/Snowflake"
    }
  }
}