Discord · Schema

GuildMemberResponse

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
avatar stringnull
avatar_decoration_data object
communication_disabled_until stringnull
flags integer
joined_at string
nick stringnull
pending boolean
premium_since stringnull
roles array
user object
mute boolean
deaf boolean
View JSON Schema on GitHub

JSON Schema

discord-guildmemberresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GuildMemberResponse",
  "title": "GuildMemberResponse",
  "type": "object",
  "properties": {
    "avatar": {
      "type": [
        "string",
        "null"
      ]
    },
    "avatar_decoration_data": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/UserAvatarDecorationResponse"
        }
      ]
    },
    "communication_disabled_until": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "flags": {
      "type": "integer",
      "format": "int32"
    },
    "joined_at": {
      "type": "string",
      "format": "date-time"
    },
    "nick": {
      "type": [
        "string",
        "null"
      ]
    },
    "pending": {
      "type": "boolean"
    },
    "premium_since": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "roles": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/SnowflakeType"
      },
      "uniqueItems": true
    },
    "user": {
      "$ref": "#/components/schemas/UserResponse"
    },
    "mute": {
      "type": "boolean"
    },
    "deaf": {
      "type": "boolean"
    }
  },
  "required": [
    "flags",
    "joined_at",
    "pending",
    "roles",
    "user",
    "mute",
    "deaf"
  ]
}