Discord · Schema

CreateTextThreadWithMessageRequest

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
name string
auto_archive_duration object
rate_limit_per_user integernull
View JSON Schema on GitHub

JSON Schema

discord-createtextthreadwithmessagerequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateTextThreadWithMessageRequest",
  "title": "CreateTextThreadWithMessageRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "auto_archive_duration": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/ThreadAutoArchiveDuration"
        }
      ]
    },
    "rate_limit_per_user": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "maximum": 21600
    }
  },
  "required": [
    "name"
  ]
}