diff --git a/CHANGELOG.md b/CHANGELOG.md index 2617d3ce..bf04de28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## [0.33.1](https://github.com/discordjs/discord-api-types/compare/0.33.0...0.33.1) (2022-05-26) + +### Bug Fixes + +- **RESTPostAPIApplicationGuildCommands:** correct types due to unions ([#447](https://github.com/discordjs/discord-api-types/issues/447)) ([6d85ad6](https://github.com/discordjs/discord-api-types/commit/6d85ad6b1d707b980f9897ea68dd4b7573b3a770)) + +### Features + +- **RESTJSONErrorCodes:** add error `50600` ([#444](https://github.com/discordjs/discord-api-types/issues/444)) ([5ef49f4](https://github.com/discordjs/discord-api-types/commit/5ef49f41cecaa1d5937428a5c58f1d88bfc61266)) +- **RESTPostAPIGuildChannels:** update post body fields ([#419](https://github.com/discordjs/discord-api-types/issues/419)) ([748db34](https://github.com/discordjs/discord-api-types/commit/748db34e30338cf4a9fd8ce7b86d1d5c7dde63b1)) + # [0.33.0](https://github.com/discordjs/discord-api-types/compare/0.32.1...0.33.0) (2022-05-16) ### Code Refactoring diff --git a/deno/CHANGELOG.md b/deno/CHANGELOG.md index 2617d3ce..bf04de28 100644 --- a/deno/CHANGELOG.md +++ b/deno/CHANGELOG.md @@ -1,3 +1,14 @@ +## [0.33.1](https://github.com/discordjs/discord-api-types/compare/0.33.0...0.33.1) (2022-05-26) + +### Bug Fixes + +- **RESTPostAPIApplicationGuildCommands:** correct types due to unions ([#447](https://github.com/discordjs/discord-api-types/issues/447)) ([6d85ad6](https://github.com/discordjs/discord-api-types/commit/6d85ad6b1d707b980f9897ea68dd4b7573b3a770)) + +### Features + +- **RESTJSONErrorCodes:** add error `50600` ([#444](https://github.com/discordjs/discord-api-types/issues/444)) ([5ef49f4](https://github.com/discordjs/discord-api-types/commit/5ef49f41cecaa1d5937428a5c58f1d88bfc61266)) +- **RESTPostAPIGuildChannels:** update post body fields ([#419](https://github.com/discordjs/discord-api-types/issues/419)) ([748db34](https://github.com/discordjs/discord-api-types/commit/748db34e30338cf4a9fd8ce7b86d1d5c7dde63b1)) + # [0.33.0](https://github.com/discordjs/discord-api-types/compare/0.32.1...0.33.0) (2022-05-16) ### Code Refactoring diff --git a/package-lock.json b/package-lock.json index 3d676285..1b342011 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "discord-api-types", - "version": "0.33.0", + "version": "0.33.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "discord-api-types", - "version": "0.33.0", + "version": "0.33.1", "license": "MIT", "devDependencies": { "@babel/runtime-corejs3": "^7.18.0", diff --git a/package.json b/package.json index d9fa19bf..117bf294 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discord-api-types", - "version": "0.33.0", + "version": "0.33.1", "description": "Discord API typings that are kept up to date for use in bot library creation.", "exports": { "./globals": { diff --git a/website/versioned_docs/version-0.33.1/Contributing.mdx b/website/versioned_docs/version-0.33.1/Contributing.mdx new file mode 100644 index 00000000..28795965 --- /dev/null +++ b/website/versioned_docs/version-0.33.1/Contributing.mdx @@ -0,0 +1,11 @@ +--- +id: contributing_to_discord-api-types +title: How to Contribute +sidebar_position: 1 +--- + +:::caution Keep in mind! + +This page is WIP. It will be built up to explain how you can contribute to Discord API Types, and what to keep in mind! + +::: diff --git a/website/versioned_docs/version-0.33.1/Introduction.mdx b/website/versioned_docs/version-0.33.1/Introduction.mdx new file mode 100644 index 00000000..5a90ed79 --- /dev/null +++ b/website/versioned_docs/version-0.33.1/Introduction.mdx @@ -0,0 +1,167 @@ +--- +id: introduction_to_discord-api-types +title: Introduction +sidebar_position: 0 +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +
+ + + +[![Discord server](https://img.shields.io/discord/222078108977594368?color=5865F2&logo=discord&logoColor=white)](https://discord-api-types.dev/discord) +[![Patreon Donate](https://img.shields.io/badge/patreon-donate-brightgreen.svg?label=Donate%20with%20Patreon&logo=patreon&colorB=F96854&link=https://www.patreon.com/vladfrangu)](https://www.patreon.com/vladfrangu) +[![Ko-fi Donate](https://img.shields.io/badge/kofi-donate-brightgreen.svg?label=Donate%20with%20Ko-fi&logo=ko-fi&colorB=F16061&link=https://ko-fi.com/wolfgalvlad&logoColor=FFFFFF)](https://ko-fi.com/wolfgalvlad) +[![GitHub Sponsors](https://img.shields.io/badge/patreon-donate-brightgreen.svg?label=Sponsor%20through%20GitHub&logo=github&colorB=F96854&link=https://github.com/sponsors/vladfrangu)](https://github.com/sponsors/vladfrangu) + +[![npm version](https://img.shields.io/npm/v/discord-api-types?color=crimson&label=NPM%20Version&logo=npm)](https://www.npmjs.com/package/discord-api-types) +[![npm downloads](https://img.shields.io/npm/dt/discord-api-types.svg?label=NPM%20Downloads&logo=npm)](https://www.npmjs.com/package/discord-api-types) +[![deno](https://img.shields.io/npm/v/discord-api-types?color=blue&label=deno&logo=deno)](https://deno.land/x/discord_api_types) + +
+ +## About + +Discord API Types is a community-maintained project that brings API types for Discord's REST, Gateway and Voice APIs. + +## Installation + +Install with [npm](https://www.npmjs.com/) / [yarn](https://yarnpkg.com) / [pnpm](https://pnpm.js.org/): + +```bash npm2yarn2pnpm +npm install discord-api-types +``` + +### Usage + +You can only import this module by specifying the API version you want to target. Append `/v*` to the import path, where +the `*` represents the API version. Below are some examples + + + + +```javascript +/** + * @type {import('discord-api-types/v10').APIUser} + */ +``` + + + + + +```javascript +/** + * @type {import('discord-api-types/v10').APIUser} + */ +``` + + + + + +```typescript +import { type APIUser } from 'discord-api-types/v10'; +``` + + + + + +:::info + +You may also import just certain parts of the module that you need. The possible values are: `globals`, `gateway`, +`gateway/v*`, `payloads`, `payloads/v*`, `rest`, `rest/v*`, `rpc`, `rpc/v*`, `utils`, `utils/v*`, `voice`, and +`voice/v*`. Below is an example of importing directly from the gateway submodule + +```typescript ts2esm2cjs +import { GatewayVersion } from 'discord-api-types/gateway/v10'; + +console.log(`Let's connect to wss://gateway.discord.gg/?v=${GatewayVersion}`); +``` + +> _**Note:** The `v*` exports (`discord-api-types/v*`) include the appropriate version of `gateway`, `payloads`, `rest`, +> `rpc`, and `utils` you specified, alongside the `globals` exports_ + +::: + +### Deno + +We also provide typings compatible with the [deno](https://deno.land/) runtime. Here are 3 examples of how you can +import them: + + + + +```typescript +// Importing a specific API version +import { APIUser } from 'https://raw.githubusercontent.com/discordjs/discord-api-types/main/deno/v10.ts'; +``` + + + + + +```typescript +// Importing a specific API version +import { APIUser } from 'https://deno.land/x/discord_api_types/v10.ts'; +``` + + + + + +```typescript +// Importing a specific API version +import { APIUser } from 'https://cdn.skypack.dev/discord-api-types/v10?dts'; +``` + + + + + +## Project Structure + +The exports of each API version is split into three main parts: + +- Everything exported with the `API` prefix represents a payload you may get from the REST API _or_ the Gateway. + +- Everything exported with the `Gateway` prefix represents data that ONLY comes from or is directly related to the + Gateway. + +- Everything exported with the `REST` prefix represents data that ONLY comes from or is directly related to the REST + API. + + - For endpoint options, they will follow the following structure: + `REST` where the type represents what it will return. + + - For example, `RESTPostAPIChannelMessageJSONBody` or `RESTGetAPIGatewayBotInfoResult`. + + - Some exported types (specifically OAuth2 related ones) may not respect this entire structure due to the nature of + the fields. They will start with either `RESTOAuth2` or with something similar to `RESTOAuth2` + + - If a type ends with `Result`, then it represents the expected result by calling its accompanying route. + + - Types that are exported as `never` usually mean the result will be a `204 No Content`, so you can safely ignore + it. This does **not** account for errors. + +- Anything else that is miscellaneous will be exported based on what it represents (for example the `REST` route + object). + +- There may be types exported that are identical for all versions. These will be exported as is and can be found in the + `globals` file. They will still be prefixed accordingly as described above. + +:::danger A note about how types are documented + +This package will add types only for known and documented properties that are present in Discord's +[API Documentation repository](https://github.com/discord/discord-api-docs), that are mentioned in an open pull request, +or known through other means _and have received the green light to be used_. Anything else will not be documented (for +example client only types). + +With that aside, we may allow certain types that are not documented in the +[API Documentation repository](https://github.com/discord/discord-api-docs) on a case by case basis. They will be +documented with an `@unstable` tag and are not subject with the same versioning rules. + +::: diff --git a/website/versioned_docs/version-0.33.1/api-packages.json b/website/versioned_docs/version-0.33.1/api-packages.json new file mode 100644 index 00000000..46c6089e --- /dev/null +++ b/website/versioned_docs/version-0.33.1/api-packages.json @@ -0,0 +1 @@ +[{"entryPoints":{"globals":{"path":"globals.ts","label":"Global Types"},"gateway/common":{"path":"gateway/common.ts","label":"Gateway - Common Types"},"payloads/common":{"path":"payloads/common.ts","label":"Payloads - Common Types"},"rest/common":{"path":"rest/common.ts","label":"REST - Common Types"},"rpc/common":{"path":"rpc/common.ts","label":"RPC - Common Types"},"v6":{"path":"v6.ts","label":"API v6 - Deprecated"},"v8":{"path":"v8.ts","label":"API v8 - Deprecated"},"v9":{"path":"v9.ts","label":"API v9"},"v10":{"path":"v10.ts","label":"API v10"},"rpc/v8":{"path":"rpc/v8.ts","label":"RPC v8"},"rpc/v9":{"path":"rpc/v9.ts","label":"RPC v9"},"rpc/v10":{"path":"rpc/v10.ts","label":"RPC v10"},"voice/v4":{"path":"voice/v4.ts","label":"Voice v4"},"utils/v8":{"path":"utils/v8.ts","label":"Utils v8"},"utils/v9":{"path":"utils/v9.ts","label":"Utils v9"},"utils/v10":{"path":"utils/v10.ts","label":"Utils v10"}},"packagePath":"./","packageSlug":"discord-api-types","packageName":"discord-api-types","packageVersion":"0.33.1"}] \ No newline at end of file diff --git a/website/versioned_docs/version-0.33.1/api-typedoc.json b/website/versioned_docs/version-0.33.1/api-typedoc.json new file mode 100644 index 00000000..72da159e --- /dev/null +++ b/website/versioned_docs/version-0.33.1/api-typedoc.json @@ -0,0 +1,275345 @@ +{ + "id": 0, + "name": "discord-api-types", + "kind": 1, + "flags": {}, + "originalName": "", + "children": [ + { + "id": 17, + "name": "gateway/common", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 18, + "name": "GatewayURLQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#connecting-gateway-url-params" + }, + "children": [ + { + "id": 21, + "name": "compress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/common.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "zlib-stream" + } + }, + { + "id": 20, + "name": "encoding", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/common.ts", + "line": 6, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "json" + }, + { + "type": "literal", + "value": "etf" + } + ] + } + }, + { + "id": 19, + "name": "v", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/common.ts", + "line": 5, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 21, + 20, + 19 + ] + } + ], + "sources": [ + { + "fileName": "gateway/common.ts", + "line": 4, + "character": 17 + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "kind": 256, + "children": [ + 18 + ] + } + ], + "sources": [ + { + "fileName": "gateway/common.ts", + "line": 4, + "character": 0 + } + ] + }, + { + "id": 1, + "name": "globals", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 2, + "name": "Snowflake", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/reference#snowflakes" + }, + "sources": [ + { + "fileName": "globals.ts", + "line": 4, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4, + "name": "FormattingPatterns", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "comment": { + "shortText": "https://discord.com/developers/docs/reference#message-formatting-formats" + }, + "sources": [ + { + "fileName": "globals.ts", + "line": 15, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 5, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 12, + "name": "AnimatedEmoji", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Regular expression for matching strictly an animated custom emoji", + "text": "The `animated`, `name` and `id` group properties are present on the `exec` result of this expression\n" + }, + "sources": [ + { + "fileName": "globals.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "reference", + "qualifiedName": "RegExp", + "package": "typescript", + "name": "RegExp" + }, + "defaultValue": "..." + }, + { + "id": 9, + "name": "Channel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Regular expression for matching a channel mention", + "text": "The `id` group property is present on the `exec` result of this expression\n" + }, + "sources": [ + { + "fileName": "globals.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "qualifiedName": "RegExp", + "package": "typescript", + "name": "RegExp" + }, + "defaultValue": "..." + }, + { + "id": 15, + "name": "DefaultStyledTimestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Regular expression for matching strictly default styled timestamps", + "text": "The `timestamp` group property is present on the `exec` result of this expression\n" + }, + "sources": [ + { + "fileName": "globals.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "reference", + "qualifiedName": "RegExp", + "package": "typescript", + "name": "RegExp" + }, + "defaultValue": "..." + }, + { + "id": 11, + "name": "Emoji", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Regular expression for matching a custom emoji, either static or animated", + "text": "The `animated`, `name` and `id` group properties are present on the `exec` result of this expression\n" + }, + "sources": [ + { + "fileName": "globals.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "reference", + "qualifiedName": "RegExp", + "package": "typescript", + "name": "RegExp" + }, + "defaultValue": "..." + }, + { + "id": 10, + "name": "Role", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Regular expression for matching a role mention", + "text": "The `id` group property is present on the `exec` result of this expression\n" + }, + "sources": [ + { + "fileName": "globals.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "reference", + "qualifiedName": "RegExp", + "package": "typescript", + "name": "RegExp" + }, + "defaultValue": "..." + }, + { + "id": 13, + "name": "StaticEmoji", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Regular expression for matching strictly a static custom emoji", + "text": "The `name` and `id` group properties are present on the `exec` result of this expression\n" + }, + "sources": [ + { + "fileName": "globals.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "reference", + "qualifiedName": "RegExp", + "package": "typescript", + "name": "RegExp" + }, + "defaultValue": "..." + }, + { + "id": 16, + "name": "StyledTimestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Regular expression for matching strictly custom styled timestamps", + "text": "The `timestamp` and `style` group properties are present on the `exec` result of this expression\n" + }, + "sources": [ + { + "fileName": "globals.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "reference", + "qualifiedName": "RegExp", + "package": "typescript", + "name": "RegExp" + }, + "defaultValue": "..." + }, + { + "id": 14, + "name": "Timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Regular expression for matching a timestamp, either default or custom styled", + "text": "The `timestamp` and `style` group properties are present on the `exec` result of this expression\n" + }, + "sources": [ + { + "fileName": "globals.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "reference", + "qualifiedName": "RegExp", + "package": "typescript", + "name": "RegExp" + }, + "defaultValue": "..." + }, + { + "id": 6, + "name": "User", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Regular expression for matching a user mention, strictly without a nickname", + "text": "The `id` group property is present on the `exec` result of this expression\n" + }, + "sources": [ + { + "fileName": "globals.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "reference", + "qualifiedName": "RegExp", + "package": "typescript", + "name": "RegExp" + }, + "defaultValue": "..." + }, + { + "id": 7, + "name": "UserWithNickname", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Regular expression for matching a user mention, strictly with a nickname", + "text": "The `id` group property is present on the `exec` result of this expression", + "tags": [ + { + "tag": "deprecated", + "text": "Passing `!` in user mentions is no longer necessary / supported, and future message contents won't have it\n" + } + ] + }, + "sources": [ + { + "fileName": "globals.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "reference", + "qualifiedName": "RegExp", + "package": "typescript", + "name": "RegExp" + }, + "defaultValue": "..." + }, + { + "id": 8, + "name": "UserWithOptionalNickname", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Regular expression for matching a user mention, with or without a nickname", + "text": "The `id` group property is present on the `exec` result of this expression", + "tags": [ + { + "tag": "deprecated", + "text": "Passing `!` in user mentions is no longer necessary / supported, and future message contents won't have it\n" + } + ] + }, + "sources": [ + { + "fileName": "globals.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "reference", + "qualifiedName": "RegExp", + "package": "typescript", + "name": "RegExp" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 12, + 9, + 15, + 11, + 10, + 13, + 16, + 14, + 6, + 7, + 8 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 2 + ] + }, + { + "title": "Variables", + "kind": 32, + "children": [ + 4 + ] + } + ], + "sources": [ + { + "fileName": "globals.ts", + "line": 4, + "character": 0 + } + ] + }, + { + "id": 22, + "name": "payloads/common", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 66, + "name": "LocalizationMap", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 60, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 258, + "name": "LocaleString" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 23, + "name": "PermissionFlagsBits", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags", + "text": "These flags are exported as `BigInt`s and NOT numbers. Wrapping them in `Number()`\nmay cause issues, try to use BigInts as much as possible or modules that can\nreplicate them in some way\n" + }, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 10, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 24, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 31, + "name": "AddReactions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 28, + "name": "Administrator", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 40, + "name": "AttachFiles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 27, + "name": "BanMembers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 51, + "name": "ChangeNickname", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 45, + "name": "Connect", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 25, + "name": "CreateInstantInvite", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 11, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 61, + "name": "CreatePrivateThreads", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 60, + "name": "CreatePublicThreads", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 48, + "name": "DeafenMembers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 39, + "name": "EmbedLinks", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 26, + "name": "KickMembers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 29, + "name": "ManageChannels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 55, + "name": "ManageEmojisAndStickers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 58, + "name": "ManageEvents", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 30, + "name": "ManageGuild", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 38, + "name": "ManageMessages", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 52, + "name": "ManageNicknames", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 53, + "name": "ManageRoles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 59, + "name": "ManageThreads", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 54, + "name": "ManageWebhooks", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 42, + "name": "MentionEveryone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 65, + "name": "ModerateMembers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 49, + "name": "MoveMembers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 47, + "name": "MuteMembers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 33, + "name": "PrioritySpeaker", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 41, + "name": "ReadMessageHistory", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 57, + "name": "RequestToSpeak", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 43, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 36, + "name": "SendMessages", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 63, + "name": "SendMessagesInThreads", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 37, + "name": "SendTTSMessages", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 46, + "name": "Speak", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 34, + "name": "Stream", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 56, + "name": "UseApplicationCommands", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 64, + "name": "UseEmbeddedActivities", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 43, + "name": "UseExternalEmojis", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 62, + "name": "UseExternalStickers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 50, + "name": "UseVAD", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 32, + "name": "ViewAuditLog", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 35, + "name": "ViewChannel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + }, + { + "id": 44, + "name": "ViewGuildInsights", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "bigint" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 31, + 28, + 40, + 27, + 51, + 45, + 25, + 61, + 60, + 48, + 39, + 26, + 29, + 55, + 58, + 30, + 38, + 52, + 53, + 59, + 54, + 42, + 65, + 49, + 47, + 33, + 41, + 57, + 36, + 63, + 37, + 46, + 34, + 56, + 64, + 43, + 62, + 50, + 32, + 35, + 44 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 66 + ] + }, + { + "title": "Variables", + "kind": 32, + "children": [ + 23 + ] + } + ], + "sources": [ + { + "fileName": "payloads/common.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 67, + "name": "rest/common", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 227, + "name": "Locale", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/reference#locales" + }, + "children": [ + { + "id": 230, + "name": "Bulgarian", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 236, + "character": 1 + } + ], + "defaultValue": "\"bg\"" + }, + { + "id": 231, + "name": "ChineseCN", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 237, + "character": 1 + } + ], + "defaultValue": "\"zh-CN\"" + }, + { + "id": 232, + "name": "ChineseTW", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 238, + "character": 1 + } + ], + "defaultValue": "\"zh-TW\"" + }, + { + "id": 233, + "name": "Croatian", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 239, + "character": 1 + } + ], + "defaultValue": "\"hr\"" + }, + { + "id": 234, + "name": "Czech", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 240, + "character": 1 + } + ], + "defaultValue": "\"cs\"" + }, + { + "id": 235, + "name": "Danish", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 241, + "character": 1 + } + ], + "defaultValue": "\"da\"" + }, + { + "id": 236, + "name": "Dutch", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 242, + "character": 1 + } + ], + "defaultValue": "\"nl\"" + }, + { + "id": 229, + "name": "EnglishGB", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 235, + "character": 1 + } + ], + "defaultValue": "\"en-GB\"" + }, + { + "id": 228, + "name": "EnglishUS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 234, + "character": 1 + } + ], + "defaultValue": "\"en-US\"" + }, + { + "id": 237, + "name": "Finnish", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 243, + "character": 1 + } + ], + "defaultValue": "\"fi\"" + }, + { + "id": 238, + "name": "French", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 244, + "character": 1 + } + ], + "defaultValue": "\"fr\"" + }, + { + "id": 239, + "name": "German", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 245, + "character": 1 + } + ], + "defaultValue": "\"de\"" + }, + { + "id": 240, + "name": "Greek", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 246, + "character": 1 + } + ], + "defaultValue": "\"el\"" + }, + { + "id": 241, + "name": "Hindi", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 247, + "character": 1 + } + ], + "defaultValue": "\"hi\"" + }, + { + "id": 242, + "name": "Hungarian", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 248, + "character": 1 + } + ], + "defaultValue": "\"hu\"" + }, + { + "id": 243, + "name": "Italian", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 249, + "character": 1 + } + ], + "defaultValue": "\"it\"" + }, + { + "id": 244, + "name": "Japanese", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 250, + "character": 1 + } + ], + "defaultValue": "\"ja\"" + }, + { + "id": 245, + "name": "Korean", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 251, + "character": 1 + } + ], + "defaultValue": "\"ko\"" + }, + { + "id": 246, + "name": "Lithuanian", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 252, + "character": 1 + } + ], + "defaultValue": "\"lt\"" + }, + { + "id": 247, + "name": "Norwegian", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 253, + "character": 1 + } + ], + "defaultValue": "\"no\"" + }, + { + "id": 248, + "name": "Polish", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 254, + "character": 1 + } + ], + "defaultValue": "\"pl\"" + }, + { + "id": 249, + "name": "PortugueseBR", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 255, + "character": 1 + } + ], + "defaultValue": "\"pt-BR\"" + }, + { + "id": 250, + "name": "Romanian", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 256, + "character": 1 + } + ], + "defaultValue": "\"ro\"" + }, + { + "id": 251, + "name": "Russian", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 257, + "character": 1 + } + ], + "defaultValue": "\"ru\"" + }, + { + "id": 252, + "name": "SpanishES", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 258, + "character": 1 + } + ], + "defaultValue": "\"es-ES\"" + }, + { + "id": 253, + "name": "Swedish", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 259, + "character": 1 + } + ], + "defaultValue": "\"sv-SE\"" + }, + { + "id": 254, + "name": "Thai", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 260, + "character": 1 + } + ], + "defaultValue": "\"th\"" + }, + { + "id": 255, + "name": "Turkish", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 261, + "character": 1 + } + ], + "defaultValue": "\"tr\"" + }, + { + "id": 256, + "name": "Ukrainian", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 262, + "character": 1 + } + ], + "defaultValue": "\"uk\"" + }, + { + "id": 257, + "name": "Vietnamese", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 263, + "character": 1 + } + ], + "defaultValue": "\"vi\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 229, + 228, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256, + 257 + ] + } + ], + "sources": [ + { + "fileName": "rest/common.ts", + "line": 233, + "character": 12 + } + ] + }, + { + "id": 68, + "name": "RESTJSONErrorCodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#json-json-error-codes" + }, + "children": [ + { + "id": 211, + "name": "APIResourceOverloaded", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 206, + "character": 1 + } + ], + "defaultValue": "130000" + }, + { + "id": 116, + "name": "ActionCannotBePerformedDueToSlowmodeRateLimit", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 67, + "character": 1 + } + ], + "defaultValue": "20016" + }, + { + "id": 119, + "name": "AnnouncementEditLimitExceeded", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 71, + "character": 1 + } + ], + "defaultValue": "20022" + }, + { + "id": 158, + "name": "ApplicationCommandWithThatNameAlreadyExists", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 130, + "character": 1 + } + ], + "defaultValue": "40041" + }, + { + "id": 112, + "name": "BotsCannotUseThisEndpoint", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 60, + "character": 1 + } + ], + "defaultValue": "20001" + }, + { + "id": 196, + "name": "CannotDeleteChannelRequiredForCommunityGuilds", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 180, + "character": 1 + } + ], + "defaultValue": "50074" + }, + { + "id": 165, + "name": "CannotEditMessageAuthoredByAnotherUser", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 139, + "character": 1 + } + ], + "defaultValue": "50005" + }, + { + "id": 197, + "name": "CannotEditStickersWithinMessage", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 182, + "character": 1 + } + ], + "defaultValue": "50080" + }, + { + "id": 163, + "name": "CannotExecuteActionOnDMChannel", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 137, + "character": 1 + } + ], + "defaultValue": "50003" + }, + { + "id": 179, + "name": "CannotExecuteActionOnSystemMessage", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 154, + "character": 1 + } + ], + "defaultValue": "50021" + }, + { + "id": 180, + "name": "CannotExecuteActionOnThisChannelType", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 156, + "character": 1 + } + ], + "defaultValue": "50024" + }, + { + "id": 213, + "name": "CannotReplyWithoutPermissionToReadMessageHistory", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 210, + "character": 1 + } + ], + "defaultValue": "160002" + }, + { + "id": 192, + "name": "CannotSelfRedeemThisGift", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 173, + "character": 1 + } + ], + "defaultValue": "50054" + }, + { + "id": 166, + "name": "CannotSendAnEmptyMessage", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 140, + "character": 1 + } + ], + "defaultValue": "50006" + }, + { + "id": 168, + "name": "CannotSendMessagesInNonTextChannel", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 142, + "character": 1 + } + ], + "defaultValue": "50008" + }, + { + "id": 167, + "name": "CannotSendMessagesToThisUser", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 141, + "character": 1 + } + ], + "defaultValue": "50007" + }, + { + "id": 225, + "name": "CannotUpdateAFinishedEvent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 225, + "character": 1 + } + ], + "defaultValue": "180000" + }, + { + "id": 120, + "name": "ChannelSendRateLimit", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 73, + "character": 1 + } + ], + "defaultValue": "20028" + }, + { + "id": 169, + "name": "ChannelVerificationLevelTooHighForYouToGainAccess", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 143, + "character": 1 + } + ], + "defaultValue": "50009" + }, + { + "id": 202, + "name": "CommunityServerChannelsMustBeTextChannels", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 188, + "character": 1 + } + ], + "defaultValue": "50086" + }, + { + "id": 114, + "name": "ExplicitContentCannotBeSentToTheDesiredRecipient", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 63, + "character": 1 + } + ], + "defaultValue": "20009" + }, + { + "id": 226, + "name": "FailedToCreateStageNeededForStageEvent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 227, + "character": 1 + } + ], + "defaultValue": "180002" + }, + { + "id": 154, + "name": "FeatureTemporarilyDisabledServerSide", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 124, + "character": 1 + } + ], + "defaultValue": "40006" + }, + { + "id": 190, + "name": "FileUploadedExceedsMaximumSize", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 170, + "character": 1 + } + ], + "defaultValue": "50045" + }, + { + "id": 69, + "name": "GeneralError", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 5, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 138, + "name": "GuildAlreadyHasTemplate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 101, + "character": 1 + } + ], + "defaultValue": "30031" + }, + { + "id": 123, + "name": "GuildPremiumSubscriptionLevelTooLow", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 78, + "character": 1 + } + ], + "defaultValue": "20035" + }, + { + "id": 164, + "name": "GuildWidgetDisabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 138, + "character": 1 + } + ], + "defaultValue": "50004" + }, + { + "id": 159, + "name": "InteractionHasAlreadyBeenAcknowledged", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 132, + "character": 1 + } + ], + "defaultValue": "40060" + }, + { + "id": 189, + "name": "InvalidAPIVersion", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 168, + "character": 1 + } + ], + "defaultValue": "50041" + }, + { + "id": 162, + "name": "InvalidAccountType", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 136, + "character": 1 + } + ], + "defaultValue": "50002" + }, + { + "id": 199, + "name": "InvalidActionOnArchivedThread", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 185, + "character": 1 + } + ], + "defaultValue": "50083" + }, + { + "id": 191, + "name": "InvalidFileUploaded", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 171, + "character": 1 + } + ], + "defaultValue": "50046" + }, + { + "id": 187, + "name": "InvalidFormBodyOrContentType", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 165, + "character": 1 + } + ], + "defaultValue": "50035" + }, + { + "id": 193, + "name": "InvalidGuild", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 174, + "character": 1 + } + ], + "defaultValue": "50055" + }, + { + "id": 218, + "name": "InvalidJSONForUploadedLottieFile", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 217, + "character": 1 + } + ], + "defaultValue": "170001" + }, + { + "id": 194, + "name": "InvalidMessageType", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 176, + "character": 1 + } + ], + "defaultValue": "50068" + }, + { + "id": 181, + "name": "InvalidOAuth2AccessToken", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 157, + "character": 1 + } + ], + "defaultValue": "50025" + }, + { + "id": 172, + "name": "InvalidOAuth2State", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 146, + "character": 1 + } + ], + "defaultValue": "50012" + }, + { + "id": 185, + "name": "InvalidRecipients", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 163, + "character": 1 + } + ], + "defaultValue": "50033" + }, + { + "id": 184, + "name": "InvalidRole", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 161, + "character": 1 + } + ], + "defaultValue": "50028" + }, + { + "id": 198, + "name": "InvalidStickerSent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 183, + "character": 1 + } + ], + "defaultValue": "50081" + }, + { + "id": 200, + "name": "InvalidThreadNotificationSettings", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 186, + "character": 1 + } + ], + "defaultValue": "50084" + }, + { + "id": 174, + "name": "InvalidToken", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 148, + "character": 1 + } + ], + "defaultValue": "50014" + }, + { + "id": 183, + "name": "InvalidWebhookToken", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 160, + "character": 1 + } + ], + "defaultValue": "50027" + }, + { + "id": 188, + "name": "InviteAcceptedToGuildWithoutTheBotBeingIn", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 166, + "character": 1 + } + ], + "defaultValue": "50036" + }, + { + "id": 178, + "name": "InviteCodeInvalidOrTaken", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 153, + "character": 1 + } + ], + "defaultValue": "50020" + }, + { + "id": 222, + "name": "LottieAnimationMaximumDimensionsExceeded", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 221, + "character": 1 + } + ], + "defaultValue": "170005" + }, + { + "id": 217, + "name": "MaximumActiveAnnouncementThreads", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 215, + "character": 1 + } + ], + "defaultValue": "160007" + }, + { + "id": 216, + "name": "MaximumActiveThreads", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 214, + "character": 1 + } + ], + "defaultValue": "160006" + }, + { + "id": 135, + "name": "MaximumNumberOfAnimatedEmojisReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 96, + "character": 1 + } + ], + "defaultValue": "30018" + }, + { + "id": 133, + "name": "MaximumNumberOfAttachmentsInAMessageReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 93, + "character": 1 + } + ], + "defaultValue": "30015" + }, + { + "id": 141, + "name": "MaximumNumberOfBanFetchesHasBeenReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 107, + "character": 1 + } + ], + "defaultValue": "30037" + }, + { + "id": 146, + "name": "MaximumNumberOfEditsToMessagesOlderThanOneHourReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 115, + "character": 1 + } + ], + "defaultValue": "30046" + }, + { + "id": 130, + "name": "MaximumNumberOfEmojisReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 87, + "character": 1 + } + ], + "defaultValue": "30008" + }, + { + "id": 125, + "name": "MaximumNumberOfFriendsReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 81, + "character": 1 + } + ], + "defaultValue": "30002" + }, + { + "id": 132, + "name": "MaximumNumberOfGuildChannelsReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 91, + "character": 1 + } + ], + "defaultValue": "30013" + }, + { + "id": 128, + "name": "MaximumNumberOfGuildRolesReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 84, + "character": 1 + } + ], + "defaultValue": "30005" + }, + { + "id": 145, + "name": "MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 113, + "character": 1 + } + ], + "defaultValue": "30042" + }, + { + "id": 124, + "name": "MaximumNumberOfGuildsReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 80, + "character": 1 + } + ], + "defaultValue": "30001" + }, + { + "id": 134, + "name": "MaximumNumberOfInvitesReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 94, + "character": 1 + } + ], + "defaultValue": "30016" + }, + { + "id": 140, + "name": "MaximumNumberOfNonGuildMemberBansHasBeenExceeded", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 105, + "character": 1 + } + ], + "defaultValue": "30035" + }, + { + "id": 147, + "name": "MaximumNumberOfPinnedThreadsInForumHasBeenReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 116, + "character": 1 + } + ], + "defaultValue": "30047" + }, + { + "id": 126, + "name": "MaximumNumberOfPinsReachedForTheChannel", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 82, + "character": 1 + } + ], + "defaultValue": "30003" + }, + { + "id": 144, + "name": "MaximumNumberOfPruneRequestsHasBeenReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 111, + "character": 1 + } + ], + "defaultValue": "30040" + }, + { + "id": 131, + "name": "MaximumNumberOfReactionsReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 89, + "character": 1 + } + ], + "defaultValue": "30010" + }, + { + "id": 127, + "name": "MaximumNumberOfRecipientsReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 83, + "character": 1 + } + ], + "defaultValue": "30004" + }, + { + "id": 137, + "name": "MaximumNumberOfServerCategoriesReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 99, + "character": 1 + } + ], + "defaultValue": "30030" + }, + { + "id": 136, + "name": "MaximumNumberOfServerMembersReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 97, + "character": 1 + } + ], + "defaultValue": "30019" + }, + { + "id": 143, + "name": "MaximumNumberOfStickersReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 110, + "character": 1 + } + ], + "defaultValue": "30039" + }, + { + "id": 148, + "name": "MaximumNumberOfTagsInForumHasBeenReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 117, + "character": 1 + } + ], + "defaultValue": "30048" + }, + { + "id": 142, + "name": "MaximumNumberOfUncompletedGuildScheduledEventsReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 108, + "character": 1 + } + ], + "defaultValue": "30038" + }, + { + "id": 129, + "name": "MaximumNumberOfWebhooksReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 86, + "character": 1 + } + ], + "defaultValue": "30007" + }, + { + "id": 139, + "name": "MaximumThreadParticipants", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 103, + "character": 1 + } + ], + "defaultValue": "30033" + }, + { + "id": 177, + "name": "MessageCanOnlyBePinnedInTheChannelItWasSentIn", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 152, + "character": 1 + } + ], + "defaultValue": "50019" + }, + { + "id": 161, + "name": "MissingAccess", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 135, + "character": 1 + } + ], + "defaultValue": "50001" + }, + { + "id": 173, + "name": "MissingPermissions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 147, + "character": 1 + } + ], + "defaultValue": "50013" + }, + { + "id": 182, + "name": "MissingRequiredOAuth2Scope", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 158, + "character": 1 + } + ], + "defaultValue": "50026" + }, + { + "id": 209, + "name": "NoUsersWithDiscordTagExist", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 202, + "character": 1 + } + ], + "defaultValue": "80004" + }, + { + "id": 115, + "name": "NotAuthorizedToPerformThisActionOnThisApplication", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 65, + "character": 1 + } + ], + "defaultValue": "20012" + }, + { + "id": 175, + "name": "NoteWasTooLong", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 149, + "character": 1 + } + ], + "defaultValue": "50015" + }, + { + "id": 170, + "name": "OAuth2ApplicationDoesNotHaveBot", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 144, + "character": 1 + } + ], + "defaultValue": "50010" + }, + { + "id": 171, + "name": "OAuth2ApplicationLimitReached", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 145, + "character": 1 + } + ], + "defaultValue": "50011" + }, + { + "id": 186, + "name": "OneOfTheMessagesProvidedWasTooOldForBulkDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 164, + "character": 1 + } + ], + "defaultValue": "50034" + }, + { + "id": 113, + "name": "OnlyBotsCanUseThisEndpoint", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 61, + "character": 1 + } + ], + "defaultValue": "20002" + }, + { + "id": 118, + "name": "OnlyTheOwnerOfThisAccountCanPerformThisAction", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 69, + "character": 1 + } + ], + "defaultValue": "20018" + }, + { + "id": 151, + "name": "OpeningDirectMessagesTooFast", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 121, + "character": 1 + } + ], + "defaultValue": "40003" + }, + { + "id": 201, + "name": "ParameterEarlierThanCreation", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 187, + "character": 1 + } + ], + "defaultValue": "50085" + }, + { + "id": 195, + "name": "PaymentSourceRequiredToRedeemGift", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 178, + "character": 1 + } + ], + "defaultValue": "50070" + }, + { + "id": 176, + "name": "ProvidedTooFewOrTooManyMessagesToDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 150, + "character": 1 + } + ], + "defaultValue": "50016" + }, + { + "id": 210, + "name": "ReactionWasBlocked", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 204, + "character": 1 + } + ], + "defaultValue": "90001" + }, + { + "id": 206, + "name": "RequestBodyContainsInvalidJSON", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 196, + "character": 1 + } + ], + "defaultValue": "50109" + }, + { + "id": 153, + "name": "RequestEntityTooLarge", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 123, + "character": 1 + } + ], + "defaultValue": "40005" + }, + { + "id": 152, + "name": "SendMessagesHasBeenTemporarilyDisabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 122, + "character": 1 + } + ], + "defaultValue": "40004" + }, + { + "id": 204, + "name": "ServerNeedsMonetizationEnabledToPerformThisAction", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 192, + "character": 1 + } + ], + "defaultValue": "50097" + }, + { + "id": 205, + "name": "ServerNeedsMoreBoostsToPerformThisAction", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 194, + "character": 1 + } + ], + "defaultValue": "50101" + }, + { + "id": 203, + "name": "ServerNotAvailableInYourLocation", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 190, + "character": 1 + } + ], + "defaultValue": "50095" + }, + { + "id": 121, + "name": "ServerSendRateLimit", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 74, + "character": 1 + } + ], + "defaultValue": "20029" + }, + { + "id": 122, + "name": "StageTopicServerNameServerDescriptionOrChannelNamesContainDisallowedWords", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 76, + "character": 1 + } + ], + "defaultValue": "20031" + }, + { + "id": 224, + "name": "StickerAnimationDurationExceedsMaximumOf5Seconds", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 223, + "character": 1 + } + ], + "defaultValue": "170007" + }, + { + "id": 221, + "name": "StickerFrameCountExceedsMaximumOf1000Frames", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 220, + "character": 1 + } + ], + "defaultValue": "170004" + }, + { + "id": 223, + "name": "StickerFramerateIsTooSmallOrTooLarge", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 222, + "character": 1 + } + ], + "defaultValue": "170006" + }, + { + "id": 220, + "name": "StickerMaximumFramerateExceeded", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 219, + "character": 1 + } + ], + "defaultValue": "170003" + }, + { + "id": 160, + "name": "TagNamesMustBeUnique", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 133, + "character": 1 + } + ], + "defaultValue": "40061" + }, + { + "id": 156, + "name": "TargetUserIsNotConnectedToVoice", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 127, + "character": 1 + } + ], + "defaultValue": "40032" + }, + { + "id": 117, + "name": "TheMazeIsntMeantForYou", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 68, + "character": 1 + } + ], + "defaultValue": "20017" + }, + { + "id": 212, + "name": "TheStageIsAlreadyOpen", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 208, + "character": 1 + } + ], + "defaultValue": "150006" + }, + { + "id": 157, + "name": "ThisMessageWasAlreadyCrossposted", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 128, + "character": 1 + } + ], + "defaultValue": "40033" + }, + { + "id": 214, + "name": "ThreadAlreadyCreatedForMessage", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 212, + "character": 1 + } + ], + "defaultValue": "160004" + }, + { + "id": 215, + "name": "ThreadLocked", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 213, + "character": 1 + } + ], + "defaultValue": "160005" + }, + { + "id": 208, + "name": "TwoFactorAuthenticationIsRequired", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 200, + "character": 1 + } + ], + "defaultValue": "60003" + }, + { + "id": 149, + "name": "Unauthorized", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 119, + "character": 1 + } + ], + "defaultValue": "40001" + }, + { + "id": 70, + "name": "UnknownAccount", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 7, + "character": 1 + } + ], + "defaultValue": "10001" + }, + { + "id": 71, + "name": "UnknownApplication", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 8, + "character": 1 + } + ], + "defaultValue": "10002" + }, + { + "id": 103, + "name": "UnknownApplicationCommand", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 48, + "character": 1 + } + ], + "defaultValue": "10063" + }, + { + "id": 105, + "name": "UnknownApplicationCommandPermissions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 51, + "character": 1 + } + ], + "defaultValue": "10066" + }, + { + "id": 87, + "name": "UnknownBan", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 26, + "character": 1 + } + ], + "defaultValue": "10026" + }, + { + "id": 93, + "name": "UnknownBranch", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 32, + "character": 1 + } + ], + "defaultValue": "10032" + }, + { + "id": 91, + "name": "UnknownBuild", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 30, + "character": 1 + } + ], + "defaultValue": "10030" + }, + { + "id": 72, + "name": "UnknownChannel", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 9, + "character": 1 + } + ], + "defaultValue": "10003" + }, + { + "id": 100, + "name": "UnknownDiscoverableServerCategory", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 44, + "character": 1 + } + ], + "defaultValue": "10059" + }, + { + "id": 83, + "name": "UnknownEmoji", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 20, + "character": 1 + } + ], + "defaultValue": "10014" + }, + { + "id": 90, + "name": "UnknownEntitlement", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 29, + "character": 1 + } + ], + "defaultValue": "10029" + }, + { + "id": 96, + "name": "UnknownGiftCode", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 37, + "character": 1 + } + ], + "defaultValue": "10038" + }, + { + "id": 73, + "name": "UnknownGuild", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 10, + "character": 1 + } + ], + "defaultValue": "10004" + }, + { + "id": 107, + "name": "UnknownGuildMemberVerificationForm", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 53, + "character": 1 + } + ], + "defaultValue": "10068" + }, + { + "id": 109, + "name": "UnknownGuildScheduledEvent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 55, + "character": 1 + } + ], + "defaultValue": "10070" + }, + { + "id": 110, + "name": "UnknownGuildScheduledEventUser", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 56, + "character": 1 + } + ], + "defaultValue": "10071" + }, + { + "id": 99, + "name": "UnknownGuildTemplate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 42, + "character": 1 + } + ], + "defaultValue": "10057" + }, + { + "id": 108, + "name": "UnknownGuildWelcomeScreen", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 54, + "character": 1 + } + ], + "defaultValue": "10069" + }, + { + "id": 74, + "name": "UnknownIntegration", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 11, + "character": 1 + } + ], + "defaultValue": "10005" + }, + { + "id": 102, + "name": "UnknownInteraction", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 47, + "character": 1 + } + ], + "defaultValue": "10062" + }, + { + "id": 75, + "name": "UnknownInvite", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 12, + "character": 1 + } + ], + "defaultValue": "10006" + }, + { + "id": 92, + "name": "UnknownLobby", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 31, + "character": 1 + } + ], + "defaultValue": "10031" + }, + { + "id": 76, + "name": "UnknownMember", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 13, + "character": 1 + } + ], + "defaultValue": "10007" + }, + { + "id": 77, + "name": "UnknownMessage", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 14, + "character": 1 + } + ], + "defaultValue": "10008" + }, + { + "id": 78, + "name": "UnknownPermissionOverwrite", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 15, + "character": 1 + } + ], + "defaultValue": "10009" + }, + { + "id": 98, + "name": "UnknownPremiumServerSubscribeCooldown", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 40, + "character": 1 + } + ], + "defaultValue": "10050" + }, + { + "id": 79, + "name": "UnknownProvider", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 16, + "character": 1 + } + ], + "defaultValue": "10010" + }, + { + "id": 95, + "name": "UnknownRedistributable", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 35, + "character": 1 + } + ], + "defaultValue": "10036" + }, + { + "id": 80, + "name": "UnknownRole", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 17, + "character": 1 + } + ], + "defaultValue": "10011" + }, + { + "id": 88, + "name": "UnknownSKU", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 27, + "character": 1 + } + ], + "defaultValue": "10027" + }, + { + "id": 86, + "name": "UnknownSession", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 24, + "character": 1 + } + ], + "defaultValue": "10020" + }, + { + "id": 106, + "name": "UnknownStageInstance", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 52, + "character": 1 + } + ], + "defaultValue": "10067" + }, + { + "id": 101, + "name": "UnknownSticker", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 45, + "character": 1 + } + ], + "defaultValue": "10060" + }, + { + "id": 94, + "name": "UnknownStoreDirectoryLayout", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 33, + "character": 1 + } + ], + "defaultValue": "10033" + }, + { + "id": 89, + "name": "UnknownStoreListing", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 28, + "character": 1 + } + ], + "defaultValue": "10028" + }, + { + "id": 97, + "name": "UnknownStream", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 39, + "character": 1 + } + ], + "defaultValue": "10049" + }, + { + "id": 111, + "name": "UnknownTag", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 58, + "character": 1 + } + ], + "defaultValue": "10087" + }, + { + "id": 81, + "name": "UnknownToken", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 18, + "character": 1 + } + ], + "defaultValue": "10012" + }, + { + "id": 82, + "name": "UnknownUser", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 19, + "character": 1 + } + ], + "defaultValue": "10013" + }, + { + "id": 104, + "name": "UnknownVoiceState", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 50, + "character": 1 + } + ], + "defaultValue": "10065" + }, + { + "id": 84, + "name": "UnknownWebhook", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 21, + "character": 1 + } + ], + "defaultValue": "10015" + }, + { + "id": 85, + "name": "UnknownWebhookService", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 22, + "character": 1 + } + ], + "defaultValue": "10016" + }, + { + "id": 219, + "name": "UploadedLottiesCannotContainRasterizedImages", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 218, + "character": 1 + } + ], + "defaultValue": "170002" + }, + { + "id": 155, + "name": "UserBannedFromThisGuild", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 125, + "character": 1 + } + ], + "defaultValue": "40007" + }, + { + "id": 150, + "name": "VerifyYourAccount", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 120, + "character": 1 + } + ], + "defaultValue": "40002" + }, + { + "id": 207, + "name": "YouDoNotHavePermissionToSendThisSticker", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 198, + "character": 1 + } + ], + "defaultValue": "50600" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 211, + 116, + 119, + 158, + 112, + 196, + 165, + 197, + 163, + 179, + 180, + 213, + 192, + 166, + 168, + 167, + 225, + 120, + 169, + 202, + 114, + 226, + 154, + 190, + 69, + 138, + 123, + 164, + 159, + 189, + 162, + 199, + 191, + 187, + 193, + 218, + 194, + 181, + 172, + 185, + 184, + 198, + 200, + 174, + 183, + 188, + 178, + 222, + 217, + 216, + 135, + 133, + 141, + 146, + 130, + 125, + 132, + 128, + 145, + 124, + 134, + 140, + 147, + 126, + 144, + 131, + 127, + 137, + 136, + 143, + 148, + 142, + 129, + 139, + 177, + 161, + 173, + 182, + 209, + 115, + 175, + 170, + 171, + 186, + 113, + 118, + 151, + 201, + 195, + 176, + 210, + 206, + 153, + 152, + 204, + 205, + 203, + 121, + 122, + 224, + 221, + 223, + 220, + 160, + 156, + 117, + 212, + 157, + 214, + 215, + 208, + 149, + 70, + 71, + 103, + 105, + 87, + 93, + 91, + 72, + 100, + 83, + 90, + 96, + 73, + 107, + 109, + 110, + 99, + 108, + 74, + 102, + 75, + 92, + 76, + 77, + 78, + 98, + 79, + 95, + 80, + 88, + 86, + 106, + 101, + 94, + 89, + 97, + 111, + 81, + 82, + 104, + 84, + 85, + 219, + 155, + 150, + 207 + ] + } + ], + "sources": [ + { + "fileName": "rest/common.ts", + "line": 4, + "character": 12 + } + ] + }, + { + "id": 258, + "name": "LocaleString", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/common.ts", + "line": 266, + "character": 12 + } + ], + "type": { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "reference", + "id": 227, + "name": "Locale" + }, + "" + ] + ] + } + } + ], + "groups": [ + { + "title": "Enumerations", + "kind": 8, + "children": [ + 227, + 68 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 258 + ] + } + ], + "sources": [ + { + "fileName": "rest/common.ts", + "line": 4, + "character": 0 + } + ] + }, + { + "id": 259, + "name": "rpc/common", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 277, + "name": "RPCCloseEventCodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#rpc-rpc-close-event-codes" + }, + "children": [ + { + "id": 278, + "name": "InvalidClientId", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 27, + "character": 1 + } + ], + "defaultValue": "4000" + }, + { + "id": 283, + "name": "InvalidEncoding", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 32, + "character": 1 + } + ], + "defaultValue": "4005" + }, + { + "id": 279, + "name": "InvalidOrigin", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 28, + "character": 1 + } + ], + "defaultValue": "4001" + }, + { + "id": 282, + "name": "InvalidVersion", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 31, + "character": 1 + } + ], + "defaultValue": "4004" + }, + { + "id": 280, + "name": "RateLimited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 29, + "character": 1 + } + ], + "defaultValue": "4002" + }, + { + "id": 281, + "name": "TokenRevoked", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 30, + "character": 1 + } + ], + "defaultValue": "4003" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 278, + 283, + 279, + 282, + 280, + 281 + ] + } + ], + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 26, + "character": 12 + } + ] + }, + { + "id": 260, + "name": "RPCErrorCodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#rpc-rpc-error-codes" + }, + "children": [ + { + "id": 276, + "name": "CaptureShortcutAlreadyListening", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 20, + "character": 1 + } + ], + "defaultValue": "5004" + }, + { + "id": 274, + "name": "GetGuildTimedOut", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 18, + "character": 1 + } + ], + "defaultValue": "5002" + }, + { + "id": 266, + "name": "InvalidChannel", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 10, + "character": 1 + } + ], + "defaultValue": "4005" + }, + { + "id": 268, + "name": "InvalidClientId", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 12, + "character": 1 + } + ], + "defaultValue": "4007" + }, + { + "id": 263, + "name": "InvalidCommand", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 7, + "character": 1 + } + ], + "defaultValue": "4002" + }, + { + "id": 265, + "name": "InvalidEvent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 9, + "character": 1 + } + ], + "defaultValue": "4004" + }, + { + "id": 264, + "name": "InvalidGuild", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 8, + "character": 1 + } + ], + "defaultValue": "4003" + }, + { + "id": 269, + "name": "InvalidOrigin", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 13, + "character": 1 + } + ], + "defaultValue": "4008" + }, + { + "id": 262, + "name": "InvalidPayload", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 6, + "character": 1 + } + ], + "defaultValue": "4000" + }, + { + "id": 267, + "name": "InvalidPermissions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 11, + "character": 1 + } + ], + "defaultValue": "4006" + }, + { + "id": 270, + "name": "InvalidToken", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 14, + "character": 1 + } + ], + "defaultValue": "4009" + }, + { + "id": 271, + "name": "InvalidUser", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 15, + "character": 1 + } + ], + "defaultValue": "4010" + }, + { + "id": 272, + "name": "OAuth2Error", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 16, + "character": 1 + } + ], + "defaultValue": "5000" + }, + { + "id": 273, + "name": "SelectChannelTimedOut", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 17, + "character": 1 + } + ], + "defaultValue": "5001" + }, + { + "id": 275, + "name": "SelectVoiceForceRequired", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 19, + "character": 1 + } + ], + "defaultValue": "5003" + }, + { + "id": 261, + "name": "UnknownError", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 5, + "character": 1 + } + ], + "defaultValue": "1000" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 276, + 274, + 266, + 268, + 263, + 265, + 264, + 269, + 262, + 267, + 270, + 271, + 272, + 273, + 275, + 261 + ] + } + ], + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 4, + "character": 12 + } + ] + } + ], + "groups": [ + { + "title": "Enumerations", + "kind": 8, + "children": [ + 277, + 260 + ] + } + ], + "sources": [ + { + "fileName": "rpc/common.ts", + "line": 4, + "character": 0 + } + ] + }, + { + "id": 290, + "name": "rpc/v10", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 10666, + "name": "RPCCloseEventCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 277 + }, + { + "id": 10665, + "name": "RPCErrorCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 260 + } + ], + "groups": [ + { + "title": "References", + "kind": 16777216, + "children": [ + 10666, + 10665 + ] + } + ], + "sources": [ + { + "fileName": "rpc/v10.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 288, + "name": "rpc/v8", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 10662, + "name": "RPCCloseEventCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 277 + }, + { + "id": 10661, + "name": "RPCErrorCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 260 + } + ], + "groups": [ + { + "title": "References", + "kind": 16777216, + "children": [ + 10662, + 10661 + ] + } + ], + "sources": [ + { + "fileName": "rpc/v8.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 289, + "name": "rpc/v9", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 10664, + "name": "RPCCloseEventCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 277 + }, + { + "id": 10663, + "name": "RPCErrorCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 260 + } + ], + "groups": [ + { + "title": "References", + "kind": 16777216, + "children": [ + 10664, + 10663 + ] + } + ], + "sources": [ + { + "fileName": "rpc/v9.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 384, + "name": "utils/v10", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 391, + "name": "isApplicationCommandDMInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v10.ts", + "line": 51, + "character": 16 + } + ], + "signatures": [ + { + "id": 392, + "name": "isApplicationCommandDMInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for DM application command interactions", + "returns": "A boolean that indicates if the application command interaction was received in a DM channel\n" + }, + "parameters": [ + { + "id": 393, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The application command interaction to check against" + }, + "type": { + "type": "reference", + "id": 9182, + "name": "APIApplicationCommandInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 9183, + "name": "APIApplicationCommandDMInteraction" + } + } + } + ] + }, + { + "id": 394, + "name": "isApplicationCommandGuildInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v10.ts", + "line": 62, + "character": 16 + } + ], + "signatures": [ + { + "id": 395, + "name": "isApplicationCommandGuildInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for guild application command interactions", + "returns": "A boolean that indicates if the application command interaction was received in a guild\n" + }, + "parameters": [ + { + "id": 396, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 9182, + "name": "APIApplicationCommandInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 9184, + "name": "APIApplicationCommandGuildInteraction" + } + } + } + ] + }, + { + "id": 418, + "name": "isChatInputApplicationCommandInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v10.ts", + "line": 154, + "character": 16 + } + ], + "signatures": [ + { + "id": 419, + "name": "isChatInputApplicationCommandInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for chat input application commands.", + "returns": "A boolean that indicates if the interaction is a chat input application command\n" + }, + "parameters": [ + { + "id": 420, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 9182, + "name": "APIApplicationCommandInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 9202, + "name": "APIChatInputApplicationCommandInteraction" + } + } + } + ] + }, + { + "id": 421, + "name": "isContextMenuApplicationCommandInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v10.ts", + "line": 165, + "character": 16 + } + ], + "signatures": [ + { + "id": 422, + "name": "isContextMenuApplicationCommandInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for context menu application commands.", + "returns": "A boolean that indicates if the interaction is a context menu application command\n" + }, + "parameters": [ + { + "id": 423, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 9182, + "name": "APIApplicationCommandInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 9309, + "name": "APIContextMenuInteraction" + } + } + } + ] + }, + { + "id": 385, + "name": "isDMInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v10.ts", + "line": 31, + "character": 16 + } + ], + "signatures": [ + { + "id": 386, + "name": "isDMInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for DM interactions", + "returns": "A boolean that indicates if the interaction was received in a DM channel\n" + }, + "parameters": [ + { + "id": 387, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 9140, + "name": "APIInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 9141, + "name": "APIDMInteraction" + } + } + } + ] + }, + { + "id": 388, + "name": "isGuildInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v10.ts", + "line": 40, + "character": 16 + } + ], + "signatures": [ + { + "id": 389, + "name": "isGuildInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for guild interactions", + "returns": "A boolean that indicates if the interaction was received in a guild\n" + }, + "parameters": [ + { + "id": 390, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 9140, + "name": "APIInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 9142, + "name": "APIGuildInteraction" + } + } + } + ] + }, + { + "id": 406, + "name": "isInteractionButton", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v10.ts", + "line": 108, + "character": 16 + } + ], + "signatures": [ + { + "id": 407, + "name": "isInteractionButton", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for buttons that have a `custom_id` attached to them.", + "returns": "A boolean that indicates if the button has a `custom_id` attached to it\n" + }, + "parameters": [ + { + "id": 408, + "name": "component", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 8697, + "name": "APIButtonComponent" + } + } + ], + "type": { + "type": "predicate", + "name": "component", + "asserts": false, + "targetType": { + "type": "reference", + "id": 8683, + "name": "APIButtonComponentWithCustomId" + } + } + } + ] + }, + { + "id": 403, + "name": "isLinkButton", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v10.ts", + "line": 99, + "character": 16 + } + ], + "signatures": [ + { + "id": 404, + "name": "isLinkButton", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for buttons that have a `url` attached to them.", + "returns": "A boolean that indicates if the button has a `url` attached to it\n" + }, + "parameters": [ + { + "id": 405, + "name": "component", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The button to check against" + }, + "type": { + "type": "reference", + "id": 8697, + "name": "APIButtonComponent" + } + } + ], + "type": { + "type": "predicate", + "name": "component", + "asserts": false, + "targetType": { + "type": "reference", + "id": 8690, + "name": "APIButtonComponentWithURL" + } + } + } + ] + }, + { + "id": 412, + "name": "isMessageComponentButtonInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v10.ts", + "line": 130, + "character": 16 + } + ], + "signatures": [ + { + "id": 413, + "name": "isMessageComponentButtonInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for button message component interactions", + "returns": "A boolean that indicates if the message component is a button\n" + }, + "parameters": [ + { + "id": 414, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The message component interaction to check against" + }, + "type": { + "type": "reference", + "id": 9377, + "name": "APIMessageComponentInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 9378, + "name": "APIMessageComponentButtonInteraction" + } + } + } + ] + }, + { + "id": 397, + "name": "isMessageComponentDMInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v10.ts", + "line": 75, + "character": 16 + } + ], + "signatures": [ + { + "id": 398, + "name": "isMessageComponentDMInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for DM message component interactions", + "returns": "A boolean that indicates if the message component interaction was received in a DM channel\n" + }, + "parameters": [ + { + "id": 399, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The message component interaction to check against" + }, + "type": { + "type": "reference", + "id": 9377, + "name": "APIMessageComponentInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 9390, + "name": "APIMessageComponentDMInteraction" + } + } + } + ] + }, + { + "id": 400, + "name": "isMessageComponentGuildInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v10.ts", + "line": 86, + "character": 16 + } + ], + "signatures": [ + { + "id": 401, + "name": "isMessageComponentGuildInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for guild message component interactions", + "returns": "A boolean that indicates if the message component interaction was received in a guild\n" + }, + "parameters": [ + { + "id": 402, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 9377, + "name": "APIMessageComponentInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 9391, + "name": "APIMessageComponentGuildInteraction" + } + } + } + ] + }, + { + "id": 409, + "name": "isMessageComponentInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v10.ts", + "line": 119, + "character": 16 + } + ], + "signatures": [ + { + "id": 410, + "name": "isMessageComponentInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for message component interactions", + "returns": "A boolean that indicates if the interaction is a message component\n" + }, + "parameters": [ + { + "id": 411, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 9140, + "name": "APIInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 9377, + "name": "APIMessageComponentInteraction" + } + } + } + ] + }, + { + "id": 415, + "name": "isMessageComponentSelectMenuInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v10.ts", + "line": 141, + "character": 16 + } + ], + "signatures": [ + { + "id": 416, + "name": "isMessageComponentSelectMenuInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for select menu message component interactions", + "returns": "A boolean that indicates if the message component is a select menu\n" + }, + "parameters": [ + { + "id": 417, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The message component interaction to check against" + }, + "type": { + "type": "reference", + "id": 9377, + "name": "APIMessageComponentInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 9379, + "name": "APIMessageComponentSelectMenuInteraction" + } + } + } + ] + } + ], + "groups": [ + { + "title": "Functions", + "kind": 64, + "children": [ + 391, + 394, + 418, + 421, + 385, + 388, + 406, + 403, + 412, + 397, + 400, + 409, + 415 + ] + } + ], + "sources": [ + { + "fileName": "utils/v10.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 319, + "name": "utils/v8", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 326, + "name": "isApplicationCommandDMInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v8.ts", + "line": 47, + "character": 16 + } + ], + "signatures": [ + { + "id": 327, + "name": "isApplicationCommandDMInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for DM application command interactions", + "returns": "A boolean that indicates if the application command interaction was received in a DM channel", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "parameters": [ + { + "id": 328, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The application command interaction to check against" + }, + "type": { + "type": "reference", + "id": 3387, + "name": "APIApplicationCommandInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 3388, + "name": "APIApplicationCommandDMInteraction" + } + } + } + ] + }, + { + "id": 329, + "name": "isApplicationCommandGuildInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v8.ts", + "line": 59, + "character": 16 + } + ], + "signatures": [ + { + "id": 330, + "name": "isApplicationCommandGuildInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for guild application command interactions", + "returns": "A boolean that indicates if the application command interaction was received in a guild", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "parameters": [ + { + "id": 331, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 3387, + "name": "APIApplicationCommandInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 3389, + "name": "APIApplicationCommandGuildInteraction" + } + } + } + ] + }, + { + "id": 320, + "name": "isDMInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v8.ts", + "line": 25, + "character": 16 + } + ], + "signatures": [ + { + "id": 321, + "name": "isDMInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for DM interactions", + "returns": "A boolean that indicates if the interaction was received in a DM channel", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "parameters": [ + { + "id": 322, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 3353, + "name": "APIInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 3354, + "name": "APIDMInteraction" + } + } + } + ] + }, + { + "id": 323, + "name": "isGuildInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v8.ts", + "line": 35, + "character": 16 + } + ], + "signatures": [ + { + "id": 324, + "name": "isGuildInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for guild interactions", + "returns": "A boolean that indicates if the interaction was received in a guild", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "parameters": [ + { + "id": 325, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 3353, + "name": "APIInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 3355, + "name": "APIGuildInteraction" + } + } + } + ] + }, + { + "id": 341, + "name": "isInteractionButton", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v8.ts", + "line": 109, + "character": 16 + } + ], + "signatures": [ + { + "id": 342, + "name": "isInteractionButton", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for buttons that have a `custom_id` attached to them.", + "returns": "A boolean that indicates if the button has a `custom_id` attached to it", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "parameters": [ + { + "id": 343, + "name": "component", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 2924, + "name": "APIButtonComponent" + } + } + ], + "type": { + "type": "predicate", + "name": "component", + "asserts": false, + "targetType": { + "type": "reference", + "id": 2910, + "name": "APIButtonComponentWithCustomId" + } + } + } + ] + }, + { + "id": 338, + "name": "isLinkButton", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v8.ts", + "line": 99, + "character": 16 + } + ], + "signatures": [ + { + "id": 339, + "name": "isLinkButton", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for buttons that have a `url` attached to them.", + "returns": "A boolean that indicates if the button has a `url` attached to it", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "parameters": [ + { + "id": 340, + "name": "component", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The button to check against" + }, + "type": { + "type": "reference", + "id": 2924, + "name": "APIButtonComponent" + } + } + ], + "type": { + "type": "predicate", + "name": "component", + "asserts": false, + "targetType": { + "type": "reference", + "id": 2917, + "name": "APIButtonComponentWithURL" + } + } + } + ] + }, + { + "id": 332, + "name": "isMessageComponentDMInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v8.ts", + "line": 73, + "character": 16 + } + ], + "signatures": [ + { + "id": 333, + "name": "isMessageComponentDMInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for DM message component interactions", + "returns": "A boolean that indicates if the message component interaction was received in a DM channel", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "parameters": [ + { + "id": 334, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The message component interaction to check against" + }, + "type": { + "type": "reference", + "id": 3561, + "name": "APIMessageComponentInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 3572, + "name": "APIMessageComponentDMInteraction" + } + } + } + ] + }, + { + "id": 335, + "name": "isMessageComponentGuildInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v8.ts", + "line": 85, + "character": 16 + } + ], + "signatures": [ + { + "id": 336, + "name": "isMessageComponentGuildInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for guild message component interactions", + "returns": "A boolean that indicates if the message component interaction was received in a guild", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "parameters": [ + { + "id": 337, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 3561, + "name": "APIMessageComponentInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 3573, + "name": "APIMessageComponentGuildInteraction" + } + } + } + ] + } + ], + "groups": [ + { + "title": "Functions", + "kind": 64, + "children": [ + 326, + 329, + 320, + 323, + 341, + 338, + 332, + 335 + ] + } + ], + "sources": [ + { + "fileName": "utils/v8.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 344, + "name": "utils/v9", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 351, + "name": "isApplicationCommandDMInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v9.ts", + "line": 51, + "character": 16 + } + ], + "signatures": [ + { + "id": 352, + "name": "isApplicationCommandDMInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for DM application command interactions", + "returns": "A boolean that indicates if the application command interaction was received in a DM channel\n" + }, + "parameters": [ + { + "id": 353, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The application command interaction to check against" + }, + "type": { + "type": "reference", + "id": 6240, + "name": "APIApplicationCommandInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 6241, + "name": "APIApplicationCommandDMInteraction" + } + } + } + ] + }, + { + "id": 354, + "name": "isApplicationCommandGuildInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v9.ts", + "line": 62, + "character": 16 + } + ], + "signatures": [ + { + "id": 355, + "name": "isApplicationCommandGuildInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for guild application command interactions", + "returns": "A boolean that indicates if the application command interaction was received in a guild\n" + }, + "parameters": [ + { + "id": 356, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 6240, + "name": "APIApplicationCommandInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 6242, + "name": "APIApplicationCommandGuildInteraction" + } + } + } + ] + }, + { + "id": 378, + "name": "isChatInputApplicationCommandInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v9.ts", + "line": 154, + "character": 16 + } + ], + "signatures": [ + { + "id": 379, + "name": "isChatInputApplicationCommandInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for chat input application commands.", + "returns": "A boolean that indicates if the interaction is a chat input application command\n" + }, + "parameters": [ + { + "id": 380, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 6240, + "name": "APIApplicationCommandInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 6260, + "name": "APIChatInputApplicationCommandInteraction" + } + } + } + ] + }, + { + "id": 381, + "name": "isContextMenuApplicationCommandInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v9.ts", + "line": 165, + "character": 16 + } + ], + "signatures": [ + { + "id": 382, + "name": "isContextMenuApplicationCommandInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for context menu application commands.", + "returns": "A boolean that indicates if the interaction is a context menu application command\n" + }, + "parameters": [ + { + "id": 383, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 6240, + "name": "APIApplicationCommandInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 6367, + "name": "APIContextMenuInteraction" + } + } + } + ] + }, + { + "id": 345, + "name": "isDMInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v9.ts", + "line": 31, + "character": 16 + } + ], + "signatures": [ + { + "id": 346, + "name": "isDMInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for DM interactions", + "returns": "A boolean that indicates if the interaction was received in a DM channel\n" + }, + "parameters": [ + { + "id": 347, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 6198, + "name": "APIInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 6199, + "name": "APIDMInteraction" + } + } + } + ] + }, + { + "id": 348, + "name": "isGuildInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v9.ts", + "line": 40, + "character": 16 + } + ], + "signatures": [ + { + "id": 349, + "name": "isGuildInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for guild interactions", + "returns": "A boolean that indicates if the interaction was received in a guild\n" + }, + "parameters": [ + { + "id": 350, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 6198, + "name": "APIInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 6200, + "name": "APIGuildInteraction" + } + } + } + ] + }, + { + "id": 366, + "name": "isInteractionButton", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v9.ts", + "line": 108, + "character": 16 + } + ], + "signatures": [ + { + "id": 367, + "name": "isInteractionButton", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for buttons that have a `custom_id` attached to them.", + "returns": "A boolean that indicates if the button has a `custom_id` attached to it\n" + }, + "parameters": [ + { + "id": 368, + "name": "component", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 5755, + "name": "APIButtonComponent" + } + } + ], + "type": { + "type": "predicate", + "name": "component", + "asserts": false, + "targetType": { + "type": "reference", + "id": 5741, + "name": "APIButtonComponentWithCustomId" + } + } + } + ] + }, + { + "id": 363, + "name": "isLinkButton", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v9.ts", + "line": 99, + "character": 16 + } + ], + "signatures": [ + { + "id": 364, + "name": "isLinkButton", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for buttons that have a `url` attached to them.", + "returns": "A boolean that indicates if the button has a `url` attached to it\n" + }, + "parameters": [ + { + "id": 365, + "name": "component", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The button to check against" + }, + "type": { + "type": "reference", + "id": 5755, + "name": "APIButtonComponent" + } + } + ], + "type": { + "type": "predicate", + "name": "component", + "asserts": false, + "targetType": { + "type": "reference", + "id": 5748, + "name": "APIButtonComponentWithURL" + } + } + } + ] + }, + { + "id": 372, + "name": "isMessageComponentButtonInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v9.ts", + "line": 130, + "character": 16 + } + ], + "signatures": [ + { + "id": 373, + "name": "isMessageComponentButtonInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for button message component interactions", + "returns": "A boolean that indicates if the message component is a button\n" + }, + "parameters": [ + { + "id": 374, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The message component interaction to check against" + }, + "type": { + "type": "reference", + "id": 6435, + "name": "APIMessageComponentInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 6436, + "name": "APIMessageComponentButtonInteraction" + } + } + } + ] + }, + { + "id": 357, + "name": "isMessageComponentDMInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v9.ts", + "line": 75, + "character": 16 + } + ], + "signatures": [ + { + "id": 358, + "name": "isMessageComponentDMInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for DM message component interactions", + "returns": "A boolean that indicates if the message component interaction was received in a DM channel\n" + }, + "parameters": [ + { + "id": 359, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The message component interaction to check against" + }, + "type": { + "type": "reference", + "id": 6435, + "name": "APIMessageComponentInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 6448, + "name": "APIMessageComponentDMInteraction" + } + } + } + ] + }, + { + "id": 360, + "name": "isMessageComponentGuildInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v9.ts", + "line": 86, + "character": 16 + } + ], + "signatures": [ + { + "id": 361, + "name": "isMessageComponentGuildInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for guild message component interactions", + "returns": "A boolean that indicates if the message component interaction was received in a guild\n" + }, + "parameters": [ + { + "id": 362, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 6435, + "name": "APIMessageComponentInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 6449, + "name": "APIMessageComponentGuildInteraction" + } + } + } + ] + }, + { + "id": 369, + "name": "isMessageComponentInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v9.ts", + "line": 119, + "character": 16 + } + ], + "signatures": [ + { + "id": 370, + "name": "isMessageComponentInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for message component interactions", + "returns": "A boolean that indicates if the interaction is a message component\n" + }, + "parameters": [ + { + "id": 371, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The interaction to check against" + }, + "type": { + "type": "reference", + "id": 6198, + "name": "APIInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 6435, + "name": "APIMessageComponentInteraction" + } + } + } + ] + }, + { + "id": 375, + "name": "isMessageComponentSelectMenuInteraction", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "utils/v9.ts", + "line": 141, + "character": 16 + } + ], + "signatures": [ + { + "id": 376, + "name": "isMessageComponentSelectMenuInteraction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A type-guard check for select menu message component interactions", + "returns": "A boolean that indicates if the message component is a select menu\n" + }, + "parameters": [ + { + "id": 377, + "name": "interaction", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The message component interaction to check against" + }, + "type": { + "type": "reference", + "id": 6435, + "name": "APIMessageComponentInteraction" + } + } + ], + "type": { + "type": "predicate", + "name": "interaction", + "asserts": false, + "targetType": { + "type": "reference", + "id": 6437, + "name": "APIMessageComponentSelectMenuInteraction" + } + } + } + ] + } + ], + "groups": [ + { + "title": "Functions", + "kind": 64, + "children": [ + 351, + 354, + 378, + 381, + 345, + 348, + 366, + 363, + 372, + 357, + 360, + 369, + 375 + ] + } + ], + "sources": [ + { + "fileName": "utils/v9.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 287, + "name": "v10", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 8155, + "name": "FormattingPatterns", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 4 + }, + { + "id": 8152, + "name": "GatewayURLQuery", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 18 + }, + { + "id": 10006, + "name": "Locale", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 227 + }, + { + "id": 10007, + "name": "LocaleString", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 258 + }, + { + "id": 8157, + "name": "LocalizationMap", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 66 + }, + { + "id": 8156, + "name": "PermissionFlagsBits", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 23 + }, + { + "id": 10005, + "name": "RESTJSONErrorCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 68 + }, + { + "id": 10660, + "name": "RPCCloseEventCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 277 + }, + { + "id": 10659, + "name": "RPCErrorCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 260 + }, + { + "id": 8153, + "name": "Snowflake", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 2 + }, + { + "id": 7723, + "name": "Utils", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "sources": [ + { + "fileName": "v10.ts", + "line": 6, + "character": 12 + } + ], + "target": 384 + }, + { + "id": 8823, + "name": "ActivityFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-flags" + }, + "children": [ + { + "id": 8832, + "name": "Embedded", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 325, + "character": 1 + } + ], + "defaultValue": "256" + }, + { + "id": 8824, + "name": "Instance", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 317, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8825, + "name": "Join", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 318, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 8827, + "name": "JoinRequest", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 320, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 8830, + "name": "PartyPrivacyFriends", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 323, + "character": 1 + } + ], + "defaultValue": "64" + }, + { + "id": 8831, + "name": "PartyPrivacyVoiceChannel", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 324, + "character": 1 + } + ], + "defaultValue": "128" + }, + { + "id": 8829, + "name": "Play", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 322, + "character": 1 + } + ], + "defaultValue": "32" + }, + { + "id": 8826, + "name": "Spectate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 319, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 8828, + "name": "Sync", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 321, + "character": 1 + } + ], + "defaultValue": "16" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8832, + 8824, + 8825, + 8827, + 8830, + 8831, + 8829, + 8826, + 8828 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 316, + "character": 12 + } + ] + }, + { + "id": 8798, + "name": "ActivityPlatform", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "unstable", + "text": "This enum is currently not documented by Discord but has known values which we will try to keep up to date.\nValues might be added or removed without a major version bump.\n" + } + ] + }, + "children": [ + { + "id": 8803, + "name": "Android", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 232, + "character": 1 + } + ], + "defaultValue": "\"android\"" + }, + { + "id": 8799, + "name": "Desktop", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 228, + "character": 1 + } + ], + "defaultValue": "\"desktop\"" + }, + { + "id": 8804, + "name": "Embedded", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 233, + "character": 1 + } + ], + "defaultValue": "\"embedded\"" + }, + { + "id": 8802, + "name": "IOS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 231, + "character": 1 + } + ], + "defaultValue": "\"ios\"" + }, + { + "id": 8805, + "name": "PS4", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 234, + "character": 1 + } + ], + "defaultValue": "\"ps4\"" + }, + { + "id": 8806, + "name": "PS5", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 235, + "character": 1 + } + ], + "defaultValue": "\"ps5\"" + }, + { + "id": 8801, + "name": "Samsung", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 230, + "character": 1 + } + ], + "defaultValue": "\"samsung\"" + }, + { + "id": 8800, + "name": "Xbox", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 229, + "character": 1 + } + ], + "defaultValue": "\"xbox\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8803, + 8799, + 8804, + 8802, + 8805, + 8806, + 8801, + 8800 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 227, + "character": 12 + } + ] + }, + { + "id": 8807, + "name": "ActivityType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-types" + }, + "children": [ + { + "id": 8813, + "name": "Competing", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Competing in {name}" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 265, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 8812, + "name": "Custom", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "{emoji} {details}" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 261, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 8810, + "name": "Listening", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Listening to {name}" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 253, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 8808, + "name": "Playing", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Playing {game}" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 245, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 8809, + "name": "Streaming", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Streaming {details}" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 249, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8811, + "name": "Watching", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Watching {details}" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 257, + "character": 1 + } + ], + "defaultValue": "3" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8813, + 8812, + 8810, + 8808, + 8809, + 8811 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 241, + "character": 12 + } + ] + }, + { + "id": 8651, + "name": "AllowedMentionsTypes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mention-types" + }, + "children": [ + { + "id": 8652, + "name": "Everyone", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Controls @everyone and @here mentions" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1111, + "character": 1 + } + ], + "defaultValue": "\"everyone\"" + }, + { + "id": 8653, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Controls role mentions" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1115, + "character": 1 + } + ], + "defaultValue": "\"roles\"" + }, + { + "id": 8654, + "name": "User", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Controls user mentions" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1119, + "character": 1 + } + ], + "defaultValue": "\"users\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8652, + 8653, + 8654 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1107, + "character": 12 + } + ] + }, + { + "id": 9234, + "name": "ApplicationCommandOptionType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-type" + }, + "children": [ + { + "id": 9245, + "name": "Attachment", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 17, + "character": 1 + } + ], + "defaultValue": "11" + }, + { + "id": 9239, + "name": "Boolean", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 11, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 9241, + "name": "Channel", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 13, + "character": 1 + } + ], + "defaultValue": "7" + }, + { + "id": 9238, + "name": "Integer", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 10, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 9243, + "name": "Mentionable", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 15, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 9244, + "name": "Number", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 16, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 9242, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 14, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 9237, + "name": "String", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 9, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 9235, + "name": "Subcommand", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 7, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 9236, + "name": "SubcommandGroup", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 8, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 9240, + "name": "User", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 12, + "character": 1 + } + ], + "defaultValue": "6" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9245, + 9239, + 9241, + 9238, + 9243, + 9244, + 9242, + 9237, + 9235, + 9236, + 9240 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 6, + "character": 12 + } + ] + }, + { + "id": 9321, + "name": "ApplicationCommandPermissionType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-application-command-permission-type" + }, + "children": [ + { + "id": 9324, + "name": "Channel", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 49, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 9322, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 47, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 9323, + "name": "User", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 48, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9324, + 9322, + 9323 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 46, + "character": 12 + } + ] + }, + { + "id": 9159, + "name": "ApplicationCommandType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-types" + }, + "children": [ + { + "id": 9160, + "name": "ChatInput", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 98, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 9162, + "name": "Message", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 100, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 9161, + "name": "User", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 99, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9160, + 9162, + 9161 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 97, + "character": 12 + } + ] + }, + { + "id": 8183, + "name": "ApplicationFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/application#application-object-application-flags" + }, + "children": [ + { + "id": 8193, + "name": "Embedded", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 128, + "character": 1 + } + ], + "defaultValue": "131072" + }, + { + "id": 8196, + "name": "EmbeddedFirstParty", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 131, + "character": 1 + } + ], + "defaultValue": "1048576" + }, + { + "id": 8184, + "name": "EmbeddedReleased", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 119, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 8190, + "name": "GatewayGuildMembers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 125, + "character": 1 + } + ], + "defaultValue": "16384" + }, + { + "id": 8191, + "name": "GatewayGuildMembersLimited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 126, + "character": 1 + } + ], + "defaultValue": "32768" + }, + { + "id": 8194, + "name": "GatewayMessageContent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 129, + "character": 1 + } + ], + "defaultValue": "262144" + }, + { + "id": 8195, + "name": "GatewayMessageContentLimited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 130, + "character": 1 + } + ], + "defaultValue": "524288" + }, + { + "id": 8188, + "name": "GatewayPresence", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 123, + "character": 1 + } + ], + "defaultValue": "4096" + }, + { + "id": 8189, + "name": "GatewayPresenceLimited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 124, + "character": 1 + } + ], + "defaultValue": "8192" + }, + { + "id": 8186, + "name": "GroupDMCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 121, + "character": 1 + } + ], + "defaultValue": "16" + }, + { + "id": 8185, + "name": "ManagedEmoji", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 120, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 8187, + "name": "RPCHasConnected", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 122, + "character": 1 + } + ], + "defaultValue": "2048" + }, + { + "id": 8192, + "name": "VerificationPendingGuildLimit", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 127, + "character": 1 + } + ], + "defaultValue": "65536" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8193, + 8196, + 8184, + 8190, + 8191, + 8194, + 8195, + 8188, + 8189, + 8186, + 8185, + 8187, + 8192 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 118, + "character": 12 + } + ] + }, + { + "id": 8213, + "name": "AuditLogEvent", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events" + }, + "children": [ + { + "id": 8261, + "name": "ApplicationCommandPermissionUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 182, + "character": 1 + } + ], + "defaultValue": "121" + }, + { + "id": 8229, + "name": "BotAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 140, + "character": 1 + } + ], + "defaultValue": "28" + }, + { + "id": 8215, + "name": "ChannelCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 125, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 8217, + "name": "ChannelDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 127, + "character": 1 + } + ], + "defaultValue": "12" + }, + { + "id": 8218, + "name": "ChannelOverwriteCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 128, + "character": 1 + } + ], + "defaultValue": "13" + }, + { + "id": 8220, + "name": "ChannelOverwriteDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 130, + "character": 1 + } + ], + "defaultValue": "15" + }, + { + "id": 8219, + "name": "ChannelOverwriteUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 129, + "character": 1 + } + ], + "defaultValue": "14" + }, + { + "id": 8216, + "name": "ChannelUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 126, + "character": 1 + } + ], + "defaultValue": "11" + }, + { + "id": 8239, + "name": "EmojiCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 154, + "character": 1 + } + ], + "defaultValue": "60" + }, + { + "id": 8241, + "name": "EmojiDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 156, + "character": 1 + } + ], + "defaultValue": "62" + }, + { + "id": 8240, + "name": "EmojiUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 155, + "character": 1 + } + ], + "defaultValue": "61" + }, + { + "id": 8255, + "name": "GuildScheduledEventCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 174, + "character": 1 + } + ], + "defaultValue": "100" + }, + { + "id": 8257, + "name": "GuildScheduledEventDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 176, + "character": 1 + } + ], + "defaultValue": "102" + }, + { + "id": 8256, + "name": "GuildScheduledEventUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 175, + "character": 1 + } + ], + "defaultValue": "101" + }, + { + "id": 8214, + "name": "GuildUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 123, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8246, + "name": "IntegrationCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 163, + "character": 1 + } + ], + "defaultValue": "80" + }, + { + "id": 8248, + "name": "IntegrationDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 165, + "character": 1 + } + ], + "defaultValue": "82" + }, + { + "id": 8247, + "name": "IntegrationUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 164, + "character": 1 + } + ], + "defaultValue": "81" + }, + { + "id": 8233, + "name": "InviteCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 146, + "character": 1 + } + ], + "defaultValue": "40" + }, + { + "id": 8235, + "name": "InviteDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 148, + "character": 1 + } + ], + "defaultValue": "42" + }, + { + "id": 8234, + "name": "InviteUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 147, + "character": 1 + } + ], + "defaultValue": "41" + }, + { + "id": 8223, + "name": "MemberBanAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 134, + "character": 1 + } + ], + "defaultValue": "22" + }, + { + "id": 8224, + "name": "MemberBanRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 135, + "character": 1 + } + ], + "defaultValue": "23" + }, + { + "id": 8228, + "name": "MemberDisconnect", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 139, + "character": 1 + } + ], + "defaultValue": "27" + }, + { + "id": 8221, + "name": "MemberKick", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 132, + "character": 1 + } + ], + "defaultValue": "20" + }, + { + "id": 8227, + "name": "MemberMove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 138, + "character": 1 + } + ], + "defaultValue": "26" + }, + { + "id": 8222, + "name": "MemberPrune", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 133, + "character": 1 + } + ], + "defaultValue": "21" + }, + { + "id": 8226, + "name": "MemberRoleUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 137, + "character": 1 + } + ], + "defaultValue": "25" + }, + { + "id": 8225, + "name": "MemberUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 136, + "character": 1 + } + ], + "defaultValue": "24" + }, + { + "id": 8243, + "name": "MessageBulkDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 159, + "character": 1 + } + ], + "defaultValue": "73" + }, + { + "id": 8242, + "name": "MessageDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 158, + "character": 1 + } + ], + "defaultValue": "72" + }, + { + "id": 8244, + "name": "MessagePin", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 160, + "character": 1 + } + ], + "defaultValue": "74" + }, + { + "id": 8245, + "name": "MessageUnpin", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 161, + "character": 1 + } + ], + "defaultValue": "75" + }, + { + "id": 8230, + "name": "RoleCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 142, + "character": 1 + } + ], + "defaultValue": "30" + }, + { + "id": 8232, + "name": "RoleDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 144, + "character": 1 + } + ], + "defaultValue": "32" + }, + { + "id": 8231, + "name": "RoleUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 143, + "character": 1 + } + ], + "defaultValue": "31" + }, + { + "id": 8249, + "name": "StageInstanceCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 166, + "character": 1 + } + ], + "defaultValue": "83" + }, + { + "id": 8251, + "name": "StageInstanceDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 168, + "character": 1 + } + ], + "defaultValue": "85" + }, + { + "id": 8250, + "name": "StageInstanceUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 167, + "character": 1 + } + ], + "defaultValue": "84" + }, + { + "id": 8252, + "name": "StickerCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 170, + "character": 1 + } + ], + "defaultValue": "90" + }, + { + "id": 8254, + "name": "StickerDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 172, + "character": 1 + } + ], + "defaultValue": "92" + }, + { + "id": 8253, + "name": "StickerUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 171, + "character": 1 + } + ], + "defaultValue": "91" + }, + { + "id": 8258, + "name": "ThreadCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 178, + "character": 1 + } + ], + "defaultValue": "110" + }, + { + "id": 8260, + "name": "ThreadDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 180, + "character": 1 + } + ], + "defaultValue": "112" + }, + { + "id": 8259, + "name": "ThreadUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 179, + "character": 1 + } + ], + "defaultValue": "111" + }, + { + "id": 8236, + "name": "WebhookCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 150, + "character": 1 + } + ], + "defaultValue": "50" + }, + { + "id": 8238, + "name": "WebhookDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 152, + "character": 1 + } + ], + "defaultValue": "52" + }, + { + "id": 8237, + "name": "WebhookUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 151, + "character": 1 + } + ], + "defaultValue": "51" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8261, + 8229, + 8215, + 8217, + 8218, + 8220, + 8219, + 8216, + 8239, + 8241, + 8240, + 8255, + 8257, + 8256, + 8214, + 8246, + 8248, + 8247, + 8233, + 8235, + 8234, + 8223, + 8224, + 8228, + 8221, + 8227, + 8222, + 8226, + 8225, + 8243, + 8242, + 8244, + 8245, + 8230, + 8232, + 8231, + 8249, + 8251, + 8250, + 8252, + 8254, + 8253, + 8258, + 8260, + 8259, + 8236, + 8238, + 8237 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 122, + "character": 12 + } + ] + }, + { + "id": 8271, + "name": "AuditLogOptionsType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 8273, + "name": "Member", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 275, + "character": 1 + } + ], + "defaultValue": "\"1\"" + }, + { + "id": 8272, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 274, + "character": 1 + } + ], + "defaultValue": "\"0\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8273, + 8272 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 273, + "character": 12 + } + ] + }, + { + "id": 8698, + "name": "ButtonStyle", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#button-object-button-styles" + }, + "children": [ + { + "id": 8702, + "name": "Danger", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1254, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 8703, + "name": "Link", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1255, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 8699, + "name": "Primary", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1251, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8700, + "name": "Secondary", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1252, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 8701, + "name": "Success", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1253, + "character": 1 + } + ], + "defaultValue": "3" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8702, + 8703, + 8699, + 8700, + 8701 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1250, + "character": 12 + } + ] + }, + { + "id": 8731, + "name": "ChannelFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-object-channel-flags" + }, + "children": [ + { + "id": 8732, + "name": "Pinned", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1370, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8732 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1369, + "character": 12 + } + ] + }, + { + "id": 8452, + "name": "ChannelType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-object-channel-types" + }, + "children": [ + { + "id": 8454, + "name": "DM", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A direct message between users" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 255, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8456, + "name": "GroupDM", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A direct message between multiple users" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 263, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 8457, + "name": "GuildCategory", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "An organizational category that contains up to 50 channels", + "text": "See https://support.discord.com/hc/en-us/articles/115001580171-Channel-Categories-101\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 269, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 8463, + "name": "GuildDirectory", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The channel in a Student Hub containing the listed servers", + "text": "See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 299, + "character": 1 + } + ], + "defaultValue": "14" + }, + { + "id": 8464, + "name": "GuildForum", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A channel that can only contain threads" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 303, + "character": 1 + } + ], + "defaultValue": "15" + }, + { + "id": 8458, + "name": "GuildNews", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A channel that users can follow and crosspost into their own guild", + "text": "See https://support.discord.com/hc/en-us/articles/360032008192\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 275, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 8459, + "name": "GuildNewsThread", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A thread channel (public) within a Guild News channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 279, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 8461, + "name": "GuildPrivateThread", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A private thread channel within a Guild Text channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 287, + "character": 1 + } + ], + "defaultValue": "12" + }, + { + "id": 8460, + "name": "GuildPublicThread", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A public thread channel within a Guild Text channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 283, + "character": 1 + } + ], + "defaultValue": "11" + }, + { + "id": 8462, + "name": "GuildStageVoice", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A voice channel for hosting events with an audience", + "text": "See https://support.discord.com/hc/en-us/articles/1500005513722\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 293, + "character": 1 + } + ], + "defaultValue": "13" + }, + { + "id": 8453, + "name": "GuildText", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A text channel within a guild" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 251, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 8455, + "name": "GuildVoice", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A voice channel within a guild" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 259, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8454, + 8456, + 8457, + 8463, + 8464, + 8458, + 8459, + 8461, + 8460, + 8462, + 8453, + 8455 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 247, + "character": 12 + } + ] + }, + { + "id": 8663, + "name": "ComponentType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#component-types" + }, + "children": [ + { + "id": 8664, + "name": "ActionRow", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Action Row component" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1165, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8665, + "name": "Button", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Button component" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1169, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 8666, + "name": "SelectMenu", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Select Menu component" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1173, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 8667, + "name": "TextInput", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Text Input component" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1177, + "character": 1 + } + ], + "defaultValue": "4" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8664, + 8665, + 8666, + 8667 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1161, + "character": 12 + } + ] + }, + { + "id": 9658, + "name": "ConnectionVisibility", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 9660, + "name": "Everyone", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Visible to everyone" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 213, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 9659, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Invisible to everyone except the user themselves" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 209, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9660, + 9659 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 205, + "character": 12 + } + ] + }, + { + "id": 8598, + "name": "EmbedType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-types", + "tags": [ + { + "tag": "deprecated", + "text": "*Embed types should be considered deprecated and might be removed in a future API version*\n" + } + ] + }, + "children": [ + { + "id": 8603, + "name": "Article", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Article embed" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 883, + "character": 1 + } + ], + "defaultValue": "\"article\"" + }, + { + "id": 8602, + "name": "GIFV", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Animated gif image embed rendered as a video embed" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 879, + "character": 1 + } + ], + "defaultValue": "\"gifv\"" + }, + { + "id": 8600, + "name": "Image", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Image embed" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 871, + "character": 1 + } + ], + "defaultValue": "\"image\"" + }, + { + "id": 8604, + "name": "Link", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Link embed" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 887, + "character": 1 + } + ], + "defaultValue": "\"link\"" + }, + { + "id": 8599, + "name": "Rich", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Generic embed rendered from embed attributes" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 867, + "character": 1 + } + ], + "defaultValue": "\"rich\"" + }, + { + "id": 8601, + "name": "Video", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Video embed" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 875, + "character": 1 + } + ], + "defaultValue": "\"video\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8603, + 8602, + 8600, + 8604, + 8599, + 8601 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 863, + "character": 12 + } + ] + }, + { + "id": 7737, + "name": "GatewayCloseCodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes" + }, + "children": [ + { + "id": 7743, + "name": "AlreadyAuthenticated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent more than one identify payload. Don't do that!" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 124, + "character": 1 + } + ], + "defaultValue": "4005" + }, + { + "id": 7742, + "name": "AuthenticationFailed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The account token sent with your identify payload is incorrect", + "text": "See https://discord.com/developers/docs/topics/gateway#identify\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 120, + "character": 1 + } + ], + "defaultValue": "4004" + }, + { + "id": 7740, + "name": "DecodeError", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent an invalid payload to us. Don't do that!", + "text": "See https://discord.com/developers/docs/topics/gateway#sending-payloads\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 108, + "character": 1 + } + ], + "defaultValue": "4002" + }, + { + "id": 7751, + "name": "DisallowedIntents", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent a disallowed intent for a Gateway Intent. You may have tried to specify an intent that you have not\nenabled or are not whitelisted for", + "text": "See https://discord.com/developers/docs/topics/gateway#gateway-intents\n\nSee https://discord.com/developers/docs/topics/gateway#privileged-intents\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 169, + "character": 1 + } + ], + "defaultValue": "4014" + }, + { + "id": 7749, + "name": "InvalidAPIVersion", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent an invalid version for the gateway" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 154, + "character": 1 + } + ], + "defaultValue": "4012" + }, + { + "id": 7750, + "name": "InvalidIntents", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent an invalid intent for a Gateway Intent. You may have incorrectly calculated the bitwise value", + "text": "See https://discord.com/developers/docs/topics/gateway#gateway-intents\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 160, + "character": 1 + } + ], + "defaultValue": "4013" + }, + { + "id": 7744, + "name": "InvalidSeq", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The sequence sent when resuming the session was invalid. Reconnect and start a new session", + "text": "See https://discord.com/developers/docs/topics/gateway#resume\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 130, + "character": 1 + } + ], + "defaultValue": "4007" + }, + { + "id": 7747, + "name": "InvalidShard", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent us an invalid shard when identifying", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 144, + "character": 1 + } + ], + "defaultValue": "4010" + }, + { + "id": 7741, + "name": "NotAuthenticated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent us a payload prior to identifying", + "text": "See https://discord.com/developers/docs/topics/gateway#identify\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 114, + "character": 1 + } + ], + "defaultValue": "4003" + }, + { + "id": 7745, + "name": "RateLimited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Woah nelly! You're sending payloads to us too quickly. Slow it down! You will be disconnected on receiving this" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 134, + "character": 1 + } + ], + "defaultValue": "4008" + }, + { + "id": 7746, + "name": "SessionTimedOut", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Your session timed out. Reconnect and start a new one" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 138, + "character": 1 + } + ], + "defaultValue": "4009" + }, + { + "id": 7748, + "name": "ShardingRequired", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The session would have handled too many guilds - you are required to shard your connection in order to connect", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 150, + "character": 1 + } + ], + "defaultValue": "4011" + }, + { + "id": 7738, + "name": "UnknownError", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "We're not sure what went wrong. Try reconnecting?" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 96, + "character": 1 + } + ], + "defaultValue": "4000" + }, + { + "id": 7739, + "name": "UnknownOpcode", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent an invalid Gateway opcode or an invalid payload for an opcode. Don't do that!", + "text": "See https://discord.com/developers/docs/topics/gateway#payloads-and-opcodes\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 102, + "character": 1 + } + ], + "defaultValue": "4001" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 7743, + 7742, + 7740, + 7751, + 7749, + 7750, + 7744, + 7747, + 7741, + 7745, + 7746, + 7748, + 7738, + 7739 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 92, + "character": 12 + } + ] + }, + { + "id": 7770, + "name": "GatewayDispatchEvents", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#commands-and-events-gateway-events" + }, + "children": [ + { + "id": 7771, + "name": "ApplicationCommandPermissionsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 199, + "character": 1 + } + ], + "defaultValue": "\"APPLICATION_COMMAND_PERMISSIONS_UPDATE\"" + }, + { + "id": 7772, + "name": "ChannelCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 200, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_CREATE\"" + }, + { + "id": 7773, + "name": "ChannelDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 201, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_DELETE\"" + }, + { + "id": 7774, + "name": "ChannelPinsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 202, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_PINS_UPDATE\"" + }, + { + "id": 7775, + "name": "ChannelUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 203, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_UPDATE\"" + }, + { + "id": 7776, + "name": "GuildBanAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 204, + "character": 1 + } + ], + "defaultValue": "\"GUILD_BAN_ADD\"" + }, + { + "id": 7777, + "name": "GuildBanRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 205, + "character": 1 + } + ], + "defaultValue": "\"GUILD_BAN_REMOVE\"" + }, + { + "id": 7778, + "name": "GuildCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 206, + "character": 1 + } + ], + "defaultValue": "\"GUILD_CREATE\"" + }, + { + "id": 7779, + "name": "GuildDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 207, + "character": 1 + } + ], + "defaultValue": "\"GUILD_DELETE\"" + }, + { + "id": 7780, + "name": "GuildEmojisUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 208, + "character": 1 + } + ], + "defaultValue": "\"GUILD_EMOJIS_UPDATE\"" + }, + { + "id": 7781, + "name": "GuildIntegrationsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 209, + "character": 1 + } + ], + "defaultValue": "\"GUILD_INTEGRATIONS_UPDATE\"" + }, + { + "id": 7782, + "name": "GuildMemberAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 210, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBER_ADD\"" + }, + { + "id": 7783, + "name": "GuildMemberRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 211, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBER_REMOVE\"" + }, + { + "id": 7785, + "name": "GuildMemberUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 213, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBER_UPDATE\"" + }, + { + "id": 7784, + "name": "GuildMembersChunk", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 212, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBERS_CHUNK\"" + }, + { + "id": 7786, + "name": "GuildRoleCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 214, + "character": 1 + } + ], + "defaultValue": "\"GUILD_ROLE_CREATE\"" + }, + { + "id": 7787, + "name": "GuildRoleDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 215, + "character": 1 + } + ], + "defaultValue": "\"GUILD_ROLE_DELETE\"" + }, + { + "id": 7788, + "name": "GuildRoleUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 216, + "character": 1 + } + ], + "defaultValue": "\"GUILD_ROLE_UPDATE\"" + }, + { + "id": 7822, + "name": "GuildScheduledEventCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 250, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_CREATE\"" + }, + { + "id": 7824, + "name": "GuildScheduledEventDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 252, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_DELETE\"" + }, + { + "id": 7823, + "name": "GuildScheduledEventUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 251, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_UPDATE\"" + }, + { + "id": 7825, + "name": "GuildScheduledEventUserAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 253, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_USER_ADD\"" + }, + { + "id": 7826, + "name": "GuildScheduledEventUserRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 254, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_USER_REMOVE\"" + }, + { + "id": 7789, + "name": "GuildStickersUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 217, + "character": 1 + } + ], + "defaultValue": "\"GUILD_STICKERS_UPDATE\"" + }, + { + "id": 7790, + "name": "GuildUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 218, + "character": 1 + } + ], + "defaultValue": "\"GUILD_UPDATE\"" + }, + { + "id": 7791, + "name": "IntegrationCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 219, + "character": 1 + } + ], + "defaultValue": "\"INTEGRATION_CREATE\"" + }, + { + "id": 7792, + "name": "IntegrationDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 220, + "character": 1 + } + ], + "defaultValue": "\"INTEGRATION_DELETE\"" + }, + { + "id": 7793, + "name": "IntegrationUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 221, + "character": 1 + } + ], + "defaultValue": "\"INTEGRATION_UPDATE\"" + }, + { + "id": 7794, + "name": "InteractionCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 222, + "character": 1 + } + ], + "defaultValue": "\"INTERACTION_CREATE\"" + }, + { + "id": 7795, + "name": "InviteCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 223, + "character": 1 + } + ], + "defaultValue": "\"INVITE_CREATE\"" + }, + { + "id": 7796, + "name": "InviteDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 224, + "character": 1 + } + ], + "defaultValue": "\"INVITE_DELETE\"" + }, + { + "id": 7797, + "name": "MessageCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 225, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_CREATE\"" + }, + { + "id": 7798, + "name": "MessageDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 226, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_DELETE\"" + }, + { + "id": 7799, + "name": "MessageDeleteBulk", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 227, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_DELETE_BULK\"" + }, + { + "id": 7800, + "name": "MessageReactionAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 228, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_ADD\"" + }, + { + "id": 7801, + "name": "MessageReactionRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 229, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_REMOVE\"" + }, + { + "id": 7802, + "name": "MessageReactionRemoveAll", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 230, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_REMOVE_ALL\"" + }, + { + "id": 7803, + "name": "MessageReactionRemoveEmoji", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 231, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_REMOVE_EMOJI\"" + }, + { + "id": 7804, + "name": "MessageUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 232, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_UPDATE\"" + }, + { + "id": 7805, + "name": "PresenceUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 233, + "character": 1 + } + ], + "defaultValue": "\"PRESENCE_UPDATE\"" + }, + { + "id": 7809, + "name": "Ready", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 237, + "character": 1 + } + ], + "defaultValue": "\"READY\"" + }, + { + "id": 7810, + "name": "Resumed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 238, + "character": 1 + } + ], + "defaultValue": "\"RESUMED\"" + }, + { + "id": 7806, + "name": "StageInstanceCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 234, + "character": 1 + } + ], + "defaultValue": "\"STAGE_INSTANCE_CREATE\"" + }, + { + "id": 7807, + "name": "StageInstanceDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 235, + "character": 1 + } + ], + "defaultValue": "\"STAGE_INSTANCE_DELETE\"" + }, + { + "id": 7808, + "name": "StageInstanceUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 236, + "character": 1 + } + ], + "defaultValue": "\"STAGE_INSTANCE_UPDATE\"" + }, + { + "id": 7811, + "name": "ThreadCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 239, + "character": 1 + } + ], + "defaultValue": "\"THREAD_CREATE\"" + }, + { + "id": 7812, + "name": "ThreadDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 240, + "character": 1 + } + ], + "defaultValue": "\"THREAD_DELETE\"" + }, + { + "id": 7813, + "name": "ThreadListSync", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 241, + "character": 1 + } + ], + "defaultValue": "\"THREAD_LIST_SYNC\"" + }, + { + "id": 7815, + "name": "ThreadMemberUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 243, + "character": 1 + } + ], + "defaultValue": "\"THREAD_MEMBER_UPDATE\"" + }, + { + "id": 7814, + "name": "ThreadMembersUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 242, + "character": 1 + } + ], + "defaultValue": "\"THREAD_MEMBERS_UPDATE\"" + }, + { + "id": 7816, + "name": "ThreadUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 244, + "character": 1 + } + ], + "defaultValue": "\"THREAD_UPDATE\"" + }, + { + "id": 7817, + "name": "TypingStart", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 245, + "character": 1 + } + ], + "defaultValue": "\"TYPING_START\"" + }, + { + "id": 7818, + "name": "UserUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 246, + "character": 1 + } + ], + "defaultValue": "\"USER_UPDATE\"" + }, + { + "id": 7819, + "name": "VoiceServerUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 247, + "character": 1 + } + ], + "defaultValue": "\"VOICE_SERVER_UPDATE\"" + }, + { + "id": 7820, + "name": "VoiceStateUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 248, + "character": 1 + } + ], + "defaultValue": "\"VOICE_STATE_UPDATE\"" + }, + { + "id": 7821, + "name": "WebhooksUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 249, + "character": 1 + } + ], + "defaultValue": "\"WEBHOOKS_UPDATE\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 7771, + 7772, + 7773, + 7774, + 7775, + 7776, + 7777, + 7778, + 7779, + 7780, + 7781, + 7782, + 7783, + 7785, + 7784, + 7786, + 7787, + 7788, + 7822, + 7824, + 7823, + 7825, + 7826, + 7789, + 7790, + 7791, + 7792, + 7793, + 7794, + 7795, + 7796, + 7797, + 7798, + 7799, + 7800, + 7801, + 7802, + 7803, + 7804, + 7805, + 7809, + 7810, + 7806, + 7807, + 7808, + 7811, + 7812, + 7813, + 7815, + 7814, + 7816, + 7817, + 7818, + 7819, + 7820, + 7821 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 198, + "character": 12 + } + ] + }, + { + "id": 7752, + "name": "GatewayIntentBits", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#list-of-intents" + }, + "children": [ + { + "id": 7766, + "name": "DirectMessageReactions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 189, + "character": 1 + } + ], + "defaultValue": "8192" + }, + { + "id": 7767, + "name": "DirectMessageTyping", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 190, + "character": 1 + } + ], + "defaultValue": "16384" + }, + { + "id": 7765, + "name": "DirectMessages", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 188, + "character": 1 + } + ], + "defaultValue": "4096" + }, + { + "id": 7755, + "name": "GuildBans", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 178, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 7756, + "name": "GuildEmojisAndStickers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 179, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 7757, + "name": "GuildIntegrations", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 180, + "character": 1 + } + ], + "defaultValue": "16" + }, + { + "id": 7759, + "name": "GuildInvites", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 182, + "character": 1 + } + ], + "defaultValue": "64" + }, + { + "id": 7754, + "name": "GuildMembers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 177, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 7763, + "name": "GuildMessageReactions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 186, + "character": 1 + } + ], + "defaultValue": "1024" + }, + { + "id": 7764, + "name": "GuildMessageTyping", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 187, + "character": 1 + } + ], + "defaultValue": "2048" + }, + { + "id": 7762, + "name": "GuildMessages", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 185, + "character": 1 + } + ], + "defaultValue": "512" + }, + { + "id": 7761, + "name": "GuildPresences", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 184, + "character": 1 + } + ], + "defaultValue": "256" + }, + { + "id": 7769, + "name": "GuildScheduledEvents", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 192, + "character": 1 + } + ], + "defaultValue": "65536" + }, + { + "id": 7760, + "name": "GuildVoiceStates", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 183, + "character": 1 + } + ], + "defaultValue": "128" + }, + { + "id": 7758, + "name": "GuildWebhooks", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 181, + "character": 1 + } + ], + "defaultValue": "32" + }, + { + "id": 7753, + "name": "Guilds", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 176, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 7768, + "name": "MessageContent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 191, + "character": 1 + } + ], + "defaultValue": "32768" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 7766, + 7767, + 7765, + 7755, + 7756, + 7757, + 7759, + 7754, + 7763, + 7764, + 7762, + 7761, + 7769, + 7760, + 7758, + 7753, + 7768 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 175, + "character": 12 + } + ] + }, + { + "id": 7725, + "name": "GatewayOpcodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes" + }, + "children": [ + { + "id": 7726, + "name": "Dispatch", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "An event was dispatched" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 45, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 7727, + "name": "Heartbeat", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A bidirectional opcode to maintain an active gateway connection.\nFired periodically by the client, or fired by the gateway to request an immediate heartbeat from the client." + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 50, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 7736, + "name": "HeartbeatAck", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Sent in response to receiving a heartbeat to acknowledge that it has been received" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 86, + "character": 1 + } + ], + "defaultValue": "11" + }, + { + "id": 7735, + "name": "Hello", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Sent immediately after connecting, contains the `heartbeat_interval` to use" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 82, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 7728, + "name": "Identify", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Starts a new session during the initial handshake" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 54, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 7734, + "name": "InvalidSession", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The session has been invalidated. You should reconnect and identify/resume accordingly" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 78, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 7729, + "name": "PresenceUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Update the client's presence" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 58, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 7732, + "name": "Reconnect", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You should attempt to reconnect and resume immediately" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 70, + "character": 1 + } + ], + "defaultValue": "7" + }, + { + "id": 7733, + "name": "RequestGuildMembers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Request information about offline guild members in a large guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 74, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 7731, + "name": "Resume", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Resume a previous session that was disconnected" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 66, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 7730, + "name": "VoiceStateUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Used to join/leave or move between voice channels" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 62, + "character": 1 + } + ], + "defaultValue": "4" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 7726, + 7727, + 7736, + 7735, + 7728, + 7734, + 7729, + 7732, + 7733, + 7731, + 7730 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 41, + "character": 12 + } + ] + }, + { + "id": 8906, + "name": "GuildDefaultMessageNotifications", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level" + }, + "children": [ + { + "id": 8907, + "name": "AllMessages", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 281, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 8908, + "name": "OnlyMentions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 282, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8907, + 8908 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 280, + "character": 12 + } + ] + }, + { + "id": 8909, + "name": "GuildExplicitContentFilter", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level" + }, + "children": [ + { + "id": 8912, + "name": "AllMembers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 291, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 8910, + "name": "Disabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 289, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 8911, + "name": "MembersWithoutRoles", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 290, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8912, + 8910, + 8911 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 288, + "character": 12 + } + ] + }, + { + "id": 8941, + "name": "GuildFeature", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-guild-features" + }, + "children": [ + { + "id": 8942, + "name": "AnimatedBanner", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set an animated guild banner image" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 383, + "character": 1 + } + ], + "defaultValue": "\"ANIMATED_BANNER\"" + }, + { + "id": 8943, + "name": "AnimatedIcon", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set an animated guild icon" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 387, + "character": 1 + } + ], + "defaultValue": "\"ANIMATED_ICON\"" + }, + { + "id": 8944, + "name": "Banner", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set a guild banner image" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 391, + "character": 1 + } + ], + "defaultValue": "\"BANNER\"" + }, + { + "id": 8945, + "name": "Commerce", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to use commerce features (i.e. create store channels)" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 395, + "character": 1 + } + ], + "defaultValue": "\"COMMERCE\"" + }, + { + "id": 8946, + "name": "Community", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild can enable welcome screen, Membership Screening and discovery, and receives community updates" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 399, + "character": 1 + } + ], + "defaultValue": "\"COMMUNITY\"" + }, + { + "id": 8947, + "name": "Discoverable", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is able to be discovered in the directory" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 403, + "character": 1 + } + ], + "defaultValue": "\"DISCOVERABLE\"" + }, + { + "id": 8948, + "name": "Featurable", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is able to be featured in the directory" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 407, + "character": 1 + } + ], + "defaultValue": "\"FEATURABLE\"" + }, + { + "id": 8949, + "name": "HasDirectoryEntry", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is listed in a directory channel" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 411, + "character": 1 + } + ], + "defaultValue": "\"HAS_DIRECTORY_ENTRY\"" + }, + { + "id": 8950, + "name": "Hub", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is a Student Hub", + "text": "See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 417, + "character": 1 + } + ], + "defaultValue": "\"HUB\"" + }, + { + "id": 8951, + "name": "InviteSplash", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set an invite splash background" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 421, + "character": 1 + } + ], + "defaultValue": "\"INVITE_SPLASH\"" + }, + { + "id": 8952, + "name": "LinkedToHub", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is in a Student Hub", + "text": "See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 427, + "character": 1 + } + ], + "defaultValue": "\"LINKED_TO_HUB\"" + }, + { + "id": 8953, + "name": "MemberVerificationGateEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has enabled Membership Screening" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 431, + "character": 1 + } + ], + "defaultValue": "\"MEMBER_VERIFICATION_GATE_ENABLED\"" + }, + { + "id": 8954, + "name": "MonetizationEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has enabled monetization" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 435, + "character": 1 + } + ], + "defaultValue": "\"MONETIZATION_ENABLED\"" + }, + { + "id": 8955, + "name": "MoreStickers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has increased custom sticker slots" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 439, + "character": 1 + } + ], + "defaultValue": "\"MORE_STICKERS\"" + }, + { + "id": 8956, + "name": "News", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to create news channels" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 443, + "character": 1 + } + ], + "defaultValue": "\"NEWS\"" + }, + { + "id": 8957, + "name": "Partnered", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is partnered" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 447, + "character": 1 + } + ], + "defaultValue": "\"PARTNERED\"" + }, + { + "id": 8958, + "name": "PreviewEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild can be previewed before joining via Membership Screening or the directory" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 451, + "character": 1 + } + ], + "defaultValue": "\"PREVIEW_ENABLED\"" + }, + { + "id": 8959, + "name": "PrivateThreads", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to create private threads" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 455, + "character": 1 + } + ], + "defaultValue": "\"PRIVATE_THREADS\"" + }, + { + "id": 8960, + "name": "RelayEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 456, + "character": 1 + } + ], + "defaultValue": "\"RELAY_ENABLED\"" + }, + { + "id": 8961, + "name": "RoleIcons", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is able to set role icons" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 460, + "character": 1 + } + ], + "defaultValue": "\"ROLE_ICONS\"" + }, + { + "id": 8962, + "name": "TicketedEventsEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has enabled ticketed events" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 464, + "character": 1 + } + ], + "defaultValue": "\"TICKETED_EVENTS_ENABLED\"" + }, + { + "id": 8965, + "name": "VIPRegions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set 384kbps bitrate in voice (previously VIP voice servers)" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 476, + "character": 1 + } + ], + "defaultValue": "\"VIP_REGIONS\"" + }, + { + "id": 8963, + "name": "VanityURL", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set a vanity URL" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 468, + "character": 1 + } + ], + "defaultValue": "\"VANITY_URL\"" + }, + { + "id": 8964, + "name": "Verified", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is verified" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 472, + "character": 1 + } + ], + "defaultValue": "\"VERIFIED\"" + }, + { + "id": 8966, + "name": "WelcomeScreenEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has enabled the welcome screen" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 480, + "character": 1 + } + ], + "defaultValue": "\"WELCOME_SCREEN_ENABLED\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8942, + 8943, + 8944, + 8945, + 8946, + 8947, + 8948, + 8949, + 8950, + 8951, + 8952, + 8953, + 8954, + 8955, + 8956, + 8957, + 8958, + 8959, + 8960, + 8961, + 8962, + 8965, + 8963, + 8964, + 8966 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 379, + "character": 12 + } + ] + }, + { + "id": 8932, + "name": "GuildHubType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 8935, + "name": "College", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 351, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 8933, + "name": "Default", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 349, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 8934, + "name": "HighSchool", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 350, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8935, + 8933, + 8934 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 348, + "character": 12 + } + ] + }, + { + "id": 8913, + "name": "GuildMFALevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-mfa-level" + }, + "children": [ + { + "id": 8915, + "name": "Elevated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 299, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8914, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 298, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8915, + 8914 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 297, + "character": 12 + } + ] + }, + { + "id": 8916, + "name": "GuildNSFWLevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level" + }, + "children": [ + { + "id": 8920, + "name": "AgeRestricted", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 309, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 8917, + "name": "Default", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 306, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 8918, + "name": "Explicit", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 307, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8919, + "name": "Safe", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 308, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8920, + 8917, + 8918, + 8919 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 305, + "character": 12 + } + ] + }, + { + "id": 8927, + "name": "GuildPremiumTier", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-premium-tier" + }, + "children": [ + { + "id": 8928, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 342, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 8929, + "name": "Tier1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 343, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8930, + "name": "Tier2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 344, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 8931, + "name": "Tier3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 345, + "character": 1 + } + ], + "defaultValue": "3" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8928, + 8929, + 8930, + 8931 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 341, + "character": 12 + } + ] + }, + { + "id": 9125, + "name": "GuildScheduledEventEntityType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-entity-types" + }, + "children": [ + { + "id": 9128, + "name": "External", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 113, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 9126, + "name": "StageInstance", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 111, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 9127, + "name": "Voice", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 112, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9128, + 9126, + 9127 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 110, + "character": 12 + } + ] + }, + { + "id": 9134, + "name": "GuildScheduledEventPrivacyLevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-privacy-level" + }, + "children": [ + { + "id": 9135, + "name": "GuildOnly", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The scheduled event is only accessible to guild members" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 133, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9135 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 129, + "character": 12 + } + ] + }, + { + "id": 9129, + "name": "GuildScheduledEventStatus", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-status" + }, + "children": [ + { + "id": 9131, + "name": "Active", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 121, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 9133, + "name": "Canceled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 123, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 9132, + "name": "Completed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 122, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 9130, + "name": "Scheduled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 120, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9131, + 9133, + 9132, + 9130 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 119, + "character": 12 + } + ] + }, + { + "id": 8936, + "name": "GuildSystemChannelFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags" + }, + "children": [ + { + "id": 8939, + "name": "SuppressGuildReminderNotifications", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Suppress server setup tips" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 369, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 8940, + "name": "SuppressJoinNotificationReplies", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Hide member join sticker reply buttons" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 373, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 8937, + "name": "SuppressJoinNotifications", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Suppress member join notifications" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 361, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8938, + "name": "SuppressPremiumSubscriptions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Suppress server boost notifications" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 365, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8939, + 8940, + 8937, + 8938 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 357, + "character": 12 + } + ] + }, + { + "id": 8921, + "name": "GuildVerificationLevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-verification-level" + }, + "children": [ + { + "id": 8925, + "name": "High", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Must be a member of the guild for longer than 10 minutes" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 331, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 8923, + "name": "Low", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Must have verified email on account" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 323, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8924, + "name": "Medium", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Must be registered on Discord for longer than 5 minutes" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 327, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 8922, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Unrestricted" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 319, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 8926, + "name": "VeryHigh", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Must have a verified phone number" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 335, + "character": 1 + } + ], + "defaultValue": "4" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8925, + 8923, + 8924, + 8922, + 8926 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 315, + "character": 12 + } + ] + }, + { + "id": 9046, + "name": "GuildWidgetStyle", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-image-widget-style-options" + }, + "children": [ + { + "id": 9048, + "name": "Banner1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Large image with guild icon, name and online count. \"POWERED BY DISCORD\" as the footer of the widget" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 820, + "character": 1 + } + ], + "defaultValue": "\"banner1\"" + }, + { + "id": 9049, + "name": "Banner2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Smaller widget style with guild icon, name and online count. Split on the right with Discord logo" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 824, + "character": 1 + } + ], + "defaultValue": "\"banner2\"" + }, + { + "id": 9050, + "name": "Banner3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Large image with guild icon, name and online count. In the footer, Discord logo on the left and \"Chat Now\" on the right" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 828, + "character": 1 + } + ], + "defaultValue": "\"banner3\"" + }, + { + "id": 9051, + "name": "Banner4", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Large Discord logo at the top of the widget. Guild icon, name and online count in the middle portion of the widget\nand a \"JOIN MY SERVER\" button at the bottom" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 833, + "character": 1 + } + ], + "defaultValue": "\"banner4\"" + }, + { + "id": 9047, + "name": "Shield", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Shield style widget with Discord icon and guild members online count" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 816, + "character": 1 + } + ], + "defaultValue": "\"shield\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9048, + 9049, + 9050, + 9051, + 9047 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 812, + "character": 12 + } + ] + }, + { + "id": 9010, + "name": "IntegrationExpireBehavior", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors" + }, + "children": [ + { + "id": 9012, + "name": "Kick", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 714, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 9011, + "name": "RemoveRole", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 713, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9012, + 9011 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 712, + "character": 12 + } + ] + }, + { + "id": 9432, + "name": "InteractionResponseType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-type" + }, + "children": [ + { + "id": 9438, + "name": "ApplicationCommandAutocompleteResult", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For autocomplete interactions" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 89, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 9434, + "name": "ChannelMessageWithSource", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Respond to an interaction with a message" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 73, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 9435, + "name": "DeferredChannelMessageWithSource", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "ACK an interaction and edit to a response later, the user sees a loading state" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 77, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 9436, + "name": "DeferredMessageUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "ACK a button interaction and update it to a loading state" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 81, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 9439, + "name": "Modal", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Respond to an interaction with an modal for a user to fill-out" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 93, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 9433, + "name": "Pong", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "ACK a `Ping`" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 69, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 9437, + "name": "UpdateMessage", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "ACK a button interaction and edit the message to which the button was attached" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 85, + "character": 1 + } + ], + "defaultValue": "7" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9438, + 9434, + 9435, + 9436, + 9439, + 9433, + 9437 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 65, + "character": 12 + } + ] + }, + { + "id": 9406, + "name": "InteractionType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-type" + }, + "children": [ + { + "id": 9408, + "name": "ApplicationCommand", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 11, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 9410, + "name": "ApplicationCommandAutocomplete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 13, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 9409, + "name": "MessageComponent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 12, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 9411, + "name": "ModalSubmit", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 14, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 9407, + "name": "Ping", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 10, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9408, + 9410, + 9409, + 9411, + 9407 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 9, + "character": 12 + } + ] + }, + { + "id": 9463, + "name": "InviteTargetType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types" + }, + "children": [ + { + "id": 9465, + "name": "EmbeddedApplication", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 99, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 9464, + "name": "Stream", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 98, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9465, + 9464 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 97, + "character": 12 + } + ] + }, + { + "id": 9069, + "name": "MembershipScreeningFieldType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 9070, + "name": "Terms", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Server Rules" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 906, + "character": 1 + } + ], + "defaultValue": "\"TERMS\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9070 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 902, + "character": 12 + } + ] + }, + { + "id": 8533, + "name": "MessageActivityType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-activity-types" + }, + "children": [ + { + "id": 8534, + "name": "Join", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 578, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8537, + "name": "JoinRequest", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 581, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 8536, + "name": "Listen", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 580, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 8535, + "name": "Spectate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 579, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8534, + 8537, + 8536, + 8535 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 577, + "character": 12 + } + ] + }, + { + "id": 8538, + "name": "MessageFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-flags" + }, + "children": [ + { + "id": 8539, + "name": "Crossposted", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message has been published to subscribed channels (via Channel Following)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 591, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8545, + "name": "Ephemeral", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message is only visible to the user who invoked the Interaction" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 615, + "character": 1 + } + ], + "defaultValue": "64" + }, + { + "id": 8547, + "name": "FailedToMentionSomeRolesInThread", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message failed to mention some roles and add their members to the thread" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 623, + "character": 1 + } + ], + "defaultValue": "256" + }, + { + "id": 8544, + "name": "HasThread", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message has an associated thread, which shares its id" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 611, + "character": 1 + } + ], + "defaultValue": "32" + }, + { + "id": 8540, + "name": "IsCrosspost", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message originated from a message in another channel (via Channel Following)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 595, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 8546, + "name": "Loading", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message is an Interaction Response and the bot is \"thinking\"" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 619, + "character": 1 + } + ], + "defaultValue": "128" + }, + { + "id": 8542, + "name": "SourceMessageDeleted", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The source message for this crosspost has been deleted (via Channel Following)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 603, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 8541, + "name": "SuppressEmbeds", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Do not include any embeds when serializing this message" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 599, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 8543, + "name": "Urgent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message came from the urgent message system" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 607, + "character": 1 + } + ], + "defaultValue": "16" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8539, + 8545, + 8547, + 8544, + 8540, + 8546, + 8542, + 8541, + 8543 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 587, + "character": 12 + } + ] + }, + { + "id": 8502, + "name": "MessageType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-types" + }, + "children": [ + { + "id": 8506, + "name": "Call", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 516, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 8515, + "name": "ChannelFollowAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 525, + "character": 1 + } + ], + "defaultValue": "12" + }, + { + "id": 8508, + "name": "ChannelIconChange", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 518, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 8507, + "name": "ChannelNameChange", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 517, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 8509, + "name": "ChannelPinnedMessage", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 519, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 8522, + "name": "ChatInputCommand", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 532, + "character": 1 + } + ], + "defaultValue": "20" + }, + { + "id": 8525, + "name": "ContextMenuCommand", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 535, + "character": 1 + } + ], + "defaultValue": "23" + }, + { + "id": 8503, + "name": "Default", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 513, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 8516, + "name": "GuildDiscoveryDisqualified", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 526, + "character": 1 + } + ], + "defaultValue": "14" + }, + { + "id": 8519, + "name": "GuildDiscoveryGracePeriodFinalWarning", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 529, + "character": 1 + } + ], + "defaultValue": "17" + }, + { + "id": 8518, + "name": "GuildDiscoveryGracePeriodInitialWarning", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 528, + "character": 1 + } + ], + "defaultValue": "16" + }, + { + "id": 8517, + "name": "GuildDiscoveryRequalified", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 527, + "character": 1 + } + ], + "defaultValue": "15" + }, + { + "id": 8524, + "name": "GuildInviteReminder", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 534, + "character": 1 + } + ], + "defaultValue": "22" + }, + { + "id": 8510, + "name": "GuildMemberJoin", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 520, + "character": 1 + } + ], + "defaultValue": "7" + }, + { + "id": 8504, + "name": "RecipientAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 514, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8505, + "name": "RecipientRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 515, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 8521, + "name": "Reply", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 531, + "character": 1 + } + ], + "defaultValue": "19" + }, + { + "id": 8520, + "name": "ThreadCreated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 530, + "character": 1 + } + ], + "defaultValue": "18" + }, + { + "id": 8523, + "name": "ThreadStarterMessage", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 533, + "character": 1 + } + ], + "defaultValue": "21" + }, + { + "id": 8511, + "name": "UserPremiumGuildSubscription", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 521, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 8512, + "name": "UserPremiumGuildSubscriptionTier1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 522, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 8513, + "name": "UserPremiumGuildSubscriptionTier2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 523, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 8514, + "name": "UserPremiumGuildSubscriptionTier3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 524, + "character": 1 + } + ], + "defaultValue": "11" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8506, + 8515, + 8508, + 8507, + 8509, + 8522, + 8525, + 8503, + 8516, + 8519, + 8518, + 8517, + 8524, + 8510, + 8504, + 8505, + 8521, + 8520, + 8523, + 8511, + 8512, + 8513, + 8514 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 512, + "character": 12 + } + ] + }, + { + "id": 9484, + "name": "OAuth2Scopes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "Types extracted from https://discord.com/developers/docs/topics/oauth2" + }, + "children": [ + { + "id": 9504, + "name": "ActivitiesRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to fetch data from a user's \"Now Playing/Recently Played\" list - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 103, + "character": 1 + } + ], + "defaultValue": "\"activities.read\"" + }, + { + "id": 9505, + "name": "ActivitiesWrite", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to update a user's activity - requires Discord approval (NOT REQUIRED FOR GAMESDK ACTIVITY MANAGER)", + "text": "See https://discord.com/developers/docs/game-sdk/activities\n" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 109, + "character": 1 + } + ], + "defaultValue": "\"activities.write\"" + }, + { + "id": 9508, + "name": "ApplicationCommandsPermissionsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to update permissions for its commands using a Bearer token - client credentials grant only", + "text": "See https://discord.com/developers/docs/interactions/application-commands\n" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 127, + "character": 1 + } + ], + "defaultValue": "\"applications.commands.permissions.update\"" + }, + { + "id": 9500, + "name": "ApplicationsBuildsRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to read build data for a user's applications" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 87, + "character": 1 + } + ], + "defaultValue": "\"applications.builds.read\"" + }, + { + "id": 9499, + "name": "ApplicationsBuildsUpload", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to upload/update builds for a user's applications - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 83, + "character": 1 + } + ], + "defaultValue": "\"applications.builds.upload\"" + }, + { + "id": 9506, + "name": "ApplicationsCommands", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to use Application Commands in a guild", + "text": "See https://discord.com/developers/docs/interactions/application-commands\n" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 115, + "character": 1 + } + ], + "defaultValue": "\"applications.commands\"" + }, + { + "id": 9507, + "name": "ApplicationsCommandsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to update its Application Commands via this bearer token - client credentials grant only", + "text": "See https://discord.com/developers/docs/interactions/application-commands\n" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 121, + "character": 1 + } + ], + "defaultValue": "\"applications.commands.update\"" + }, + { + "id": 9502, + "name": "ApplicationsEntitlements", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to read entitlements for a user's applications" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 95, + "character": 1 + } + ], + "defaultValue": "\"applications.entitlements\"" + }, + { + "id": 9501, + "name": "ApplicationsStoreUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to read and update store data (SKUs, store listings, achievements, etc.) for a user's applications" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 91, + "character": 1 + } + ], + "defaultValue": "\"applications.store.update\"" + }, + { + "id": 9485, + "name": "Bot", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For oauth2 bots, this puts the bot in the user's selected guild by default" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 9, + "character": 1 + } + ], + "defaultValue": "\"bot\"" + }, + { + "id": 9486, + "name": "Connections", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows [/users/@me/connections](https://discord.com/developers/docs/resources/user#get-user-connections)\nto return linked third-party accounts", + "text": "See https://discord.com/developers/docs/resources/user#get-user-connections\n" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 16, + "character": 1 + } + ], + "defaultValue": "\"connections\"" + }, + { + "id": 9487, + "name": "DMChannelsRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to see information about the user's DMs and group DMs - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 20, + "character": 1 + } + ], + "defaultValue": "\"dm_channels.read\"" + }, + { + "id": 9488, + "name": "Email", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Enables [/users/@me](https://discord.com/developers/docs/resources/user#get-current-user) to return an `email`", + "text": "See https://discord.com/developers/docs/resources/user#get-current-user\n" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 26, + "character": 1 + } + ], + "defaultValue": "\"email\"" + }, + { + "id": 9493, + "name": "GroupDMJoins", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to join users to a group dm", + "text": "See https://discord.com/developers/docs/resources/channel#group-dm-add-recipient\n" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 58, + "character": 1 + } + ], + "defaultValue": "\"gdm.join\"" + }, + { + "id": 9490, + "name": "Guilds", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows [/users/@me/guilds](https://discord.com/developers/docs/resources/user#get-current-user-guilds)\nto return basic information about all of a user's guilds", + "text": "See https://discord.com/developers/docs/resources/user#get-current-user-guilds\n" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 39, + "character": 1 + } + ], + "defaultValue": "\"guilds\"" + }, + { + "id": 9491, + "name": "GuildsJoin", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows [/guilds/{guild.id}/members/{user.id}](https://discord.com/developers/docs/resources/guild#add-guild-member)\nto be used for joining users to a guild", + "text": "See https://discord.com/developers/docs/resources/guild#add-guild-member\n" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 46, + "character": 1 + } + ], + "defaultValue": "\"guilds.join\"" + }, + { + "id": 9492, + "name": "GuildsMembersRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows /users/@me/guilds/{guild.id}/member to return a user's member information in a guild", + "text": "See https://discord.com/developers/docs/resources/user#get-current-user-guild-member\n" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 52, + "character": 1 + } + ], + "defaultValue": "\"guilds.members.read\"" + }, + { + "id": 9489, + "name": "Identify", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows [/users/@me](https://discord.com/developers/docs/resources/user#get-current-user) without `email`", + "text": "See https://discord.com/developers/docs/resources/user#get-current-user\n" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 32, + "character": 1 + } + ], + "defaultValue": "\"identify\"" + }, + { + "id": 9494, + "name": "MessagesRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For local rpc server api access, this allows you to read messages from all client channels\n(otherwise restricted to channels/guilds your app creates)" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 63, + "character": 1 + } + ], + "defaultValue": "\"messages.read\"" + }, + { + "id": 9495, + "name": "RPC", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For local rpc server access, this allows you to control a user's local Discord client - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 67, + "character": 1 + } + ], + "defaultValue": "\"rpc\"" + }, + { + "id": 9496, + "name": "RPCNotificationsRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For local rpc server api access, this allows you to receive notifications pushed out to the user - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 71, + "character": 1 + } + ], + "defaultValue": "\"rpc.notifications.read\"" + }, + { + "id": 9503, + "name": "RelationshipsRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to know a user's friends and implicit relationships - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 99, + "character": 1 + } + ], + "defaultValue": "\"relationships.read\"" + }, + { + "id": 9498, + "name": "Voice", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to connect to voice on user's behalf and see all the voice members - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 79, + "character": 1 + } + ], + "defaultValue": "\"voice\"" + }, + { + "id": 9497, + "name": "WebhookIncoming", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This generates a webhook that is returned in the oauth token response for authorization code grants" + }, + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 75, + "character": 1 + } + ], + "defaultValue": "\"webhook.incoming\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9504, + 9505, + 9508, + 9500, + 9499, + 9506, + 9507, + 9502, + 9501, + 9485, + 9486, + 9487, + 9488, + 9493, + 9490, + 9491, + 9492, + 9489, + 9494, + 9495, + 9496, + 9503, + 9498, + 9497 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/oauth2.ts", + "line": 5, + "character": 12 + } + ] + }, + { + "id": 8560, + "name": "OverwriteType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 8562, + "name": "Member", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 694, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8561, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 693, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8562, + 8561 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 692, + "character": 12 + } + ] + }, + { + "id": 8768, + "name": "PresenceUpdateStatus", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 8770, + "name": "DoNotDisturb", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 97, + "character": 1 + } + ], + "defaultValue": "\"dnd\"" + }, + { + "id": 8771, + "name": "Idle", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 98, + "character": 1 + } + ], + "defaultValue": "\"idle\"" + }, + { + "id": 8772, + "name": "Invisible", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Invisible and shown as offline" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 102, + "character": 1 + } + ], + "defaultValue": "\"invisible\"" + }, + { + "id": 8773, + "name": "Offline", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 103, + "character": 1 + } + ], + "defaultValue": "\"offline\"" + }, + { + "id": 8769, + "name": "Online", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 96, + "character": 1 + } + ], + "defaultValue": "\"online\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8770, + 8771, + 8772, + 8773, + 8769 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 95, + "character": 12 + } + ] + }, + { + "id": 9533, + "name": "StageInstancePrivacyLevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#stage-instance-object-privacy-level" + }, + "children": [ + { + "id": 9535, + "name": "GuildOnly", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The stage instance is visible to only guild members" + }, + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 52, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 9534, + "name": "Public", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The stage instance is visible publicly, such as on stage discovery" + }, + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 48, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9535, + 9534 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 44, + "character": 12 + } + ] + }, + { + "id": 9557, + "name": "StickerFormatType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-format-types" + }, + "children": [ + { + "id": 9559, + "name": "APNG", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 86, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 9560, + "name": "Lottie", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 87, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 9558, + "name": "PNG", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 85, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9559, + 9560, + 9558 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 84, + "character": 12 + } + ] + }, + { + "id": 9554, + "name": "StickerType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-types" + }, + "children": [ + { + "id": 9556, + "name": "Guild", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A sticker uploaded to a Boosted guild for the guild's members" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 78, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 9555, + "name": "Standard", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "An official sticker in a pack, part of Nitro or in a removed purchasable pack" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 74, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9556, + 9555 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 70, + "character": 12 + } + ] + }, + { + "id": 9581, + "name": "TeamMemberMembershipState", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/teams#data-models-membership-state-enum" + }, + "children": [ + { + "id": 9583, + "name": "Accepted", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/teams.ts", + "line": 65, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 9582, + "name": "Invited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/teams.ts", + "line": 64, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9583, + 9582 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/teams.ts", + "line": 63, + "character": 12 + } + ] + }, + { + "id": 8704, + "name": "TextInputStyle", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#text-inputs-text-input-styles" + }, + "children": [ + { + "id": 8706, + "name": "Paragraph", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1263, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 8705, + "name": "Short", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1262, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8706, + 8705 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1261, + "character": 12 + } + ] + }, + { + "id": 8570, + "name": "ThreadAutoArchiveDuration", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 8572, + "name": "OneDay", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 729, + "character": 1 + } + ], + "defaultValue": "1440" + }, + { + "id": 8571, + "name": "OneHour", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 728, + "character": 1 + } + ], + "defaultValue": "60" + }, + { + "id": 8574, + "name": "OneWeek", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 731, + "character": 1 + } + ], + "defaultValue": "10080" + }, + { + "id": 8573, + "name": "ThreeDays", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 730, + "character": 1 + } + ], + "defaultValue": "4320" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8572, + 8571, + 8574, + 8573 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 727, + "character": 12 + } + ] + }, + { + "id": 8580, + "name": "ThreadMemberFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 762, + "character": 12 + } + ] + }, + { + "id": 9628, + "name": "UserFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#user-object-user-flags" + }, + "children": [ + { + "id": 9642, + "name": "BotHTTPInteractions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Bot uses only [HTTP interactions](https://discord.com/developers/docs/interactions/receiving-and-responding#receiving-an-interaction) and is shown in the online member list" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 143, + "character": 1 + } + ], + "defaultValue": "524288" + }, + { + "id": 9632, + "name": "BugHunterLevel1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Bug Hunter Level 1" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 103, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 9638, + "name": "BugHunterLevel2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Bug Hunter Level 2" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 127, + "character": 1 + } + ], + "defaultValue": "16384" + }, + { + "id": 9641, + "name": "CertifiedModerator", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Discord Certified Moderator" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 139, + "character": 1 + } + ], + "defaultValue": "262144" + }, + { + "id": 9633, + "name": "HypeSquadOnlineHouse1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "House Bravery Member" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 107, + "character": 1 + } + ], + "defaultValue": "64" + }, + { + "id": 9634, + "name": "HypeSquadOnlineHouse2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "House Brilliance Member" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 111, + "character": 1 + } + ], + "defaultValue": "128" + }, + { + "id": 9635, + "name": "HypeSquadOnlineHouse3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "House Balance Member" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 115, + "character": 1 + } + ], + "defaultValue": "256" + }, + { + "id": 9631, + "name": "Hypesquad", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "HypeSquad Events Member" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 99, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 9630, + "name": "Partner", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Partnered Server Owner" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 95, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 9636, + "name": "PremiumEarlySupporter", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Early Nitro Supporter" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 119, + "character": 1 + } + ], + "defaultValue": "512" + }, + { + "id": 9643, + "name": "Spammer", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "User has been identified as spammer" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 147, + "character": 1 + } + ], + "defaultValue": "1048576" + }, + { + "id": 9629, + "name": "Staff", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Discord Employee" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 91, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 9637, + "name": "TeamPseudoUser", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "User is a [team](https://discord.com/developers/docs/topics/teams)" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 123, + "character": 1 + } + ], + "defaultValue": "1024" + }, + { + "id": 9639, + "name": "VerifiedBot", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Verified Bot" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 131, + "character": 1 + } + ], + "defaultValue": "65536" + }, + { + "id": 9640, + "name": "VerifiedDeveloper", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Early Verified Bot Developer" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 135, + "character": 1 + } + ], + "defaultValue": "131072" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9642, + 9632, + 9638, + 9641, + 9633, + 9634, + 9635, + 9631, + 9630, + 9636, + 9643, + 9629, + 9637, + 9639, + 9640 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 87, + "character": 12 + } + ] + }, + { + "id": 9644, + "name": "UserPremiumType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#user-object-premium-types" + }, + "children": [ + { + "id": 9647, + "name": "Nitro", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 156, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 9646, + "name": "NitroClassic", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 155, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 9645, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 154, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9647, + 9646, + 9645 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 153, + "character": 12 + } + ] + }, + { + "id": 8465, + "name": "VideoQualityMode", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 8466, + "name": "Auto", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Discord chooses the quality for optimal performance" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 310, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 8467, + "name": "Full", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "720p" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 314, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8466, + 8467 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 306, + "character": 12 + } + ] + }, + { + "id": 9694, + "name": "WebhookType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 9697, + "name": "Application", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Application webhooks are webhooks used with Interactions" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 78, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 9696, + "name": "ChannelFollower", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Channel Follower Webhooks are internal webhooks used with Channel Following to post new messages into channels" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 74, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 9695, + "name": "Incoming", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Incoming Webhooks can post messages to channels with a generated token" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 70, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 9697, + 9696, + 9695 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 66, + "character": 12 + } + ] + }, + { + "id": 8668, + "name": "APIActionRowComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#action-rows" + }, + "children": [ + { + "id": 8669, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The components in the ActionRow" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1188, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8671, + "name": "T" + } + } + }, + { + "id": 8670, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1155, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8664, + "name": "ActionRow" + }, + "inheritedFrom": { + "type": "reference", + "id": 8661, + "name": "APIBaseComponent.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8669, + 8670 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1183, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 8671, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 8735, + "name": "APIActionRowComponentTypes" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8660, + "typeArguments": [ + { + "type": "reference", + "id": 8664, + "name": "ComponentType.ActionRow" + } + ], + "name": "APIBaseComponent" + } + ] + }, + { + "id": 8655, + "name": "APIAllowedMentions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mentions-structure" + }, + "children": [ + { + "id": 8656, + "name": "parse", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An array of allowed mention types to parse from the content", + "text": "See https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mention-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1131, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8651, + "name": "AllowedMentionsTypes" + } + } + }, + { + "id": 8659, + "name": "replied_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "\tFor replies, whether to mention the author of the message being replied to (default false)", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1145, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8657, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of role_ids to mention (Max size of 100)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1135, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 8658, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of user_ids to mention (Max size of 100)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1139, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8656, + 8659, + 8657, + 8658 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1125, + "character": 17 + } + ] + }, + { + "id": 8158, + "name": "APIApplication", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/application#application-object" + }, + "children": [ + { + "id": 8164, + "name": "bot_public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When `false` only app owner can join the app's bot to guilds" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8165, + "name": "bot_require_code_grant", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When `true` the app's bot will only join upon completion of the full oauth2 code grant flow" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8175, + "name": "cover_image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If this application is a game sold on Discord, this field will be the hash of the image on store embeds" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8179, + "name": "custom_install_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The application's default custom authorization link, if enabled" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8162, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description of the app" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8176, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The application's public flags", + "text": "See https://discord.com/developers/docs/resources/application#application-object-application-flags\n" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 95, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8183, + "name": "ApplicationFlags" + } + }, + { + "id": 8172, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If this application is a game sold on Discord, this field will be the guild to which it has been linked" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8161, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The icon hash of the app" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8159, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the app" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8178, + "name": "install_params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Settings for the application's default in-app authorization link, if enabled" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 103, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8180, + "name": "APIApplicationInstallParams" + } + }, + { + "id": 8160, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the app" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8168, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Partial user object containing info on the owner of the application", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + }, + { + "id": 8173, + "name": "primary_sku_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If this application is a game sold on Discord, this field will be the id of the \"Game SKU\" that is created, if exists" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8167, + "name": "privacy_policy_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The url of the application's privacy policy" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8163, + "name": "rpc_origins", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An array of rpc origin urls, if rpc is enabled" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 8174, + "name": "slug", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If this application is a game sold on Discord, this field will be the URL slug that links to the store page" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8169, + "name": "summary", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "An empty string", + "tags": [ + { + "tag": "deprecated", + "text": "This field will be removed in v11\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8177, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Up to 5 tags describing the content and functionality of the application" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 99, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "optional", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "optional", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "optional", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "optional", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 8171, + "name": "team", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The team this application belongs to", + "text": "See https://discord.com/developers/docs/topics/teams#data-models-team-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 73, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 9570, + "name": "APITeam" + } + ] + } + }, + { + "id": 8166, + "name": "terms_of_service_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The url of the application's terms of service" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8170, + "name": "verify_key", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function", + "text": "See https://discord.com/developers/docs/game-sdk/applications#get-ticket\n" + }, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8164, + 8165, + 8175, + 8179, + 8162, + 8176, + 8172, + 8161, + 8159, + 8178, + 8160, + 8168, + 8173, + 8167, + 8163, + 8174, + 8169, + 8177, + 8171, + 8166, + 8170 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 13, + "character": 17 + } + ] + }, + { + "id": 9143, + "name": "APIApplicationCommand", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object" + }, + "children": [ + { + "id": 9146, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unique id of the parent application" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9155, + "name": "default_member_permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set of permissions represented as a bitset" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9157, + "name": "default_permission", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the command is enabled by default when the app is added to a guild", + "text": "If missing, this property should be assumed as `true`", + "tags": [ + { + "tag": "deprecated", + "text": "Use `dm_permission` and/or `default_member_permissions` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9151, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "1-100 character description for `CHAT_INPUT` commands, empty string for `USER` and `MESSAGE` commands" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9152, + "name": "description_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Localization dictionary for the description field. Values follow the same restrictions as description" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + }, + { + "id": 9153, + "name": "description_localized", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The localized description" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9156, + "name": "dm_permission", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 9147, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Guild id of the command, if not global" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9144, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unique id of the command" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9148, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "1-32 character name; `CHAT_INPUT` command names must be all lowercase matching `^[-_\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$`" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9149, + "name": "name_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Localization dictionary for the name field. Values follow the same restrictions as name" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + }, + { + "id": 9150, + "name": "name_localized", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The localized name" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9154, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The parameters for the `CHAT_INPUT` command, max 25" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9186, + "name": "APIApplicationCommandOption" + } + } + }, + { + "id": 9145, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of the command" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9159, + "name": "ApplicationCommandType" + } + }, + { + "id": 9158, + "name": "version", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Autoincrementing version identifier updated during substantial record changes" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 91, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9146, + 9155, + 9157, + 9151, + 9152, + 9153, + 9156, + 9147, + 9144, + 9148, + 9149, + 9150, + 9154, + 9145, + 9158 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 28, + "character": 17 + } + ] + }, + { + "id": 9415, + "name": "APIApplicationCommandAutocompleteResponse", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9417, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9443, + "name": "APICommandAutocompleteInteractionResponseCallbackData" + } + }, + { + "id": 9416, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9438, + "name": "ApplicationCommandAutocompleteResult" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9417, + 9416 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 33, + "character": 17 + } + ] + }, + { + "id": 9209, + "name": "APIApplicationCommandChannelOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9210, + "name": "channel_types", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/channel.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8453, + "name": "GuildText" + }, + { + "type": "reference", + "id": 8455, + "name": "GuildVoice" + }, + { + "type": "reference", + "id": 8457, + "name": "GuildCategory" + }, + { + "type": "reference", + "id": 8458, + "name": "GuildNews" + }, + { + "type": "reference", + "id": 8459, + "name": "GuildNewsThread" + }, + { + "type": "reference", + "id": 8460, + "name": "GuildPublicThread" + }, + { + "type": "reference", + "id": 8461, + "name": "GuildPrivateThread" + }, + { + "type": "reference", + "id": 8462, + "name": "GuildStageVoice" + }, + { + "type": "reference", + "id": 8463, + "name": "GuildDirectory" + }, + { + "type": "reference", + "id": 8464, + "name": "GuildForum" + } + ] + } + } + }, + { + "id": 9214, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description" + } + }, + { + "id": 9215, + "name": "description_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description_localizations" + } + }, + { + "id": 9212, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 6, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name" + } + }, + { + "id": 9213, + "name": "name_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name_localizations" + } + }, + { + "id": 9216, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.required" + } + }, + { + "id": 9211, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 5, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9241, + "name": "Channel" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9210, + 9214, + 9215, + 9212, + 9213, + 9216, + 9211 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/channel.ts", + "line": 6, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9241, + "name": "ApplicationCommandOptionType.Channel" + } + ], + "name": "APIApplicationCommandOptionBase" + } + ] + }, + { + "id": 9219, + "name": "APIApplicationCommandInteractionDataIntegerOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9220, + "name": "focused", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/integer.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9221, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.name" + } + }, + { + "id": 9222, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9238, + "name": "Integer" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.type" + } + }, + { + "id": 9223, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.value" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9220, + 9221, + 9222, + 9223 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/integer.ts", + "line": 25, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9238, + "name": "ApplicationCommandOptionType.Integer" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "APIInteractionDataOptionBase" + } + ] + }, + { + "id": 9227, + "name": "APIApplicationCommandInteractionDataNumberOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9228, + "name": "focused", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/number.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9229, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.name" + } + }, + { + "id": 9230, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9244, + "name": "Number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.type" + } + }, + { + "id": 9231, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.value" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9228, + 9229, + 9230, + 9231 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/number.ts", + "line": 25, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9244, + "name": "ApplicationCommandOptionType.Number" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "APIInteractionDataOptionBase" + } + ] + }, + { + "id": 9252, + "name": "APIApplicationCommandInteractionDataStringOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9253, + "name": "focused", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/string.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9254, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.name" + } + }, + { + "id": 9255, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9237, + "name": "String" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.type" + } + }, + { + "id": 9256, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.value" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9253, + 9254, + 9255, + 9256 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/string.ts", + "line": 13, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9237, + "name": "ApplicationCommandOptionType.String" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "APIInteractionDataOptionBase" + } + ] + }, + { + "id": 9277, + "name": "APIApplicationCommandInteractionDataSubcommandGroupOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9278, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9280, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9265, + "name": "APIApplicationCommandInteractionDataSubcommandOption" + } + } + }, + { + "id": 9279, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9236, + "name": "SubcommandGroup" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9278, + 9280, + 9279 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 13, + "character": 17 + } + ] + }, + { + "id": 9265, + "name": "APIApplicationCommandInteractionDataSubcommandOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9266, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 11, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9268, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9188, + "name": "APIApplicationCommandInteractionDataBasicOption" + } + } + }, + { + "id": 9267, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9235, + "name": "Subcommand" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9266, + 9268, + 9267 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 10, + "character": 17 + } + ] + }, + { + "id": 9246, + "name": "APIApplicationCommandOptionChoice", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-choice-structure" + }, + "children": [ + { + "id": 9247, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9248, + "name": "name_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + }, + { + "id": 9249, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9250, + "name": "ValueType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9247, + 9248, + 9249 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 23, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 9250, + "name": "ValueType", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ] + }, + { + "id": 9317, + "name": "APIApplicationCommandPermission", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-application-command-permissions-structure" + }, + "children": [ + { + "id": 9318, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the role, user or channel. Can also be a permission constant" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9320, + "name": "permission", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`true` to allow, `false`, to disallow" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9319, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role, user or channel" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9321, + "name": "ApplicationCommandPermissionType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9318, + 9320, + 9319 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 28, + "character": 17 + } + ] + }, + { + "id": 9269, + "name": "APIApplicationCommandSubcommandGroupOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9274, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description" + } + }, + { + "id": 9275, + "name": "description_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description_localizations" + } + }, + { + "id": 9272, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 6, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name" + } + }, + { + "id": 9273, + "name": "name_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name_localizations" + } + }, + { + "id": 9270, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9257, + "name": "APIApplicationCommandSubcommandOption" + } + } + }, + { + "id": 9276, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.required" + } + }, + { + "id": 9271, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 5, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9236, + "name": "SubcommandGroup" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9274, + 9275, + 9272, + 9273, + 9270, + 9276, + 9271 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 8, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9236, + "name": "ApplicationCommandOptionType.SubcommandGroup" + } + ], + "name": "APIApplicationCommandOptionBase" + } + ] + }, + { + "id": 9257, + "name": "APIApplicationCommandSubcommandOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9262, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description" + } + }, + { + "id": 9263, + "name": "description_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description_localizations" + } + }, + { + "id": 9260, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 6, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name" + } + }, + { + "id": 9261, + "name": "name_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name_localizations" + } + }, + { + "id": 9258, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9185, + "name": "APIApplicationCommandBasicOption" + } + } + }, + { + "id": 9264, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.required" + } + }, + { + "id": 9259, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 5, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9235, + "name": "Subcommand" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9262, + 9263, + 9260, + 9261, + 9258, + 9264, + 9259 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 5, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9235, + "name": "ApplicationCommandOptionType.Subcommand" + } + ], + "name": "APIApplicationCommandOptionBase" + } + ] + }, + { + "id": 8180, + "name": "APIApplicationInstallParams", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 8182, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 112, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8181, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 111, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9484, + "name": "OAuth2Scopes" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8182, + 8181 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/application.ts", + "line": 110, + "character": 17 + } + ] + }, + { + "id": 8635, + "name": "APIAttachment", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure" + }, + "children": [ + { + "id": 8639, + "name": "content_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The attachment's media type", + "text": "See https://en.wikipedia.org/wiki/Media_type\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1053, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8638, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Description for the file" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1047, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8645, + "name": "ephemeral", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this attachment is ephemeral" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1077, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8637, + "name": "filename", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of file attached" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1043, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8643, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Height of file (if image)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1069, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 8636, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Attachment id" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1039, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8642, + "name": "proxy_url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A proxied url of file" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1065, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8640, + "name": "size", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Size of file in bytes" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1057, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8641, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Source url of file" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1061, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8644, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Width of file (if image)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1073, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8639, + 8638, + 8645, + 8637, + 8643, + 8636, + 8642, + 8640, + 8641, + 8644 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1035, + "character": 17 + } + ] + }, + { + "id": 8197, + "name": "APIAuditLog", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-object-audit-log-structure" + }, + "children": [ + { + "id": 8198, + "name": "application_commands", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "List of application commands found in the audit log", + "text": "See https://discord.com/developers/docs/interactions/application-commands#application-command-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9143, + "name": "APIApplicationCommand" + } + } + }, + { + "id": 8201, + "name": "audit_log_entries", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Audit log entries", + "text": "See https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 54, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8205, + "name": "APIAuditLogEntry" + } + } + }, + { + "id": 8204, + "name": "guild_scheduled_events", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild scheduled events in the audit log", + "text": "See https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9122, + "name": "APIGuildScheduledEvent" + } + } + }, + { + "id": 8202, + "name": "integrations", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Partial integration objects", + "text": "See https://discord.com/developers/docs/resources/guild#integration-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8993, + "name": "APIGuildIntegration" + } + } + }, + { + "id": 8203, + "name": "threads", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Threads found in the audit log", + "text": "Threads referenced in THREAD_CREATE and THREAD_UPDATE events are included in the threads map, since archived threads might not be kept in memory by clients.\n\nSee https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + } + }, + { + "id": 8200, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Users found in the audit log", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + }, + { + "id": 8199, + "name": "webhooks", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Webhooks found in the audit log", + "text": "See https://discord.com/developers/docs/resources/webhook#webhook-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9681, + "name": "APIWebhook" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8198, + 8201, + 8204, + 8202, + 8203, + 8200, + 8199 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 30, + "character": 17 + } + ] + }, + { + "id": 8205, + "name": "APIAuditLogEntry", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-entry-structure" + }, + "children": [ + { + "id": 8210, + "name": "action_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of action that occurred", + "text": "See https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 106, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8213, + "name": "AuditLogEvent" + } + }, + { + "id": 8207, + "name": "changes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Changes made to the `target_id`", + "text": "See https://discord.com/developers/docs/resources/audit-log#audit-log-change-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 90, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8274, + "name": "APIAuditLogChange" + } + } + }, + { + "id": 8209, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the entry" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 100, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8211, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Additional info for certain action types", + "text": "See https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 112, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8262, + "name": "APIAuditLogOptions" + } + }, + { + "id": 8212, + "name": "reason", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The reason for the change (0-512 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 116, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8206, + "name": "target_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the affected entity (webhook, user, role, etc.)" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 84, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8208, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user who made the changes", + "text": "This can be `null` in some cases (webhooks deleting themselves by using their own token, for example)\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 96, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8210, + 8207, + 8209, + 8211, + 8212, + 8206, + 8208 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 80, + "character": 17 + } + ] + }, + { + "id": 8262, + "name": "APIAuditLogOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info" + }, + "children": [ + { + "id": 8265, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Channel in which the entities were targeted", + "text": "Present from:\n- MEMBER_MOVE\n- MESSAGE_PIN\n- MESSAGE_UNPIN\n- MESSAGE_DELETE\n- STAGE_INSTANCE_CREATE\n- STAGE_INSTANCE_UPDATE\n- STAGE_INSTANCE_DELETE\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 216, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8267, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of entities that were targeted", + "text": "Present from:\n- MESSAGE_DELETE\n- MESSAGE_BULK_DELETE\n- MEMBER_DISCONNECT\n- MEMBER_MOVE\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 236, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8263, + "name": "delete_member_days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of days after which inactive members were kicked", + "text": "Present from:\n- MEMBER_PRUNE\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 195, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8268, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the overwritten entity", + "text": "Present from:\n- CHANNEL_OVERWRITE_CREATE\n- CHANNEL_OVERWRITE_UPDATE\n- CHANNEL_OVERWRITE_DELETE\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 246, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8264, + "name": "members_removed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of members removed by the prune", + "text": "Present from:\n- MEMBER_PRUNE\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 202, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8266, + "name": "message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the message that was targeted", + "text": "Present from:\n- MESSAGE_PIN\n- MESSAGE_UNPIN\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 225, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8270, + "name": "role_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the role", + "text": "Present from:\n- CHANNEL_OVERWRITE_CREATE\n- CHANNEL_OVERWRITE_UPDATE\n- CHANNEL_OVERWRITE_DELETE\n\n**Present only if the {@link APIAuditLogOptions#type entry type} is \"0\"**\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 270, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8269, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Type of overwritten entity - \"0\" for \"role\" or \"1\" for \"member\"", + "text": "Present from:\n- CHANNEL_OVERWRITE_CREATE\n- CHANNEL_OVERWRITE_UPDATE\n- CHANNEL_OVERWRITE_DELETE\n\n{@link AuditLogOptionsType}\n" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 258, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8271, + "name": "AuditLogOptionsType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8265, + 8267, + 8263, + 8268, + 8264, + 8266, + 8270, + 8269 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 188, + "character": 17 + } + ] + }, + { + "id": 9022, + "name": "APIBan", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#ban-object" + }, + "children": [ + { + "id": 9023, + "name": "reason", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The reason for the ban" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 768, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9024, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The banned user" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 772, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9023, + 9024 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 764, + "character": 17 + } + ] + }, + { + "id": 8660, + "name": "APIBaseComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#component-object" + }, + "children": [ + { + "id": 8661, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1155, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8662, + "name": "T" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8661 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1151, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 8662, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 8663, + "name": "ComponentType" + } + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 8668, + "name": "APIActionRowComponent" + }, + { + "type": "reference", + "id": 8672, + "name": "APIButtonComponentBase" + }, + { + "type": "reference", + "id": 8707, + "name": "APISelectMenuComponent" + }, + { + "type": "reference", + "id": 8721, + "name": "APITextInputComponent" + } + ] + }, + { + "id": 9357, + "name": "APIBaseInteraction", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "children": [ + { + "id": 9359, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the application this interaction is for" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9363, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel it was sent from" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 84, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9361, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The command data payload" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9372, + "name": "Data" + } + }, + { + "id": 9362, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild it was sent from" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9370, + "name": "guild_locale", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild's preferred locale, if invoked in a guild" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 114, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + } + }, + { + "id": 9358, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the interaction" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9369, + "name": "locale", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The selected language of the invoking user" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 110, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + } + }, + { + "id": 9364, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Guild member data for the invoking user, including permissions", + "text": "**This is only sent when an interaction is invoked in a guild**\n" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 90, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9345, + "name": "APIInteractionGuildMember" + } + }, + { + "id": 9368, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "For components, the message they were attached to" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 106, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + }, + { + "id": 9366, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A continuation token for responding to the interaction" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 98, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9360, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of interaction" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9371, + "name": "Type" + } + }, + { + "id": 9365, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User object for the invoking user, if invoked in a DM" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 94, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + }, + { + "id": 9367, + "name": "version", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Read-only property, always `1`" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 102, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": 1 + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9359, + 9363, + 9361, + 9362, + 9370, + 9358, + 9369, + 9364, + 9368, + 9366, + 9360, + 9365, + 9367 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 60, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 9371, + "name": "Type", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 9406, + "name": "InteractionType" + } + }, + { + "id": 9372, + "name": "Data", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ] + }, + { + "id": 8672, + "name": "APIButtonComponentBase", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#buttons" + }, + "children": [ + { + "id": 8676, + "name": "disabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The status of the button" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1210, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8675, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The emoji to display to the left of the text" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1206, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8679, + "name": "APIMessageComponentEmoji" + } + }, + { + "id": 8673, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The label to be displayed on the button" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1198, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8674, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The style of the button" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1202, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8678, + "name": "Style" + } + }, + { + "id": 8677, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1155, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8665, + "name": "Button" + }, + "inheritedFrom": { + "type": "reference", + "id": 8661, + "name": "APIBaseComponent.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8676, + 8675, + 8673, + 8674, + 8677 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1194, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 8678, + "name": "Style", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 8698, + "name": "ButtonStyle" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8660, + "typeArguments": [ + { + "type": "reference", + "id": 8665, + "name": "ComponentType.Button" + } + ], + "name": "APIBaseComponent" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 8683, + "name": "APIButtonComponentWithCustomId" + }, + { + "type": "reference", + "id": 8690, + "name": "APIButtonComponentWithURL" + } + ] + }, + { + "id": 8683, + "name": "APIButtonComponentWithCustomId", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 8684, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The custom_id to be sent in the interaction when clicked" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1235, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8688, + "name": "disabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The status of the button" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1210, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8676, + "name": "APIButtonComponentBase.disabled" + } + }, + { + "id": 8687, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The emoji to display to the left of the text" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1206, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8679, + "name": "APIMessageComponentEmoji" + }, + "inheritedFrom": { + "type": "reference", + "id": 8675, + "name": "APIButtonComponentBase.emoji" + } + }, + { + "id": 8685, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The label to be displayed on the button" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1198, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8673, + "name": "APIButtonComponentBase.label" + } + }, + { + "id": 8686, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The style of the button" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1202, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8699, + "name": "Primary" + }, + { + "type": "reference", + "id": 8700, + "name": "Secondary" + }, + { + "type": "reference", + "id": 8701, + "name": "Success" + }, + { + "type": "reference", + "id": 8702, + "name": "Danger" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8674, + "name": "APIButtonComponentBase.style" + } + }, + { + "id": 8689, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1155, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8665, + "name": "Button" + }, + "inheritedFrom": { + "type": "reference", + "id": 8677, + "name": "APIButtonComponentBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8684, + 8688, + 8687, + 8685, + 8686, + 8689 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1228, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8672, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8699, + "name": "ButtonStyle.Primary" + }, + { + "type": "reference", + "id": 8700, + "name": "ButtonStyle.Secondary" + }, + { + "type": "reference", + "id": 8701, + "name": "ButtonStyle.Success" + }, + { + "type": "reference", + "id": 8702, + "name": "ButtonStyle.Danger" + } + ] + } + ], + "name": "APIButtonComponentBase" + } + ] + }, + { + "id": 8690, + "name": "APIButtonComponentWithURL", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 8695, + "name": "disabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The status of the button" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1210, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8676, + "name": "APIButtonComponentBase.disabled" + } + }, + { + "id": 8694, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The emoji to display to the left of the text" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1206, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8679, + "name": "APIMessageComponentEmoji" + }, + "inheritedFrom": { + "type": "reference", + "id": 8675, + "name": "APIButtonComponentBase.emoji" + } + }, + { + "id": 8692, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The label to be displayed on the button" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1198, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8673, + "name": "APIButtonComponentBase.label" + } + }, + { + "id": 8693, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The style of the button" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1202, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8703, + "name": "Link" + }, + "inheritedFrom": { + "type": "reference", + "id": 8674, + "name": "APIButtonComponentBase.style" + } + }, + { + "id": 8696, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1155, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8665, + "name": "Button" + }, + "inheritedFrom": { + "type": "reference", + "id": 8677, + "name": "APIButtonComponentBase.type" + } + }, + { + "id": 8691, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The URL to direct users to when clicked for Link buttons" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1242, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8695, + 8694, + 8692, + 8693, + 8696, + 8691 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1238, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8672, + "typeArguments": [ + { + "type": "reference", + "id": 8703, + "name": "ButtonStyle.Link" + } + ], + "name": "APIButtonComponentBase" + } + ] + }, + { + "id": 8349, + "name": "APIChannelBase", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "This interface is used to allow easy extension for other channel types. While\nalso allowing `APIPartialChannel` to be used without breaking." + }, + "children": [ + { + "id": 8351, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8731, + "name": "ChannelFlags" + } + }, + { + "id": 8352, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8346, + "name": "APIPartialChannel.id" + } + }, + { + "id": 8353, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8348, + "name": "APIPartialChannel.name" + } + }, + { + "id": 8350, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8354, + "name": "T" + }, + "overwrites": { + "type": "reference", + "id": 8347, + "name": "APIPartialChannel.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8351, + 8352, + 8353, + 8350 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 38, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 8354, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 8452, + "name": "ChannelType" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8345, + "name": "APIPartialChannel" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 8357, + "name": "APITextBasedChannel" + }, + { + "type": "reference", + "id": 8364, + "name": "APIGuildChannel" + } + ] + }, + { + "id": 8646, + "name": "APIChannelMention", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-mention-object-channel-mention-structure" + }, + "children": [ + { + "id": 8648, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild containing the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1091, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8647, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1087, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8650, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1101, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8649, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1097, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8452, + "name": "ChannelType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8648, + 8647, + 8650, + 8649 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1083, + "character": 17 + } + ] + }, + { + "id": 10014, + "name": "APIChannelPatchOverwrite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 10016, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all allowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 421, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 10094, + "name": "RESTPutAPIChannelPermissionJSONBody.allow" + } + }, + { + "id": 10017, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all disallowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 429, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 10095, + "name": "RESTPutAPIChannelPermissionJSONBody.deny" + } + }, + { + "id": 10015, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10018, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`0` for a role or `1` for a member" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 433, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8560, + "name": "OverwriteType" + }, + "inheritedFrom": { + "type": "reference", + "id": 10096, + "name": "RESTPutAPIChannelPermissionJSONBody.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10016, + 10017, + 10015, + 10018 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 25, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 10093, + "name": "RESTPutAPIChannelPermissionJSONBody" + } + ] + }, + { + "id": 9189, + "name": "APIChatInputApplicationCommandInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure" + }, + "children": [ + { + "id": 9195, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/internals.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.guild_id" + } + }, + { + "id": 9192, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/internals.ts", + "line": 5, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.id" + } + }, + { + "id": 9194, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/internals.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.name" + } + }, + { + "id": 9190, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 115, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9187, + "name": "APIApplicationCommandInteractionDataOption" + } + } + }, + { + "id": 9191, + "name": "resolved", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 116, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9196, + "name": "APIChatInputApplicationCommandInteractionDataResolved" + } + }, + { + "id": 9193, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/internals.ts", + "line": 6, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9160, + "name": "ChatInput" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9195, + 9192, + 9194, + 9190, + 9191, + 9193 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 113, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9160, + "name": "ApplicationCommandType.ChatInput" + } + ], + "name": "APIBaseApplicationCommandInteractionData" + } + ] + }, + { + "id": 9196, + "name": "APIChatInputApplicationCommandInteractionDataResolved", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-resolved-data-structure" + }, + "children": [ + { + "id": 9201, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 127, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 8635, + "name": "APIAttachment" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 9200, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 126, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 9164, + "name": "APIInteractionDataResolvedChannel" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 9199, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 125, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 9171, + "name": "APIInteractionDataResolvedGuildMember" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 9198, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 124, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 9509, + "name": "APIRole" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 9197, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 123, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9201, + 9200, + 9199, + 9198, + 9197 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 122, + "character": 17 + } + ] + }, + { + "id": 9443, + "name": "APICommandAutocompleteInteractionResponseCallbackData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9444, + "name": "choices", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 105, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9246, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "APIApplicationCommandOptionChoice" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9444 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 104, + "character": 17 + } + ] + }, + { + "id": 9648, + "name": "APIConnection", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#connection-object" + }, + "children": [ + { + "id": 9655, + "name": "friend_sync", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether friend sync is enabled for this connection" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 192, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9649, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the connection account" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 166, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9653, + "name": "integrations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An array of partial server integrations", + "text": "See https://discord.com/developers/docs/resources/guild#integration-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 184, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8993, + "name": "APIGuildIntegration" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + } + }, + { + "id": 9650, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The username of the connection account" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 170, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9652, + "name": "revoked", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the connection is revoked" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 178, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9656, + "name": "show_activity", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether activities related to this connection will be shown in presence updates" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 196, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9651, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The service of the connection" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 174, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9654, + "name": "verified", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the connection is verified" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 188, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9657, + "name": "visibility", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Visibility of this connection", + "text": "See https://discord.com/developers/docs/resources/user#connection-object-visibility-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 202, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9658, + "name": "ConnectionVisibility" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9655, + 9649, + 9653, + 9650, + 9652, + 9656, + 9651, + 9654, + 9657 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 162, + "character": 17 + } + ] + }, + { + "id": 8584, + "name": "APIEmbed", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-structure", + "text": "Length limit: 6000 characters\n" + }, + "children": [ + { + "id": 8596, + "name": "author", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Author information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 848, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8622, + "name": "APIEmbedAuthor" + } + }, + { + "id": 8590, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Color code of the embed" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 812, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8587, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Description of embed", + "text": "Length limit: 4096 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 800, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8597, + "name": "fields", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Fields information", + "text": "Length limit: 25 field objects\n\nSee https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 856, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8631, + "name": "APIEmbedField" + } + } + }, + { + "id": 8591, + "name": "footer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Footer information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 818, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8627, + "name": "APIEmbedFooter" + } + }, + { + "id": 8592, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Image information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 824, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8614, + "name": "APIEmbedImage" + } + }, + { + "id": 8595, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Provider information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-provider-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 842, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8619, + "name": "APIEmbedProvider" + } + }, + { + "id": 8593, + "name": "thumbnail", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Thumbnail information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 830, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8605, + "name": "APIEmbedThumbnail" + } + }, + { + "id": 8589, + "name": "timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of embed content" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 808, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8585, + "name": "title", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Title of embed", + "text": "Length limit: 256 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 786, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8586, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Type of embed (always \"rich\" for webhook embeds)", + "tags": [ + { + "tag": "deprecated", + "text": "*Embed types should be considered deprecated and might be removed in a future API version*\n\nSee https://discord.com/developers/docs/resources/channel#embed-object-embed-types\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 794, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8598, + "name": "EmbedType" + } + }, + { + "id": 8588, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of embed" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 804, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8594, + "name": "video", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Video information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-video-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 836, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8610, + "name": "APIEmbedVideo" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8596, + 8590, + 8587, + 8597, + 8591, + 8592, + 8595, + 8593, + 8589, + 8585, + 8586, + 8588, + 8594 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 780, + "character": 17 + } + ] + }, + { + "id": 8622, + "name": "APIEmbedAuthor", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure" + }, + "children": [ + { + "id": 8625, + "name": "icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of author icon (only supports http(s) and attachments)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 983, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8623, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of author", + "text": "Length limit: 256 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 975, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8626, + "name": "proxy_icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A proxied url of author icon" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 987, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8624, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of author" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 979, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8625, + 8623, + 8626, + 8624 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 969, + "character": 17 + } + ] + }, + { + "id": 8631, + "name": "APIEmbedField", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure" + }, + "children": [ + { + "id": 8634, + "name": "inline", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether or not this field should display inline" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1029, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8632, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the field", + "text": "Length limit: 256 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1019, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8633, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Value of the field", + "text": "Length limit: 1024 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1025, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8634, + 8632, + 8633 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1013, + "character": 17 + } + ] + }, + { + "id": 8627, + "name": "APIEmbedFooter", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure" + }, + "children": [ + { + "id": 8629, + "name": "icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of footer icon (only supports http(s) and attachments)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1003, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8630, + "name": "proxy_icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A proxied url of footer icon" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1007, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8628, + "name": "text", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Footer text", + "text": "Length limit: 2048 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 999, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8629, + 8630, + 8628 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 993, + "character": 17 + } + ] + }, + { + "id": 8614, + "name": "APIEmbedImage", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure" + }, + "children": [ + { + "id": 8617, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Height of image" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 945, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8616, + "name": "proxy_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A proxied url of the image" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 941, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8615, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Source url of image (only supports http(s) and attachments)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 937, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8618, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Width of image" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 949, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8617, + 8616, + 8615, + 8618 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 933, + "character": 17 + } + ] + }, + { + "id": 8619, + "name": "APIEmbedProvider", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-provider-structure" + }, + "children": [ + { + "id": 8620, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of provider" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 959, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8621, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of provider" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 963, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8620, + 8621 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 955, + "character": 17 + } + ] + }, + { + "id": 8605, + "name": "APIEmbedThumbnail", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure" + }, + "children": [ + { + "id": 8608, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Height of thumbnail" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 905, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8607, + "name": "proxy_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A proxied url of the thumbnail" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 901, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8606, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Source url of thumbnail (only supports http(s) and attachments)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 897, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8609, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Width of thumbnail" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 909, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8608, + 8607, + 8606, + 8609 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 893, + "character": 17 + } + ] + }, + { + "id": 8610, + "name": "APIEmbedVideo", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-video-structure" + }, + "children": [ + { + "id": 8612, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Height of video" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 923, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8611, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Source url of video" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 919, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8613, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Width of video" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 927, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8612, + 8611, + 8613 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 915, + "character": 17 + } + ] + }, + { + "id": 8742, + "name": "APIEmoji", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#emoji-object-emoji-structure" + }, + "children": [ + { + "id": 8750, + "name": "animated", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji is animated" + }, + "sources": [ + { + "fileName": "payloads/v10/emoji.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8741, + "name": "APIPartialEmoji.animated" + } + }, + { + "id": 8747, + "name": "available", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji can be used, may be false due to loss of Server Boosts" + }, + "sources": [ + { + "fileName": "payloads/v10/emoji.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8748, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji id" + }, + "sources": [ + { + "fileName": "payloads/v10/emoji.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8739, + "name": "APIPartialEmoji.id" + } + }, + { + "id": 8746, + "name": "managed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji is managed" + }, + "sources": [ + { + "fileName": "payloads/v10/emoji.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8749, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji name (can be null only in reaction emoji objects)" + }, + "sources": [ + { + "fileName": "payloads/v10/emoji.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8740, + "name": "APIPartialEmoji.name" + } + }, + { + "id": 8745, + "name": "require_colons", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji must be wrapped in colons" + }, + "sources": [ + { + "fileName": "payloads/v10/emoji.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8743, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Roles this emoji is whitelisted to" + }, + "sources": [ + { + "fileName": "payloads/v10/emoji.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 8744, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User that created this emoji" + }, + "sources": [ + { + "fileName": "payloads/v10/emoji.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8750, + 8747, + 8748, + 8746, + 8749, + 8745, + 8743, + 8744 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/emoji.ts", + "line": 30, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8738, + "name": "APIPartialEmoji" + } + ] + }, + { + "id": 9466, + "name": "APIExtendedInvite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-metadata-object" + }, + "children": [ + { + "id": 9480, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Approximate count of total members, returned from the `GET /invites/` endpoint when `with_counts` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 78, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 9459, + "name": "APIInvite.approximate_member_count" + } + }, + { + "id": 9479, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Approximate count of online members, returned from the `GET /invites/` endpoint when `with_counts` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 9458, + "name": "APIInvite.approximate_presence_count" + } + }, + { + "id": 9474, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel this invite is for", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8345, + "name": "APIPartialChannel" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 9453, + "name": "APIInvite.channel" + } + }, + { + "id": 9472, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The invite code (unique ID)" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 9451, + "name": "APIInvite.code" + } + }, + { + "id": 9471, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this invite was created" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 125, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9481, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The expiration date of this invite, returned from the `GET /invites/` endpoint when `with_expiration` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 82, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 9460, + "name": "APIInvite.expires_at" + } + }, + { + "id": 9473, + "name": "guild", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild this invite is for", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9449, + "name": "APIInviteGuild" + }, + "inheritedFrom": { + "type": "reference", + "id": 9452, + "name": "APIInvite.guild" + } + }, + { + "id": 9483, + "name": "guild_scheduled_event", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild scheduled event data, returned from the `GET /invites/` endpoint when `guild_scheduled_event_id` is a valid guild scheduled event id" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 91, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9122, + "name": "APIGuildScheduledEvent" + }, + "inheritedFrom": { + "type": "reference", + "id": 9462, + "name": "APIInvite.guild_scheduled_event" + } + }, + { + "id": 9475, + "name": "inviter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user who created the invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "id": 9454, + "name": "APIInvite.inviter" + } + }, + { + "id": 9469, + "name": "max_age", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Duration (in seconds) after which the invite expires" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 117, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 9468, + "name": "max_uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Max number of times this invite can be used" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 113, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 9482, + "name": "stage_instance", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The stage instance data if there is a public stage instance in the stage channel this invite is for", + "tags": [ + { + "tag": "deprecated", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9536, + "name": "APIInviteStageInstance" + }, + "inheritedFrom": { + "type": "reference", + "id": 9461, + "name": "APIInvite.stage_instance" + } + }, + { + "id": 9478, + "name": "target_application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The embedded application to open for this voice channel embedded application invite", + "text": "See https://discord.com/developers/docs/topics/oauth2#application\n" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8158, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + "inheritedFrom": { + "type": "reference", + "id": 9457, + "name": "APIInvite.target_application" + } + }, + { + "id": 9476, + "name": "target_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of target for this voice channel invite", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object-target-user-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9463, + "name": "InviteTargetType" + }, + "inheritedFrom": { + "type": "reference", + "id": 9455, + "name": "APIInvite.target_type" + } + }, + { + "id": 9477, + "name": "target_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user whose stream to display for this voice channel stream invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "id": 9456, + "name": "APIInvite.target_user" + } + }, + { + "id": 9470, + "name": "temporary", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this invite only grants temporary membership" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 121, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9467, + "name": "uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Number of times this invite has been used" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 109, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9480, + 9479, + 9474, + 9472, + 9471, + 9481, + 9473, + 9483, + 9475, + 9469, + 9468, + 9482, + 9478, + 9476, + 9477, + 9470, + 9467 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 105, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 9450, + "name": "APIInvite" + } + ] + }, + { + "id": 9105, + "name": "APIExternalGuildScheduledEvent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9106, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.channel_id" + } + }, + { + "id": 9119, + "name": "creator", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator" + } + }, + { + "id": 9110, + "name": "creator_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator_id" + } + }, + { + "id": 9112, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.description" + } + }, + { + "id": 9118, + "name": "entity_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_id" + } + }, + { + "id": 9107, + "name": "entity_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 86, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9123, + "name": "APIGuildScheduledEventEntityMetadata" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_metadata" + } + }, + { + "id": 9117, + "name": "entity_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9128, + "name": "External" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_type" + } + }, + { + "id": 9109, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild id which the scheduled event belongs to" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.guild_id" + } + }, + { + "id": 9108, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.id" + } + }, + { + "id": 9121, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The cover image of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.image" + } + }, + { + "id": 9111, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.name" + } + }, + { + "id": 9115, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9135, + "name": "GuildOnly" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.privacy_level" + } + }, + { + "id": 9114, + "name": "scheduled_end_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the guild event will end, or `null` if the event does not have a scheduled time to end" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_end_time" + } + }, + { + "id": 9113, + "name": "scheduled_start_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time the scheduled event will start" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_start_time" + } + }, + { + "id": 9116, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The status of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9129, + "name": "GuildScheduledEventStatus" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.status" + } + }, + { + "id": 9120, + "name": "user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of users subscribed to the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.user_count" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9106, + 9119, + 9110, + 9112, + 9118, + 9107, + 9117, + 9109, + 9108, + 9121, + 9111, + 9115, + 9114, + 9113, + 9116, + 9120 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 83, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9128, + "name": "GuildScheduledEventEntityType.External" + } + ], + "name": "APIGuildScheduledEventBase" + } + ] + }, + { + "id": 8548, + "name": "APIFollowedChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#followed-channel-object" + }, + "children": [ + { + "id": 8549, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Source channel id" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 633, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8550, + "name": "webhook_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Created target webhook id" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 637, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8549, + 8550 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 629, + "character": 17 + } + ] + }, + { + "id": 8753, + "name": "APIGatewayBotInfo", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway-bot" + }, + "children": [ + { + "id": 8755, + "name": "session_start_limit", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Information on the current session start limit", + "text": "See https://discord.com/developers/docs/topics/gateway#session-start-limit-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8757, + "name": "APIGatewaySessionStartLimit" + } + }, + { + "id": 8754, + "name": "shards", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The recommended number of shards to use when connecting", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8756, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The WSS URL that can be used for connecting to the gateway" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8752, + "name": "APIGatewayInfo.url" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8755, + 8754, + 8756 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 23, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8751, + "name": "APIGatewayInfo" + } + ] + }, + { + "id": 8751, + "name": "APIGatewayInfo", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway" + }, + "children": [ + { + "id": 8752, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The WSS URL that can be used for connecting to the gateway" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8752 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 13, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 8753, + "name": "APIGatewayBotInfo" + } + ] + }, + { + "id": 8757, + "name": "APIGatewaySessionStartLimit", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#session-start-limit-object" + }, + "children": [ + { + "id": 8761, + "name": "max_concurrency", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The number of identify requests allowed per 5 seconds" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8759, + "name": "remaining", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The remaining number of session starts the current user is allowed" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8760, + "name": "reset_after", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The number of milliseconds after which the limit resets" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8758, + "name": "total", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The total number of session starts the current user is allowed" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8761, + 8759, + 8760, + 8758 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 41, + "character": 17 + } + ] + }, + { + "id": 8423, + "name": "APIGroupDMChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 8424, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Application id of the group DM creator if it is bot-created" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 169, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8431, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8731, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.flags" + } + }, + { + "id": 8425, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Icon hash" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 173, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8429, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.id" + } + }, + { + "id": 8428, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this channel (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 185, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "name": "Omit.last_message_id" + } + }, + { + "id": 8426, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 177, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8427, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the DM creator" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 181, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8432, + "name": "recipients", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The recipients of the DM", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 160, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.recipients" + } + }, + { + "id": 8430, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8456, + "name": "GroupDM" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8424, + 8431, + 8425, + 8429, + 8428, + 8426, + 8427, + 8432, + 8430 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 165, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8456, + "name": "ChannelType.GroupDM" + } + ], + "name": "APIDMChannelBase" + }, + { + "type": "literal", + "value": "name" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + }, + { + "id": 8862, + "name": "APIGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-guild-structure" + }, + "children": [ + { + "id": 8869, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of afk channel" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 122, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8870, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "afk timeout in seconds" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 126, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8880, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Application id of the guild creator if it is bot-created" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 180, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8894, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "**This field is only received from https://discord.com/developers/docs/resources/guild#get-guild with the `with_counts` query parameter set to `true`**" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 244, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8895, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "**This field is only received from https://discord.com/developers/docs/resources/guild#get-guild with the `with_counts` query parameter set to `true`**" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 248, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8888, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Banner hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 216, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "id": 8854, + "name": "APIPartialGuild.banner" + } + }, + { + "id": 8874, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Default message notifications level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 146, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8906, + "name": "GuildDefaultMessageNotifications" + } + }, + { + "id": 8887, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description for the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 210, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "id": 8855, + "name": "APIPartialGuild.description" + } + }, + { + "id": 8864, + "name": "discovery_splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Discovery splash hash; only present for guilds with the \"DISCOVERABLE\" feature", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 93, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8877, + "name": "emojis", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Custom guild emojis", + "text": "See https://discord.com/developers/docs/resources/emoji#emoji-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 164, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8742, + "name": "APIEmoji" + } + } + }, + { + "id": 8875, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Explicit content filter level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 152, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8909, + "name": "GuildExplicitContentFilter" + } + }, + { + "id": 8878, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Enabled guild features", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-features\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 170, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8941, + "name": "GuildFeature" + } + }, + "overwrites": { + "type": "reference", + "id": 8856, + "name": "APIPartialGuild.features" + } + }, + { + "id": 8900, + "name": "hub_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of Student Hub the guild is" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 274, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 8932, + "name": "GuildHubType" + } + ] + } + }, + { + "id": 8902, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Icon hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8852, + "name": "APIPartialGuild.icon" + } + }, + { + "id": 8863, + "name": "icon_hash", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Icon hash, returned when in the template object", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8905, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild id" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8860, + "name": "APIPartialGuild.id" + } + }, + { + "id": 8885, + "name": "max_members", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The maximum number of members for the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 202, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8884, + "name": "max_presences", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The maximum number of presences for the guild (`null` is always returned, apart from the largest of guilds)" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 198, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 8893, + "name": "max_video_channel_users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The maximum amount of users in a video channel" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 240, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8879, + "name": "mfa_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Required MFA level for the guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-mfa-level\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 176, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8913, + "name": "GuildMFALevel" + } + }, + { + "id": 8901, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild name (2-100 characters, excluding trailing and leading whitespace)" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8851, + "name": "APIPartialGuild.name" + } + }, + { + "id": 8897, + "name": "nsfw_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The nsfw level of the guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 260, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8916, + "name": "GuildNSFWLevel" + } + }, + { + "id": 8865, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if the user is the owner of the guild", + "text": "**This field is only received from https://discord.com/developers/docs/resources/user#get-current-user-guilds**\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 99, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8866, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of owner" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 103, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8867, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Total permissions for the user in the guild (excludes overrides)", + "text": "**This field is only received from https://discord.com/developers/docs/resources/user#get-current-user-guilds**\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 111, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8891, + "name": "preferred_locale", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The preferred locale of a Community guild; used in guild discovery and notices from Discord; defaults to \"en-US\"", + "tags": [ + { + "tag": "default", + "text": "\"en-US\"\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 232, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8899, + "name": "premium_progress_bar_enabled", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the guild has the boost progress bar enabled." + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 270, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8890, + "name": "premium_subscription_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of boosts this guild currently has" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 226, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8889, + "name": "premium_tier", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Premium tier (Server Boost level)", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-premium-tier\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 222, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8927, + "name": "GuildPremiumTier" + } + }, + { + "id": 8892, + "name": "public_updates_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel where admins and moderators of Community guilds receive notices from Discord" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 236, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8868, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Voice region id for the guild", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object", + "tags": [ + { + "tag": "deprecated", + "text": "This field has been deprecated in favor of `rtc_region` on the channel.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 118, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8876, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Roles in the guild", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 158, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9509, + "name": "APIRole" + } + } + }, + { + "id": 8883, + "name": "rules_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel where Community guilds can display rules and/or guidelines" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 194, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8903, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Splash hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8853, + "name": "APIPartialGuild.splash" + } + }, + { + "id": 8898, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Custom guild stickers", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 266, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9541, + "name": "APISticker" + } + } + }, + { + "id": 8882, + "name": "system_channel_flags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "System channel flags", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 190, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8936, + "name": "GuildSystemChannelFlags" + } + }, + { + "id": 8881, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel where guild notices such as welcome messages and boost events are posted" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 184, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8904, + "name": "unavailable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if this guild is unavailable due to an outage" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8859, + "name": "APIPartialGuild.unavailable" + } + }, + { + "id": 8886, + "name": "vanity_url_code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The vanity url code for the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 206, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "id": 8858, + "name": "APIPartialGuild.vanity_url_code" + } + }, + { + "id": 8873, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Verification level required for the guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 140, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8921, + "name": "GuildVerificationLevel" + }, + "overwrites": { + "type": "reference", + "id": 8857, + "name": "APIPartialGuild.verification_level" + } + }, + { + "id": 8896, + "name": "welcome_screen", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The welcome screen of a Community guild, shown to new members", + "text": "Returned in the invite object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 254, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9052, + "name": "APIGuildWelcomeScreen" + }, + "overwrites": { + "type": "reference", + "id": 8861, + "name": "APIPartialGuild.welcome_screen" + } + }, + { + "id": 8872, + "name": "widget_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel id that the widget will generate an invite to, or `null` if set to no invite" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 134, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8871, + "name": "widget_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if the guild widget is enabled" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 130, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8869, + 8870, + 8880, + 8894, + 8895, + 8888, + 8874, + 8887, + 8864, + 8877, + 8875, + 8878, + 8900, + 8902, + 8863, + 8905, + 8885, + 8884, + 8893, + 8879, + 8901, + 8897, + 8865, + 8866, + 8867, + 8891, + 8899, + 8890, + 8889, + 8892, + 8868, + 8876, + 8883, + 8903, + 8898, + 8882, + 8881, + 8904, + 8886, + 8873, + 8896, + 8872, + 8871 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 81, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8850, + "name": "APIPartialGuild" + } + ] + }, + { + "id": 9312, + "name": "APIGuildApplicationCommandPermissions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-guild-application-command-permissions-structure" + }, + "children": [ + { + "id": 9314, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the application the command belongs to" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9315, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9313, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the command or the application id if that permission applies to all commands" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9316, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The permissions for the command in the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9317, + "name": "APIApplicationCommandPermission" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9314, + 9315, + 9313, + 9316 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 6, + "character": 17 + } + ] + }, + { + "id": 8364, + "name": "APIGuildChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 8371, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8731, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "id": 8351, + "name": "APIChannelBase.flags" + } + }, + { + "id": 8365, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8372, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8352, + "name": "APIChannelBase.id" + } + }, + { + "id": 8373, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8353, + "name": "APIChannelBase.name" + } + }, + { + "id": 8369, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8368, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)", + "text": "OR\n\nID of the parent channel for a thread\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8366, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8555, + "name": "APIOverwrite" + } + } + }, + { + "id": 8367, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8370, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8374, + "name": "T" + }, + "inheritedFrom": { + "type": "reference", + "id": 8350, + "name": "APIChannelBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8371, + 8365, + 8372, + 8373, + 8369, + 8368, + 8366, + 8367, + 8370 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 66, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 8374, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 8452, + "name": "ChannelType" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8349, + "typeArguments": [ + { + "type": "reference", + "id": 8374, + "name": "T" + } + ], + "name": "APIChannelBase" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 8376, + "name": "APIGuildTextChannel" + }, + { + "type": "reference", + "id": 8408, + "name": "APIVoiceChannel" + }, + { + "type": "reference", + "id": 8433, + "name": "APIThreadChannel" + } + ] + }, + { + "id": 10163, + "name": "APIGuildCreateOverwrite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 10165, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all allowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 421, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 10094, + "name": "RESTPutAPIChannelPermissionJSONBody.allow" + } + }, + { + "id": 10166, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all disallowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 429, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 10095, + "name": "RESTPutAPIChannelPermissionJSONBody.deny" + } + }, + { + "id": 10164, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 10167, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`0` for a role or `1` for a member" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 433, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8560, + "name": "OverwriteType" + }, + "inheritedFrom": { + "type": "reference", + "id": 10096, + "name": "RESTPutAPIChannelPermissionJSONBody.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10165, + 10166, + 10164, + 10167 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 36, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 10093, + "name": "RESTPutAPIChannelPermissionJSONBody" + } + ] + }, + { + "id": 10175, + "name": "APIGuildCreateRole", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 10179, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "RGB color value", + "tags": [ + { + "tag": "default", + "text": "0\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 598, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.color" + } + }, + { + "id": 10180, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be displayed separately in the sidebar", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 604, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.hoist" + } + }, + { + "id": 10181, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's icon image (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 608, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.icon" + } + }, + { + "id": 10176, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 10183, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be mentionable", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 618, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.mentionable" + } + }, + { + "id": 10177, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the role", + "tags": [ + { + "tag": "default", + "text": "\"new role\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 586, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.name" + } + }, + { + "id": 10178, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Bitwise value of the enabled/disabled permissions", + "tags": [ + { + "tag": "default", + "text": "\"default role permissions in guild\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 592, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.permissions" + } + }, + { + "id": 10182, + "name": "unicode_emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's unicode emoji as a standard emoji (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 612, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.unicode_emoji" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10179, + 10180, + 10181, + 10176, + 10183, + 10177, + 10178, + 10182 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 64, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 10287, + "name": "RESTPostAPIGuildRoleJSONBody" + } + ] + }, + { + "id": 8993, + "name": "APIGuildIntegration", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-object" + }, + "children": [ + { + "id": 9004, + "name": "account", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration account information", + "text": "See https://discord.com/developers/docs/resources/guild#integration-account-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 678, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9013, + "name": "APIIntegrationAccount" + } + }, + { + "id": 9008, + "name": "application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bot/OAuth2 application for discord integrations", + "text": "See https://discord.com/developers/docs/resources/guild#integration-application-object\n\n**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 704, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9016, + "name": "APIGuildIntegrationApplication" + } + }, + { + "id": 9000, + "name": "enable_emoticons", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether emoticons should be synced for this integration (`twitch` only currently)", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 650, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8997, + "name": "enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Is this integration enabled" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 632, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9001, + "name": "expire_behavior", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The behavior of expiring subscribers", + "text": "**This field is not provided for `discord` bot integrations.**\n\nSee https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 658, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9010, + "name": "IntegrationExpireBehavior" + } + }, + { + "id": 9002, + "name": "expire_grace_period", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The grace period (in days) before expiring subscribers", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 664, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8994, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration id" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 620, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8995, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration name" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 624, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9007, + "name": "revoked", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Has this integration been revoked", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 696, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8999, + "name": "role_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID that this integration uses for \"subscribers\"", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 644, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9006, + "name": "subscriber_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "How many subscribers this integration has", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 690, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 9005, + "name": "synced_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When this integration was last synced", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 684, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8998, + "name": "syncing", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Is this integration syncing", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 638, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8996, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration type" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 628, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9009, + "name": "APIGuildIntegrationType" + } + }, + { + "id": 9003, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User for this integration", + "text": "**This field is not provided for `discord` bot integrations.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 672, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9004, + 9008, + 9000, + 8997, + 9001, + 9002, + 8994, + 8995, + 9007, + 8999, + 9006, + 9005, + 8998, + 8996, + 9003 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 616, + "character": 17 + } + ] + }, + { + "id": 9016, + "name": "APIGuildIntegrationApplication", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-application-object" + }, + "children": [ + { + "id": 9021, + "name": "bot", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bot associated with this application", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 758, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + }, + { + "id": 9020, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description of the app" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 752, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9019, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The icon hash of the app", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 748, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9017, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the app" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 738, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9018, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the app" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 742, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9021, + 9020, + 9019, + 9017, + 9018 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 734, + "character": 17 + } + ] + }, + { + "id": 8982, + "name": "APIGuildMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-member-object" + }, + "children": [ + { + "id": 8985, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member's guild avatar hash" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 576, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8992, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 610, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8989, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is deafened in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 596, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8987, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the user joined the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 586, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8990, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is muted in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 600, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8984, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "This users guild nickname" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 572, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8991, + "name": "pending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has not yet passed the guild's Membership Screening requirements", + "text": "*If this field is not present, it can be assumed as `false`.*\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 606, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8988, + "name": "premium_since", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the user started boosting the guild", + "text": "See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 592, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8986, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of role object ids", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 582, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 8983, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user this guild member represents", + "text": "**This field won't be included in the member object attached to `MESSAGE_CREATE` and `MESSAGE_UPDATE` gateway events.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 568, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8985, + 8992, + 8989, + 8987, + 8990, + 8984, + 8991, + 8988, + 8986, + 8983 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 560, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 7919, + "name": "GatewayGuildMemberAddDispatchData" + }, + { + "type": "reference", + "id": 9345, + "name": "APIInteractionGuildMember" + } + ] + }, + { + "id": 9060, + "name": "APIGuildMembershipScreening", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9063, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The server description shown in the screening form" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 878, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9062, + "name": "form_fields", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The steps in the screening form" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 874, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9064, + "name": "APIGuildMembershipScreeningField" + } + } + }, + { + "id": 9061, + "name": "version", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the fields were last updated" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 870, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9063, + 9062, + 9061 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 866, + "character": 17 + } + ] + }, + { + "id": 9064, + "name": "APIGuildMembershipScreeningField", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9065, + "name": "field_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of field" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 887, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9070, + "name": "Terms" + } + }, + { + "id": 9066, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The title of the field" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 891, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9068, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user has to fill out this field" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 899, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9067, + "name": "values", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The list of rules" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 895, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9065, + 9066, + 9068, + 9067 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 883, + "character": 17 + } + ] + }, + { + "id": 8967, + "name": "APIGuildPreview", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-preview-object" + }, + "children": [ + { + "id": 8975, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Approximate number of members in this guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 528, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8976, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Approximate number of online members in this guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 532, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8977, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description for the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 536, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8972, + "name": "discovery_splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Discovery splash hash; only present for guilds with the \"DISCOVERABLE\" feature", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 512, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8973, + "name": "emojis", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Custom guild emojis", + "text": "See https://discord.com/developers/docs/resources/emoji#emoji-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 518, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8742, + "name": "APIEmoji" + } + } + }, + { + "id": 8974, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Enabled guild features", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-features\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 524, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8941, + "name": "GuildFeature" + } + } + }, + { + "id": 8970, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Icon hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 500, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8968, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild id" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 490, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8969, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild name (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 494, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8971, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Splash hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 506, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8978, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Custom guild stickers" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 540, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9541, + "name": "APISticker" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8975, + 8976, + 8977, + 8972, + 8973, + 8974, + 8970, + 8968, + 8969, + 8971, + 8978 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 486, + "character": 17 + } + ] + }, + { + "id": 9123, + "name": "APIGuildScheduledEventEntityMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-entity-metadata" + }, + "children": [ + { + "id": 9124, + "name": "location", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The location of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 104, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9124 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 100, + "character": 17 + } + ] + }, + { + "id": 9136, + "name": "APIGuildScheduledEventUser", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-user-object-guild-scheduled-event-user-structure" + }, + "children": [ + { + "id": 9137, + "name": "guild_scheduled_event_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The scheduled event id which the user subscribed to" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 143, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9139, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild member data for this user for the guild which this event belongs to, if any" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 151, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + } + }, + { + "id": 9138, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user which subscribed to the event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 147, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9137, + 9139, + 9138 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 139, + "character": 17 + } + ] + }, + { + "id": 8376, + "name": "APIGuildTextChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 8377, + "name": "default_auto_archive_duration", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default duration for newly created threads, in minutes, to automatically archive the thread after recent activity" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 103, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8570, + "name": "ThreadAutoArchiveDuration" + } + }, + { + "id": 8382, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8731, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "id": 8371, + "name": "APIGuildChannel.flags" + } + }, + { + "id": 8385, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8365, + "name": "APIGuildChannel.guild_id" + } + }, + { + "id": 8383, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8372, + "name": "APIGuildChannel.id" + } + }, + { + "id": 8380, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this channel (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8358, + "name": "APITextBasedChannel.last_message_id" + } + }, + { + "id": 8379, + "name": "last_pin_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the last pinned message was pinned.\nThis may be `null` in events such as `GUILD_CREATE` when a message is not pinned" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 112, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8384, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8373, + "name": "APIGuildChannel.name" + } + }, + { + "id": 8389, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8369, + "name": "APIGuildChannel.nsfw" + } + }, + { + "id": 8388, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)", + "text": "OR\n\nID of the parent channel for a thread\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8368, + "name": "APIGuildChannel.parent_id" + } + }, + { + "id": 8386, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8555, + "name": "APIOverwrite" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 8366, + "name": "APIGuildChannel.permission_overwrites" + } + }, + { + "id": 8387, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 8367, + "name": "APIGuildChannel.position" + } + }, + { + "id": 8378, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel topic (0-1024 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8381, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8390, + "name": "T" + }, + "inheritedFrom": { + "type": "reference", + "id": 8370, + "name": "APIGuildChannel.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8377, + 8382, + 8385, + 8383, + 8380, + 8379, + 8384, + 8389, + 8388, + 8386, + 8387, + 8378, + 8381 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 97, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 8390, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 8375, + "name": "GuildTextChannelType" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8357, + "typeArguments": [ + { + "type": "reference", + "id": 8390, + "name": "T" + } + ], + "name": "APITextBasedChannel" + }, + { + "type": "reference", + "id": 8364, + "typeArguments": [ + { + "type": "reference", + "id": 8390, + "name": "T" + } + ], + "name": "APIGuildChannel" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 8391, + "name": "APITextChannel" + } + ] + }, + { + "id": 9052, + "name": "APIGuildWelcomeScreen", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9053, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The welcome screen short message" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 840, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9054, + "name": "welcome_channels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of suggested channels" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 844, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9055, + "name": "APIGuildWelcomeScreenChannel" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9053, + 9054 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 836, + "character": 17 + } + ] + }, + { + "id": 9055, + "name": "APIGuildWelcomeScreenChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9056, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel id that is suggested" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 851, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9057, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description shown for the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 855, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9058, + "name": "emoji_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The emoji id of the emoji that is shown on the left of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 859, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9059, + "name": "emoji_name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The emoji name of the emoji that is shown on the left of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 863, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9056, + 9057, + 9058, + 9059 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 847, + "character": 17 + } + ] + }, + { + "id": 9025, + "name": "APIGuildWidget", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-example-get-guild-widget" + }, + "children": [ + { + "id": 9029, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 782, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9032, + "name": "APIGuildWidgetChannel" + } + } + }, + { + "id": 9026, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 779, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9028, + "name": "instant_invite", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 781, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9030, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 783, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9036, + "name": "APIGuildWidgetMember" + } + } + }, + { + "id": 9027, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 780, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9031, + "name": "presence_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 784, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9029, + 9026, + 9028, + 9030, + 9027, + 9031 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 778, + "character": 17 + } + ] + }, + { + "id": 9032, + "name": "APIGuildWidgetChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-example-get-guild-widget" + }, + "children": [ + { + "id": 9033, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 791, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9034, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 792, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9035, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 793, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9033, + 9034, + 9035 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 790, + "character": 17 + } + ] + }, + { + "id": 9036, + "name": "APIGuildWidgetMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-example-get-guild-widget" + }, + "children": [ + { + "id": 9042, + "name": "activity", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 805, + "character": 1 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 9043, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 9044, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 805, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9044 + ] + } + ] + } + } + }, + { + "id": 9040, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 803, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9045, + "name": "avatar_url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 806, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9039, + "name": "discriminator", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 802, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9037, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 800, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9041, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 804, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8768, + "name": "PresenceUpdateStatus" + } + }, + { + "id": 9038, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 801, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9042, + 9040, + 9045, + 9039, + 9037, + 9041, + 9038 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 799, + "character": 17 + } + ] + }, + { + "id": 8979, + "name": "APIGuildWidgetSettings", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-widget-object" + }, + "children": [ + { + "id": 8981, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The widget channel id" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 554, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8980, + "name": "enabled", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the widget is enabled" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 550, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8981, + 8980 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 546, + "character": 17 + } + ] + }, + { + "id": 9013, + "name": "APIIntegrationAccount", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-account-object" + }, + "children": [ + { + "id": 9014, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the account" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 724, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9015, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the account" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 728, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9014, + 9015 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 720, + "character": 17 + } + ] + }, + { + "id": 9164, + "name": "APIInteractionDataResolvedChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-object" + }, + "children": [ + { + "id": 9168, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Required.id" + } + }, + { + "id": 9170, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Required.name" + } + }, + { + "id": 9167, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 116, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9166, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 115, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9165, + "name": "thread_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 114, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 8563, + "name": "APIThreadMetadata" + } + ] + } + }, + { + "id": 9169, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8452, + "name": "ChannelType" + }, + "inheritedFrom": { + "type": "reference", + "name": "Required.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9168, + 9170, + 9167, + 9166, + 9165, + 9169 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 113, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8345, + "name": "APIPartialChannel" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + }, + { + "id": 9171, + "name": "APIInteractionDataResolvedGuildMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-member-object" + }, + "children": [ + { + "id": 9177, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member's guild avatar hash" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 576, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.avatar" + } + }, + { + "id": 9179, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 610, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.communication_disabled_until" + } + }, + { + "id": 9175, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the user joined the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 586, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.joined_at" + } + }, + { + "id": 9173, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "This users guild nickname" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 572, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.nick" + } + }, + { + "id": 9178, + "name": "pending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has not yet passed the guild's Membership Screening requirements", + "text": "*If this field is not present, it can be assumed as `false`.*\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 606, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.pending" + } + }, + { + "id": 9172, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 123, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9176, + "name": "premium_since", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the user started boosting the guild", + "text": "See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 592, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.premium_since" + } + }, + { + "id": 9174, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of role object ids", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 582, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.roles" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9177, + 9179, + 9175, + 9173, + 9178, + 9172, + 9176, + 9174 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 122, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "user" + }, + { + "type": "literal", + "value": "deaf" + }, + { + "type": "literal", + "value": "mute" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + }, + { + "id": 9345, + "name": "APIInteractionGuildMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-member-object" + }, + "children": [ + { + "id": 9349, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member's guild avatar hash" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 576, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8985, + "name": "APIGuildMember.avatar" + } + }, + { + "id": 9356, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 610, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8992, + "name": "APIGuildMember.communication_disabled_until" + } + }, + { + "id": 9353, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is deafened in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 596, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8989, + "name": "APIGuildMember.deaf" + } + }, + { + "id": 9351, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the user joined the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 586, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8987, + "name": "APIGuildMember.joined_at" + } + }, + { + "id": 9354, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is muted in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 600, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8990, + "name": "APIGuildMember.mute" + } + }, + { + "id": 9348, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "This users guild nickname" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 572, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8984, + "name": "APIGuildMember.nick" + } + }, + { + "id": 9355, + "name": "pending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has not yet passed the guild's Membership Screening requirements", + "text": "*If this field is not present, it can be assumed as `false`.*\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 606, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8991, + "name": "APIGuildMember.pending" + } + }, + { + "id": 9346, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9352, + "name": "premium_since", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the user started boosting the guild", + "text": "See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 592, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8988, + "name": "APIGuildMember.premium_since" + } + }, + { + "id": 9350, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of role object ids", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 582, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 8986, + "name": "APIGuildMember.roles" + } + }, + { + "id": 9347, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user this guild member represents", + "text": "**This field won't be included in the member object attached to `MESSAGE_CREATE` and `MESSAGE_UPDATE` gateway events.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + }, + "overwrites": { + "type": "reference", + "id": 8983, + "name": "APIGuildMember.user" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9349, + 9356, + 9353, + 9351, + 9354, + 9348, + 9355, + 9346, + 9352, + 9350, + 9347 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 50, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + } + ] + }, + { + "id": 9421, + "name": "APIInteractionResponseChannelMessageWithSource", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9423, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9440, + "name": "APIInteractionResponseCallbackData" + } + }, + { + "id": 9422, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9434, + "name": "ChannelMessageWithSource" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9423, + 9422 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 43, + "character": 17 + } + ] + }, + { + "id": 9424, + "name": "APIInteractionResponseDeferredChannelMessageWithSource", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9426, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9440, + "name": "APIInteractionResponseCallbackData" + }, + { + "type": "literal", + "value": "flags" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 9425, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9435, + "name": "DeferredChannelMessageWithSource" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9426, + 9425 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 48, + "character": 17 + } + ] + }, + { + "id": 9427, + "name": "APIInteractionResponseDeferredMessageUpdate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9428, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 54, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9436, + "name": "DeferredMessageUpdate" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9428 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 53, + "character": 17 + } + ] + }, + { + "id": 9413, + "name": "APIInteractionResponsePong", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9414, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9433, + "name": "Pong" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9414 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 29, + "character": 17 + } + ] + }, + { + "id": 9429, + "name": "APIInteractionResponseUpdateMessage", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9431, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9440, + "name": "APIInteractionResponseCallbackData" + } + }, + { + "id": 9430, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9437, + "name": "UpdateMessage" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9431, + 9430 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 57, + "character": 17 + } + ] + }, + { + "id": 9450, + "name": "APIInvite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-object" + }, + "children": [ + { + "id": 9459, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Approximate count of total members, returned from the `GET /invites/` endpoint when `with_counts` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 78, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 9458, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Approximate count of online members, returned from the `GET /invites/` endpoint when `with_counts` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 9453, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel this invite is for", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8345, + "name": "APIPartialChannel" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 9451, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The invite code (unique ID)" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9460, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The expiration date of this invite, returned from the `GET /invites/` endpoint when `with_expiration` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 82, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9452, + "name": "guild", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild this invite is for", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9449, + "name": "APIInviteGuild" + } + }, + { + "id": 9462, + "name": "guild_scheduled_event", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild scheduled event data, returned from the `GET /invites/` endpoint when `guild_scheduled_event_id` is a valid guild scheduled event id" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 91, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9122, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 9454, + "name": "inviter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user who created the invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + }, + { + "id": 9461, + "name": "stage_instance", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The stage instance data if there is a public stage instance in the stage channel this invite is for", + "tags": [ + { + "tag": "deprecated", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9536, + "name": "APIInviteStageInstance" + } + }, + { + "id": 9457, + "name": "target_application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The embedded application to open for this voice channel embedded application invite", + "text": "See https://discord.com/developers/docs/topics/oauth2#application\n" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8158, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 9455, + "name": "target_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of target for this voice channel invite", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object-target-user-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9463, + "name": "InviteTargetType" + } + }, + { + "id": 9456, + "name": "target_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user whose stream to display for this voice channel stream invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9459, + 9458, + 9453, + 9451, + 9460, + 9452, + 9462, + 9454, + 9461, + 9457, + 9455, + 9456 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 30, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 9466, + "name": "APIExtendedInvite" + } + ] + }, + { + "id": 9536, + "name": "APIInviteStageInstance", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-stage-instance-object-invite-stage-instance-structure" + }, + "children": [ + { + "id": 9540, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The members speaking in the stage", + "text": "See https://discord.com/developers/docs/resources/guild#guild-member-object-guild-member-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + } + } + }, + { + "id": 9538, + "name": "participant_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The number of users in the stage" + }, + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 9539, + "name": "speaker_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The number of users speaking in the stage" + }, + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 9537, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The topic of the stage instance (1-120 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9540, + 9538, + 9539, + 9537 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 58, + "character": 17 + } + ] + }, + { + "id": 8468, + "name": "APIMessage", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-structure" + }, + "children": [ + { + "id": 8491, + "name": "activity", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent with Rich Presence-related chat embeds", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-activity-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 443, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8526, + "name": "APIMessageActivity" + } + }, + { + "id": 8492, + "name": "application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent with Rich Presence-related chat embeds", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-application-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 449, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8158, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 8493, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If the message is a response to an Interaction, this is the id of the interaction's application" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 453, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8484, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Any attached files", + "text": "See https://discord.com/developers/docs/resources/channel#attachment-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 404, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8635, + "name": "APIAttachment" + } + } + }, + { + "id": 8472, + "name": "author", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The author of this message (only a valid user in the case where the message is generated by a user or bot user)", + "text": "If the message is generated by a webhook, the author object corresponds to the webhook's id,\nusername, and avatar. You can tell if a message is generated by a webhook by checking for the `webhook_id` property\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 341, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + }, + { + "id": 8470, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the channel the message was sent in" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 328, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8499, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent if the message contains components like buttons, action rows, or other interactive components" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 493, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8668, + "typeArguments": [ + { + "type": "reference", + "id": 8736, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + } + }, + { + "id": 8474, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contents of the message" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 354, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8476, + "name": "edited_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this message was edited (or null if never)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 362, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8485, + "name": "embeds", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Any embedded content", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 410, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8584, + "name": "APIEmbed" + } + } + }, + { + "id": 8495, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Message flags combined as a bitfield", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-flags\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 467, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8538, + "name": "MessageFlags" + } + }, + { + "id": 8471, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the guild the message was sent in" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 332, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8469, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the message" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 324, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8497, + "name": "interaction", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent if the message is a response to an Interaction" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 485, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9339, + "name": "APIMessageInteraction" + } + }, + { + "id": 8473, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Member properties for this message's author", + "text": "The member object exists in `MESSAGE_CREATE` and `MESSAGE_UPDATE` events\nfrom text-based guild channels\n\nSee https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 350, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + } + }, + { + "id": 8483, + "name": "mention_channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Channels specifically mentioned in this message", + "text": "Not all channel mentions in a message will appear in `mention_channels`.\n- Only textual channels that are visible to everyone in a lurkable guild will ever be included\n- Only crossposted messages (via Channel Following) currently include `mention_channels` at all\n\nIf no mentions in the message meet these requirements, this field will not be sent\n\nSee https://discord.com/developers/docs/resources/channel#channel-mention-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 398, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8646, + "name": "APIChannelMention" + } + } + }, + { + "id": 8478, + "name": "mention_everyone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this message mentions everyone" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 370, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8482, + "name": "mention_roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Roles specifically mentioned in this message", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 386, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 8479, + "name": "mentions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Users specifically mentioned in the message", + "text": "The `member` field is only present in `MESSAGE_CREATE` and `MESSAGE_UPDATE` events\nfrom text-based guild channels\n\nSee https://discord.com/developers/docs/resources/user#user-object\nSee https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 380, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 9612, + "name": "APIUser" + }, + { + "type": "reflection", + "declaration": { + "id": 8480, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 8481, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 380, + "character": 24 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8481 + ] + } + ] + } + } + ] + } + } + }, + { + "id": 8494, + "name": "message_reference", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Reference data sent with crossposted messages, replies, pins, and thread starter messages", + "text": "See https://discord.com/developers/docs/resources/channel#message-reference-object-message-reference-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 459, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8529, + "name": "APIMessageReference" + } + }, + { + "id": 8487, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A nonce that can be used for optimistic message sending (up to 25 characters)", + "text": "**You will not receive this from further fetches. This is received only once from a `MESSAGE_CREATE`\nevent to ensure it got sent**\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 423, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 8488, + "name": "pinned", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this message is pinned" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 427, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8486, + "name": "reactions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Reactions to the message", + "text": "See https://discord.com/developers/docs/resources/channel#reaction-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 416, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8551, + "name": "APIReaction" + } + } + }, + { + "id": 8496, + "name": "referenced_message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The message associated with the `message_reference`", + "text": "This field is only returned for messages with a `type` of `19` (REPLY).\n\nIf the message is a reply but the `referenced_message` field is not present,\nthe backend did not attempt to fetch the message that was being replied to,\nso its state is unknown.\n\nIf the field exists but is `null`, the referenced message was deleted\n\nSee https://discord.com/developers/docs/resources/channel#message-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 481, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + ] + } + }, + { + "id": 8500, + "name": "sticker_items", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent if the message contains stickers", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-item-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 499, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9561, + "name": "APIStickerItem" + } + } + }, + { + "id": 8501, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The stickers sent with the message", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object", + "tags": [ + { + "tag": "deprecated", + "text": "Use `sticker_items` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 506, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9541, + "name": "APISticker" + } + } + }, + { + "id": 8498, + "name": "thread", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent if a thread was started from this message" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 489, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + }, + { + "id": 8475, + "name": "timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this message was sent" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 358, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8477, + "name": "tts", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this was a TTS message" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 366, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8490, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of message", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 437, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8502, + "name": "MessageType" + } + }, + { + "id": 8489, + "name": "webhook_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If the message is generated by a webhook, this is the webhook's id" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 431, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8491, + 8492, + 8493, + 8484, + 8472, + 8470, + 8499, + 8474, + 8476, + 8485, + 8495, + 8471, + 8469, + 8497, + 8473, + 8483, + 8478, + 8482, + 8479, + 8494, + 8487, + 8488, + 8486, + 8496, + 8500, + 8501, + 8498, + 8475, + 8477, + 8490, + 8489 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 320, + "character": 17 + } + ] + }, + { + "id": 8526, + "name": "APIMessageActivity", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-activity-structure" + }, + "children": [ + { + "id": 8528, + "name": "party_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`party_id` from a Rich Presence event", + "text": "See https://discord.com/developers/docs/rich-presence/how-to#updating-presence-update-presence-payload-fields\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 553, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8527, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of message activity", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-activity-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 547, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8533, + "name": "MessageActivityType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8528, + 8527 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 541, + "character": 17 + } + ] + }, + { + "id": 9293, + "name": "APIMessageApplicationCommandInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure" + }, + "children": [ + { + "id": 9299, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/internals.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.guild_id" + } + }, + { + "id": 9296, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/internals.ts", + "line": 5, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.id" + } + }, + { + "id": 9298, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/internals.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.name" + } + }, + { + "id": 9295, + "name": "resolved", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9300, + "name": "APIMessageApplicationCommandInteractionDataResolved" + } + }, + { + "id": 9294, + "name": "target_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9297, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/internals.ts", + "line": 6, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9162, + "name": "Message" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9299, + 9296, + 9298, + 9295, + 9294, + 9297 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 32, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9162, + "name": "ApplicationCommandType.Message" + } + ], + "name": "APIBaseApplicationCommandInteractionData" + } + ] + }, + { + "id": 9300, + "name": "APIMessageApplicationCommandInteractionDataResolved", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-resolved-data-structure" + }, + "children": [ + { + "id": 9301, + "name": "messages", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9301 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 41, + "character": 17 + } + ] + }, + { + "id": 9381, + "name": "APIMessageComponentBaseInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9383, + "name": "component_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/messageComponents.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9384, + "name": "CType" + } + }, + { + "id": 9382, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The `custom_id` of the component" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/messageComponents.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9383, + 9382 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/messageComponents.ts", + "line": 40, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 9384, + "name": "CType", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 8663, + "name": "ComponentType" + } + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 9386, + "name": "APIMessageSelectMenuInteractionData" + } + ] + }, + { + "id": 8679, + "name": "APIMessageComponentEmoji", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 8682, + "name": "animated", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji is animated" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1225, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8680, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Emoji id" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1217, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8681, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Emoji name" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1221, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8682, + 8680, + 8681 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1213, + "character": 17 + } + ] + }, + { + "id": 9339, + "name": "APIMessageInteraction", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#message-interaction-object" + }, + "children": [ + { + "id": 9340, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the interaction" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9344, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild member who invoked the interaction, only sent in MESSAGE_CREATE events" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9338, + "name": "PartialAPIMessageInteractionGuildMember" + } + }, + { + "id": 9342, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the ApplicationCommand" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9341, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of interaction" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9406, + "name": "InteractionType" + } + }, + { + "id": 9343, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user who invoked the interaction" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9340, + 9344, + 9342, + 9341, + 9343 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 24, + "character": 17 + } + ] + }, + { + "id": 8529, + "name": "APIMessageReference", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-reference-object-message-reference-structure" + }, + "children": [ + { + "id": 8531, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the originating message's channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 567, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8532, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the originating message's guild" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 571, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8530, + "name": "message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the originating message" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 563, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8531, + 8532, + 8530 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 559, + "character": 17 + } + ] + }, + { + "id": 9386, + "name": "APIMessageSelectMenuInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9389, + "name": "component_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/messageComponents.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8666, + "name": "SelectMenu" + }, + "inheritedFrom": { + "type": "reference", + "id": 9383, + "name": "APIMessageComponentBaseInteractionData.component_type" + } + }, + { + "id": 9388, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The `custom_id` of the component" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/messageComponents.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 9382, + "name": "APIMessageComponentBaseInteractionData.custom_id" + } + }, + { + "id": 9387, + "name": "values", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/messageComponents.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9389, + 9388, + 9387 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/messageComponents.ts", + "line": 53, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 9381, + "typeArguments": [ + { + "type": "reference", + "id": 8666, + "name": "ComponentType.SelectMenu" + } + ], + "name": "APIMessageComponentBaseInteractionData" + } + ] + }, + { + "id": 9418, + "name": "APIModalInteractionResponse", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9420, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9445, + "name": "APIModalInteractionResponseCallbackData" + } + }, + { + "id": 9419, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9439, + "name": "Modal" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9420, + 9419 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 38, + "character": 17 + } + ] + }, + { + "id": 9445, + "name": "APIModalInteractionResponseCallbackData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-modal" + }, + "children": [ + { + "id": 9448, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Between 1 and 5 (inclusive) components that make up the modal" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 123, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8668, + "typeArguments": [ + { + "type": "reference", + "id": 8721, + "name": "APITextInputComponent" + } + ], + "name": "APIActionRowComponent" + } + } + }, + { + "id": 9446, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A developer-defined identifier for the component, max 100 characters" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 115, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9447, + "name": "title", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The title of the popup modal" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 119, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9448, + 9446, + 9447 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 111, + "character": 17 + } + ] + }, + { + "id": 9399, + "name": "APIModalSubmission", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9401, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A list of child components" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/modalSubmit.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9396, + "name": "ModalSubmitActionRowComponent" + } + } + }, + { + "id": 9400, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A developer-defined identifier for the component, max 100 characters" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/modalSubmit.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9401, + 9400 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/modalSubmit.ts", + "line": 21, + "character": 17 + } + ] + }, + { + "id": 8555, + "name": "APIOverwrite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#overwrite-object-overwrite-structure" + }, + "children": [ + { + "id": 8558, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Permission bit set", + "text": "See https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 681, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8559, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Permission bit set", + "text": "See https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 689, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8556, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role or user id" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 667, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8557, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Either 0 (role) or 1 (member)", + "text": "{@link OverwriteType}\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 673, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8560, + "name": "OverwriteType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8558, + 8559, + 8556, + 8557 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 663, + "character": 17 + } + ] + }, + { + "id": 8345, + "name": "APIPartialChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "Not documented, but partial only includes id, name, and type" + }, + "children": [ + { + "id": 8346, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8348, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8347, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8452, + "name": "ChannelType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8346, + 8348, + 8347 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 17, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 8349, + "name": "APIChannelBase" + } + ] + }, + { + "id": 8738, + "name": "APIPartialEmoji", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "Not documented but mentioned" + }, + "children": [ + { + "id": 8741, + "name": "animated", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji is animated" + }, + "sources": [ + { + "fileName": "payloads/v10/emoji.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8739, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji id" + }, + "sources": [ + { + "fileName": "payloads/v10/emoji.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8740, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji name (can be null only in reaction emoji objects)" + }, + "sources": [ + { + "fileName": "payloads/v10/emoji.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8741, + 8739, + 8740 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/emoji.ts", + "line": 12, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 8742, + "name": "APIEmoji" + } + ] + }, + { + "id": 8850, + "name": "APIPartialGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-guild-structure" + }, + "children": [ + { + "id": 8854, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Banner hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8855, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description for the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8856, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Enabled guild features", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-features\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8941, + "name": "GuildFeature" + } + } + }, + { + "id": 8852, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Icon hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8860, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild id" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.id" + } + }, + { + "id": 8851, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild name (2-100 characters, excluding trailing and leading whitespace)" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8853, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Splash hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8859, + "name": "unavailable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if this guild is unavailable due to an outage" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8858, + "name": "vanity_url_code", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The vanity url code for the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8857, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification level required for the guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8921, + "name": "GuildVerificationLevel" + } + }, + { + "id": 8861, + "name": "welcome_screen", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The welcome screen of a Community guild, shown to new members", + "text": "Returned in the invite object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 254, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9052, + "name": "APIGuildWelcomeScreen" + }, + "inheritedFrom": { + "type": "reference", + "name": "Pick.welcome_screen" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8854, + 8855, + 8856, + 8852, + 8860, + 8851, + 8853, + 8859, + 8858, + 8857, + 8861 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 29, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8847, + "name": "APIUnavailableGuild" + }, + { + "type": "literal", + "value": "unavailable" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8862, + "name": "APIGuild" + }, + { + "type": "literal", + "value": "welcome_screen" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 8862, + "name": "APIGuild" + } + ] + }, + { + "id": 8551, + "name": "APIReaction", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#reaction-object-reaction-structure" + }, + "children": [ + { + "id": 8552, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Times this emoji has been used to react" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 647, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8554, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji information", + "text": "See https://discord.com/developers/docs/resources/emoji#emoji-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 657, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8738, + "name": "APIPartialEmoji" + } + }, + { + "id": 8553, + "name": "me", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the current user reacted using this emoji" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 651, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8552, + 8554, + 8553 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 643, + "character": 17 + } + ] + }, + { + "id": 9509, + "name": "APIRole", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/permissions#role-object" + }, + "children": [ + { + "id": 9512, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integer representation of hexadecimal color code" + }, + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 9513, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "If this role is pinned in the user listing" + }, + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9514, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role icon hash" + }, + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9510, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role id" + }, + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9518, + "name": "managed", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this role is managed by an integration" + }, + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9519, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this role is mentionable" + }, + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9511, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role name" + }, + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9517, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Permission bit set", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9516, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Position of this role" + }, + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 9520, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The tags this role has" + }, + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9521, + "name": "APIRoleTags" + } + }, + { + "id": 9515, + "name": "unicode_emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role unicode emoji as a standard emoji" + }, + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9512, + 9513, + 9514, + 9510, + 9518, + 9519, + 9511, + 9517, + 9516, + 9520, + 9515 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 10, + "character": 17 + } + ] + }, + { + "id": 9521, + "name": "APIRoleTags", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/permissions#role-object-role-tags-structure" + }, + "children": [ + { + "id": 9522, + "name": "bot_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the bot this role belongs to" + }, + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9524, + "name": "integration_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the integration this role belongs to" + }, + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9523, + "name": "premium_subscriber", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this is the guild's premium subscriber role" + }, + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9522, + 9524, + 9523 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/permissions.ts", + "line": 62, + "character": 17 + } + ] + }, + { + "id": 8707, + "name": "APISelectMenuComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#select-menus" + }, + "children": [ + { + "id": 8708, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A developer-defined identifier for the select menu, max 100 characters" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1273, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8713, + "name": "disabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Disable the select", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1299, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8712, + "name": "max_values", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The maximum number of items that can be chosen; max 25", + "tags": [ + { + "tag": "default", + "text": "1\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1293, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8711, + "name": "min_values", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The minimum number of items that must be chosen; min 0, max 25", + "tags": [ + { + "tag": "default", + "text": "1\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1287, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8709, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The choices in the select, max 25" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1277, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8715, + "name": "APISelectMenuOption" + } + } + }, + { + "id": 8710, + "name": "placeholder", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Custom placeholder text if nothing is selected, max 150 characters" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1281, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8714, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1155, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8666, + "name": "SelectMenu" + }, + "inheritedFrom": { + "type": "reference", + "id": 8661, + "name": "APIBaseComponent.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8708, + 8713, + 8712, + 8711, + 8709, + 8710, + 8714 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1269, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8660, + "typeArguments": [ + { + "type": "reference", + "id": 8666, + "name": "ComponentType.SelectMenu" + } + ], + "name": "APIBaseComponent" + } + ] + }, + { + "id": 8715, + "name": "APISelectMenuOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#select-menu-object-select-option-structure" + }, + "children": [ + { + "id": 8720, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this option should be already-selected by default" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1325, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8718, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An additional description of the option (max 50 chars)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1317, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8719, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The emoji to display to the left of the option" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1321, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8679, + "name": "APIMessageComponentEmoji" + } + }, + { + "id": 8716, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user-facing name of the option (max 25 chars)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1309, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8717, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The dev-defined value of the option (max 100 chars)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1313, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8720, + 8718, + 8719, + 8716, + 8717 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1305, + "character": 17 + } + ] + }, + { + "id": 9525, + "name": "APIStageInstance", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#stage-instance-object" + }, + "children": [ + { + "id": 9528, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the associated stage channel" + }, + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9531, + "name": "discoverable_disabled", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether or not stage discovery is disabled", + "tags": [ + { + "tag": "deprecated", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9527, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild id of the associated stage channel" + }, + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9532, + "name": "guild_scheduled_event_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the scheduled event for this stage instance" + }, + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9526, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the stage instance" + }, + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 11, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9530, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the stage instance", + "text": "See https://discord.com/developers/docs/resources/stage-instance#stage-instance-object-privacy-level\n" + }, + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9533, + "name": "StageInstancePrivacyLevel" + } + }, + { + "id": 9529, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The topic of the stage instance (1-120 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9528, + 9531, + 9527, + 9532, + 9526, + 9530, + 9529 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/stageInstance.ts", + "line": 7, + "character": 17 + } + ] + }, + { + "id": 9071, + "name": "APIStageInstanceGuildScheduledEvent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9072, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.channel_id" + } + }, + { + "id": 9085, + "name": "creator", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator" + } + }, + { + "id": 9076, + "name": "creator_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator_id" + } + }, + { + "id": 9078, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.description" + } + }, + { + "id": 9084, + "name": "entity_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_id" + } + }, + { + "id": 9073, + "name": "entity_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_metadata" + } + }, + { + "id": 9083, + "name": "entity_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9126, + "name": "StageInstance" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_type" + } + }, + { + "id": 9075, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild id which the scheduled event belongs to" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.guild_id" + } + }, + { + "id": 9074, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.id" + } + }, + { + "id": 9087, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The cover image of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.image" + } + }, + { + "id": 9077, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.name" + } + }, + { + "id": 9081, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9135, + "name": "GuildOnly" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.privacy_level" + } + }, + { + "id": 9080, + "name": "scheduled_end_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the guild event will end, or `null` if the event does not have a scheduled time to end" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_end_time" + } + }, + { + "id": 9079, + "name": "scheduled_start_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time the scheduled event will start" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_start_time" + } + }, + { + "id": 9082, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The status of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9129, + "name": "GuildScheduledEventStatus" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.status" + } + }, + { + "id": 9086, + "name": "user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of users subscribed to the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.user_count" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9072, + 9085, + 9076, + 9078, + 9084, + 9073, + 9083, + 9075, + 9074, + 9087, + 9077, + 9081, + 9080, + 9079, + 9082, + 9086 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 72, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9126, + "name": "GuildScheduledEventEntityType.StageInstance" + } + ], + "name": "APIGuildScheduledEventBase" + } + ] + }, + { + "id": 9541, + "name": "APISticker", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-object" + }, + "children": [ + { + "id": 9547, + "name": "asset", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Previously the sticker asset hash, now an empty string", + "tags": [ + { + "tag": "deprecated", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "" + } + }, + { + "id": 9550, + "name": "available", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this guild sticker can be used, may be false due to loss of Server Boosts" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9545, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Description of the sticker" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9549, + "name": "format_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of sticker format", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-format-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9557, + "name": "StickerFormatType" + } + }, + { + "id": 9551, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the guild that owns this sticker" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9542, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the sticker" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9544, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the sticker" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9543, + "name": "pack_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "For standard stickers, ID of the pack the sticker is from" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9553, + "name": "sort_value", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The standard sticker's sort order within its pack" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 9546, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "For guild stickers, the Discord name of a unicode emoji representing the sticker's expression. for standard stickers, a comma-separated list of related expressions." + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9548, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of sticker", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9554, + "name": "StickerType" + } + }, + { + "id": 9552, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that uploaded the guild sticker" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9547, + 9550, + 9545, + 9549, + 9551, + 9542, + 9544, + 9543, + 9553, + 9546, + 9548, + 9552 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 11, + "character": 17 + } + ] + }, + { + "id": 9562, + "name": "APIStickerPack", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-pack-object" + }, + "children": [ + { + "id": 9569, + "name": "banner_asset_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the sticker pack's banner image" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 126, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9567, + "name": "cover_sticker_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of a sticker in the pack which is shown as the pack's icon" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 118, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9568, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Description of the sticker pack" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 122, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9563, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the sticker pack" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 102, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9565, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the sticker pack" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 110, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9566, + "name": "sku_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the pack's SKU" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 114, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9564, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The stickers in the pack" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 106, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9541, + "name": "APISticker" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9569, + 9567, + 9568, + 9563, + 9565, + 9566, + 9564 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 98, + "character": 17 + } + ] + }, + { + "id": 9570, + "name": "APITeam", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/teams#data-models-team-object" + }, + "children": [ + { + "id": 9571, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A hash of the image of the team's icon" + }, + "sources": [ + { + "fileName": "payloads/v10/teams.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9572, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The unique id of the team" + }, + "sources": [ + { + "fileName": "payloads/v10/teams.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9573, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The members of the team" + }, + "sources": [ + { + "fileName": "payloads/v10/teams.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9576, + "name": "APITeamMember" + } + } + }, + { + "id": 9574, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the team" + }, + "sources": [ + { + "fileName": "payloads/v10/teams.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9575, + "name": "owner_user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user id of the current team owner" + }, + "sources": [ + { + "fileName": "payloads/v10/teams.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9571, + 9572, + 9573, + 9574, + 9575 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/teams.ts", + "line": 11, + "character": 17 + } + ] + }, + { + "id": 9576, + "name": "APITeamMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/teams#data-models-team-members-object" + }, + "children": [ + { + "id": 9577, + "name": "membership_state", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's membership state on the team", + "text": "See https://discord.com/developers/docs/topics/teams#data-models-membership-state-enum\n" + }, + "sources": [ + { + "fileName": "payloads/v10/teams.ts", + "line": 43, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9581, + "name": "TeamMemberMembershipState" + } + }, + { + "id": 9578, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Will always be `[\"*\"]`" + }, + "sources": [ + { + "fileName": "payloads/v10/teams.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "literal", + "value": "*" + } + ] + } + }, + { + "id": 9579, + "name": "team_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the parent team of which they are a member" + }, + "sources": [ + { + "fileName": "payloads/v10/teams.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9580, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The avatar, discriminator, id, and username of the user", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/teams.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9577, + 9578, + 9579, + 9580 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/teams.ts", + "line": 37, + "character": 17 + } + ] + }, + { + "id": 9584, + "name": "APITemplate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/template#template-object" + }, + "children": [ + { + "id": 9585, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The template code (unique ID)" + }, + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9591, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this template was created" + }, + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9590, + "name": "creator", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user who created the template", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + }, + { + "id": 9589, + "name": "creator_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The ID of the user who created the template" + }, + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9587, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description for the template" + }, + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9595, + "name": "is_dirty", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the template has unsynced changes" + }, + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 9586, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Template name" + }, + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9594, + "name": "serialized_source_guild", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild snapshot this template contains" + }, + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 54, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9596, + "name": "APITemplateSerializedSourceGuild" + } + }, + { + "id": 9593, + "name": "source_guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The ID of the guild this template is based on" + }, + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9592, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this template was last synced to the source guild" + }, + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9588, + "name": "usage_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Number of times this template has been used" + }, + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9585, + 9591, + 9590, + 9589, + 9587, + 9595, + 9586, + 9594, + 9593, + 9592, + 9588 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 9596, + "name": "APITemplateSerializedSourceGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9607, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID for afk channel" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 135, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.afk_channel_id" + } + }, + { + "id": 9608, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "AFK timeout in seconds" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 139, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.afk_timeout" + } + }, + { + "id": 9606, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New guild's channels", + "text": "**When using the channels parameter, the `position` field is ignored, and none of the default channels are created.**\n\n*When using the channels parameter, the `id` field within each channel object may be set to an integer placeholder,\nand will be replaced by the API upon consumption. Its purpose is to allow you to create `GUILD_CATEGORY` channels\nby setting the `parent_id` field on any children to the category's id field.\nCategory channels must be listed before any children.*\n\nSee https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 131, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 10169, + "name": "APIGuildCreatePartialChannel" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.channels" + } + }, + { + "id": 9604, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default message notification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 99, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8906, + "name": "GuildDefaultMessageNotifications" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.default_message_notifications" + } + }, + { + "id": 9597, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9605, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit content filter level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 105, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8909, + "name": "GuildExplicitContentFilter" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.explicit_content_filter" + } + }, + { + "id": 9599, + "name": "icon_hash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9601, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the guild (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.name" + } + }, + { + "id": 9598, + "name": "preferred_locale", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9611, + "name": "premium_progress_bar_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the boosts progress bar should be enabled." + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 153, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.premium_progress_bar_enabled" + } + }, + { + "id": 9603, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.region" + } + }, + { + "id": 9600, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New guild roles", + "text": "**When using this parameter, the first member of the array is used to change properties of the guild's @everyone role.\nIf you are trying to bootstrap a guild with additional roles, keep this in mind.**\n\n*When using this parameter, the required `id` field within each role object is an integer placeholder,\nand will be replaced by the API upon consumption. Its purpose is to allow you to overwrite a role's permissions\nin a channel when also passing in channels with the channels array.*\n\nSee https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 118, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 10175, + "name": "APIGuildCreateRole" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.roles" + } + }, + { + "id": 9610, + "name": "system_channel_flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "System channel flags", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 149, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8936, + "name": "GuildSystemChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.system_channel_flags" + } + }, + { + "id": 9609, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where guild notices such as welcome messages and boost events are posted" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 143, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.system_channel_id" + } + }, + { + "id": 9602, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 93, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8921, + "name": "GuildVerificationLevel" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.verification_level" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9607, + 9608, + 9606, + 9604, + 9597, + 9605, + 9599, + 9601, + 9598, + 9611, + 9603, + 9600, + 9610, + 9609, + 9602 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/template.ts", + "line": 61, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10184, + "name": "RESTPostAPIGuildsJSONBody" + }, + { + "type": "literal", + "value": "icon" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + }, + { + "id": 8357, + "name": "APITextBasedChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 8360, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8731, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "id": 8351, + "name": "APIChannelBase.flags" + } + }, + { + "id": 8361, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8352, + "name": "APIChannelBase.id" + } + }, + { + "id": 8358, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this channel (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8362, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8353, + "name": "APIChannelBase.name" + } + }, + { + "id": 8359, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8363, + "name": "T" + }, + "inheritedFrom": { + "type": "reference", + "id": 8350, + "name": "APIChannelBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8360, + 8361, + 8358, + 8362, + 8359 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 59, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 8363, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 8452, + "name": "ChannelType" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8349, + "typeArguments": [ + { + "type": "reference", + "id": 8363, + "name": "T" + } + ], + "name": "APIChannelBase" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 8376, + "name": "APIGuildTextChannel" + } + ] + }, + { + "id": 8391, + "name": "APITextChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 8393, + "name": "default_auto_archive_duration", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default duration for newly created threads, in minutes, to automatically archive the thread after recent activity" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 103, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8570, + "name": "ThreadAutoArchiveDuration" + }, + "inheritedFrom": { + "type": "reference", + "id": 8377, + "name": "APIGuildTextChannel.default_auto_archive_duration" + } + }, + { + "id": 8398, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8731, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "id": 8382, + "name": "APIGuildTextChannel.flags" + } + }, + { + "id": 8401, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8385, + "name": "APIGuildTextChannel.guild_id" + } + }, + { + "id": 8399, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8383, + "name": "APIGuildTextChannel.id" + } + }, + { + "id": 8396, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this channel (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8380, + "name": "APIGuildTextChannel.last_message_id" + } + }, + { + "id": 8395, + "name": "last_pin_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the last pinned message was pinned.\nThis may be `null` in events such as `GUILD_CREATE` when a message is not pinned" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 112, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8379, + "name": "APIGuildTextChannel.last_pin_timestamp" + } + }, + { + "id": 8400, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8384, + "name": "APIGuildTextChannel.name" + } + }, + { + "id": 8405, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8389, + "name": "APIGuildTextChannel.nsfw" + } + }, + { + "id": 8404, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)", + "text": "OR\n\nID of the parent channel for a thread\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8388, + "name": "APIGuildTextChannel.parent_id" + } + }, + { + "id": 8402, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8555, + "name": "APIOverwrite" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 8386, + "name": "APIGuildTextChannel.permission_overwrites" + } + }, + { + "id": 8403, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 8387, + "name": "APIGuildTextChannel.position" + } + }, + { + "id": 8392, + "name": "rate_limit_per_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Amount of seconds a user has to wait before sending another message (0-21600);\nbots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected", + "text": "`rate_limit_per_user` also applies to thread creation. Users can send one message and create one thread during each `rate_limit_per_user` interval.\n\nFor thread channels, `rate_limit_per_user` is only returned if the field is set to a non-zero and non-null value.\nThe absence of this field in API calls and Gateway events should indicate that slowmode has been reset to the default value.\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 125, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8394, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel topic (0-1024 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8378, + "name": "APIGuildTextChannel.topic" + } + }, + { + "id": 8397, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8453, + "name": "GuildText" + }, + "inheritedFrom": { + "type": "reference", + "id": 8381, + "name": "APIGuildTextChannel.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8393, + 8398, + 8401, + 8399, + 8396, + 8395, + 8400, + 8405, + 8404, + 8402, + 8403, + 8392, + 8394, + 8397 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 115, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8376, + "typeArguments": [ + { + "type": "reference", + "id": 8453, + "name": "ChannelType.GuildText" + } + ], + "name": "APIGuildTextChannel" + } + ] + }, + { + "id": 8721, + "name": "APITextInputComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#text-inputs-text-input-structure" + }, + "children": [ + { + "id": 8723, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The custom id for the text input" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1339, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8724, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Text that appears on top of the text input field, max 80 characters" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1343, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8728, + "name": "max_length", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Maximal length of text input" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1359, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8727, + "name": "min_length", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Minimal length of text input" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1355, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8725, + "name": "placeholder", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Placeholder for the text input" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1347, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8729, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether or not this text input is required or not" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1363, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8722, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "One of text input styles" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1335, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8704, + "name": "TextInputStyle" + } + }, + { + "id": 8730, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1155, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8667, + "name": "TextInput" + }, + "inheritedFrom": { + "type": "reference", + "id": 8661, + "name": "APIBaseComponent.type" + } + }, + { + "id": 8726, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The pre-filled text in the text input" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1351, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8723, + 8724, + 8728, + 8727, + 8725, + 8729, + 8722, + 8730, + 8726 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1331, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8660, + "typeArguments": [ + { + "type": "reference", + "id": 8667, + "name": "ComponentType.TextInput" + } + ], + "name": "APIBaseComponent" + } + ] + }, + { + "id": 8433, + "name": "APIThreadChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 8447, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8731, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "id": 8371, + "name": "APIGuildChannel.flags" + } + }, + { + "id": 8441, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8365, + "name": "APIGuildChannel.guild_id" + } + }, + { + "id": 8448, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8372, + "name": "APIGuildChannel.id" + } + }, + { + "id": 8440, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this thread (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 225, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8434, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The client users member for the thread, only included in select endpoints" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 195, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8575, + "name": "APIThreadMember" + } + }, + { + "id": 8437, + "name": "member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The approximate member count of the thread, does not count above 50 even if there are more members" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 207, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8436, + "name": "message_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The approximate message count of the thread, does not count above 50 even if there are more messages" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 203, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8449, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8373, + "name": "APIGuildChannel.name" + } + }, + { + "id": 8445, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8369, + "name": "APIGuildChannel.nsfw" + } + }, + { + "id": 8439, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the thread creator" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 221, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8444, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)", + "text": "OR\n\nID of the parent channel for a thread\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8368, + "name": "APIGuildChannel.parent_id" + } + }, + { + "id": 8442, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8555, + "name": "APIOverwrite" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 8366, + "name": "APIGuildChannel.permission_overwrites" + } + }, + { + "id": 8443, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 8367, + "name": "APIGuildChannel.position" + } + }, + { + "id": 8438, + "name": "rate_limit_per_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Amount of seconds a user has to wait before sending another message (0-21600);\nbots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected", + "text": "`rate_limit_per_user` also applies to thread creation. Users can send one message and create one thread during each `rate_limit_per_user` interval.\n\nFor thread channels, `rate_limit_per_user` is only returned if the field is set to a non-zero and non-null value.\nThe absence of this field in API calls and Gateway events should indicate that slowmode has been reset to the default value.\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 217, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8435, + "name": "thread_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The metadata for a thread channel not shared by other channels" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 199, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8563, + "name": "APIThreadMetadata" + } + }, + { + "id": 8446, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8459, + "name": "GuildNewsThread" + }, + { + "type": "reference", + "id": 8460, + "name": "GuildPublicThread" + }, + { + "type": "reference", + "id": 8461, + "name": "GuildPrivateThread" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8370, + "name": "APIGuildChannel.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8447, + 8441, + 8448, + 8440, + 8434, + 8437, + 8436, + 8449, + 8445, + 8439, + 8444, + 8442, + 8443, + 8438, + 8435, + 8446 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 188, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8364, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8460, + "name": "ChannelType.GuildPublicThread" + }, + { + "type": "reference", + "id": 8461, + "name": "ChannelType.GuildPrivateThread" + }, + { + "type": "reference", + "id": 8459, + "name": "ChannelType.GuildNewsThread" + } + ] + } + ], + "name": "APIGuildChannel" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 8057, + "name": "GatewayThreadCreateDispatchData" + } + ] + }, + { + "id": 8581, + "name": "APIThreadList", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 8583, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The members for the client user in each of the fetched threads" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 772, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8575, + "name": "APIThreadMember" + } + } + }, + { + "id": 8582, + "name": "threads", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The threads that were fetched" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 768, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8583, + 8582 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 764, + "character": 17 + } + ] + }, + { + "id": 8575, + "name": "APIThreadMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#thread-member-object-thread-member-structure" + }, + "children": [ + { + "id": 8579, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Member flags combined as a bitfield", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 759, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8580, + "name": "ThreadMemberFlags" + } + }, + { + "id": 8576, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the thread", + "text": "**This field is omitted on the member sent within each thread in the `GUILD_CREATE` event**\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 743, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8578, + "name": "join_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "An ISO8601 timestamp for when the member last joined" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 753, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8577, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the member", + "text": "**This field is omitted on the member sent within each thread in the `GUILD_CREATE` event**\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 749, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8579, + 8576, + 8578, + 8577 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 737, + "character": 17 + } + ] + }, + { + "id": 8563, + "name": "APIThreadMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#thread-metadata-object-thread-metadata-structure" + }, + "children": [ + { + "id": 8566, + "name": "archive_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "An ISO8601 timestamp when the thread's archive status was last changed, used for calculating recent activity" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 712, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8564, + "name": "archived", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the thread is archived" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 704, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8565, + "name": "auto_archive_duration", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Duration in minutes to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 708, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8570, + "name": "ThreadAutoArchiveDuration" + } + }, + { + "id": 8569, + "name": "create_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp when the thread was created; only populated for threads created after 2022-01-09" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 724, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8568, + "name": "invitable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether non-moderators can add other non-moderators to the thread; only available on private threads" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 720, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8567, + "name": "locked", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the thread is locked; when a thread is locked, only users with `MANAGE_THREADS` can unarchive it" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 716, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8566, + 8564, + 8565, + 8569, + 8568, + 8567 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 700, + "character": 17 + } + ] + }, + { + "id": 8847, + "name": "APIUnavailableGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#unavailable-guild-object" + }, + "children": [ + { + "id": 8848, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild id" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8849, + "name": "unavailable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`true` if this guild is unavailable due to an outage" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8848, + 8849 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 15, + "character": 17 + } + ] + }, + { + "id": 9612, + "name": "APIUser", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#user-object" + }, + "children": [ + { + "id": 9621, + "name": "accent_color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's banner color encoded as an integer representation of hexadecimal color code" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 9616, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's avatar hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9620, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's banner hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9617, + "name": "bot", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user belongs to an OAuth2 application" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9615, + "name": "discriminator", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's 4-digit discord-tag" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9624, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9625, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The flags on a user's account", + "text": "See https://discord.com/developers/docs/resources/user#user-object-user-flags\n" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9628, + "name": "UserFlags" + } + }, + { + "id": 9613, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's id" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9622, + "name": "locale", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's chosen language option" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9619, + "name": "mfa_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has two factor enabled on their account" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9626, + "name": "premium_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of Nitro subscription on a user's account", + "text": "See https://discord.com/developers/docs/resources/user#user-object-premium-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9644, + "name": "UserPremiumType" + } + }, + { + "id": 9627, + "name": "public_flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The public flags on a user's account", + "text": "See https://discord.com/developers/docs/resources/user#user-object-user-flags\n" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9628, + "name": "UserFlags" + } + }, + { + "id": 9618, + "name": "system", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is an Official Discord System user (part of the urgent message system)" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9614, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's username, not unique across the platform" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9623, + "name": "verified", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the email on this account has been verified" + }, + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9621, + 9616, + 9620, + 9617, + 9615, + 9624, + 9625, + 9613, + 9622, + 9619, + 9626, + 9627, + 9618, + 9614, + 9623 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/user.ts", + "line": 11, + "character": 17 + } + ] + }, + { + "id": 9283, + "name": "APIUserApplicationCommandInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure" + }, + "children": [ + { + "id": 9289, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/internals.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.guild_id" + } + }, + { + "id": 9286, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/internals.ts", + "line": 5, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.id" + } + }, + { + "id": 9288, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/internals.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.name" + } + }, + { + "id": 9285, + "name": "resolved", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9290, + "name": "APIUserApplicationCommandInteractionDataResolved" + } + }, + { + "id": 9284, + "name": "target_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9287, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/internals.ts", + "line": 6, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9161, + "name": "User" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9289, + 9286, + 9288, + 9285, + 9284, + 9287 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 15, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9161, + "name": "ApplicationCommandType.User" + } + ], + "name": "APIBaseApplicationCommandInteractionData" + } + ] + }, + { + "id": 9290, + "name": "APIUserApplicationCommandInteractionDataResolved", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-resolved-data-structure" + }, + "children": [ + { + "id": 9292, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 9171, + "name": "APIInteractionDataResolvedGuildMember" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 9291, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9292, + 9291 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 24, + "character": 17 + } + ] + }, + { + "id": 8408, + "name": "APIVoiceChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 8409, + "name": "bitrate", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitrate (in bits) of the voice channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 135, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8419, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8731, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "id": 8371, + "name": "APIGuildChannel.flags" + } + }, + { + "id": 8413, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8365, + "name": "APIGuildChannel.guild_id" + } + }, + { + "id": 8420, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8372, + "name": "APIGuildChannel.id" + } + }, + { + "id": 8421, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8373, + "name": "APIGuildChannel.name" + } + }, + { + "id": 8417, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8369, + "name": "APIGuildChannel.nsfw" + } + }, + { + "id": 8416, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)", + "text": "OR\n\nID of the parent channel for a thread\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8368, + "name": "APIGuildChannel.parent_id" + } + }, + { + "id": 8414, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8555, + "name": "APIOverwrite" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 8366, + "name": "APIGuildChannel.permission_overwrites" + } + }, + { + "id": 8415, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 8367, + "name": "APIGuildChannel.position" + } + }, + { + "id": 8411, + "name": "rtc_region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id for the voice or stage channel, automatic when set to `null`", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 145, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8418, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8455, + "name": "GuildVoice" + }, + { + "type": "reference", + "id": 8462, + "name": "GuildStageVoice" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8370, + "name": "APIGuildChannel.type" + } + }, + { + "id": 8410, + "name": "user_limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user limit of the voice channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 139, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8412, + "name": "video_quality_mode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The camera video quality mode of the voice channel, `1` when not present", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-video-quality-modes\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 151, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8465, + "name": "VideoQualityMode" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8409, + 8419, + 8413, + 8420, + 8421, + 8417, + 8416, + 8414, + 8415, + 8411, + 8418, + 8410, + 8412 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 131, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8364, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8462, + "name": "ChannelType.GuildStageVoice" + }, + { + "type": "reference", + "id": 8455, + "name": "ChannelType.GuildVoice" + } + ] + } + ], + "name": "APIGuildChannel" + } + ] + }, + { + "id": 9088, + "name": "APIVoiceGuildScheduledEvent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9089, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.channel_id" + } + }, + { + "id": 9102, + "name": "creator", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator" + } + }, + { + "id": 9093, + "name": "creator_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator_id" + } + }, + { + "id": 9095, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.description" + } + }, + { + "id": 9101, + "name": "entity_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_id" + } + }, + { + "id": 9090, + "name": "entity_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_metadata" + } + }, + { + "id": 9100, + "name": "entity_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9127, + "name": "Voice" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_type" + } + }, + { + "id": 9092, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild id which the scheduled event belongs to" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.guild_id" + } + }, + { + "id": 9091, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.id" + } + }, + { + "id": 9104, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The cover image of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.image" + } + }, + { + "id": 9094, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.name" + } + }, + { + "id": 9098, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9135, + "name": "GuildOnly" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.privacy_level" + } + }, + { + "id": 9097, + "name": "scheduled_end_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the guild event will end, or `null` if the event does not have a scheduled time to end" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_end_time" + } + }, + { + "id": 9096, + "name": "scheduled_start_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time the scheduled event will start" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_start_time" + } + }, + { + "id": 9099, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The status of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9129, + "name": "GuildScheduledEventStatus" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.status" + } + }, + { + "id": 9103, + "name": "user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of users subscribed to the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.user_count" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9089, + 9102, + 9093, + 9095, + 9101, + 9090, + 9100, + 9092, + 9091, + 9104, + 9094, + 9098, + 9097, + 9096, + 9099, + 9103 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 78, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9127, + "name": "GuildScheduledEventEntityType.Voice" + } + ], + "name": "APIGuildScheduledEventBase" + } + ] + }, + { + "id": 9675, + "name": "APIVoiceRegion", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/voice#voice-region-object" + }, + "children": [ + { + "id": 9680, + "name": "custom", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this is a custom voice region (used for events/etc)" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 91, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9679, + "name": "deprecated", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this is a deprecated voice region (avoid switching to these)" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9676, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unique ID for the region" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9677, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the region" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9678, + "name": "optimal", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`true` for a single server that is closest to the current user's client" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9680, + 9679, + 9676, + 9677, + 9678 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 71, + "character": 17 + } + ] + }, + { + "id": 9681, + "name": "APIWebhook", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#webhook-object" + }, + "children": [ + { + "id": 9690, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The bot/OAuth2 application that created this webhook" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9688, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The default avatar of the webhook" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 43, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9685, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel id this webhook is for" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9684, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild id this webhook is for" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9682, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the webhook" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9687, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The default name of the webhook" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9692, + "name": "source_channel", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel that this webhook is following (returned for Channel Follower Webhooks)" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8345, + "name": "APIPartialChannel" + } + }, + { + "id": 9691, + "name": "source_guild", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild of the channel that this webhook is following (returned for Channel Follower Webhooks)" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8850, + "name": "APIPartialGuild" + } + }, + { + "id": 9689, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The secure token of the webhook (returned for Incoming Webhooks)" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9683, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the webhook", + "text": "See https://discord.com/developers/docs/resources/webhook#webhook-object-webhook-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9694, + "name": "WebhookType" + } + }, + { + "id": 9693, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The url used for executing the webhook (returned by the webhooks OAuth2 flow)" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9686, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user this webhook was created by (not returned when getting a webhook with its token)", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9690, + 9688, + 9685, + 9684, + 9682, + 9687, + 9692, + 9691, + 9689, + 9683, + 9693, + 9686 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/webhook.ts", + "line": 11, + "character": 17 + } + ] + }, + { + "id": 8778, + "name": "GatewayActivity", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-structure" + }, + "children": [ + { + "id": 8787, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Application id for the game" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 168, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8793, + "name": "assets", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Images for the presence and their hover texts", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-assets\n" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 198, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "large_image" + }, + { + "type": "literal", + "value": "large_text" + }, + { + "type": "literal", + "value": "small_image" + }, + { + "type": "literal", + "value": "small_text" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 8797, + "name": "buttons", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The custom buttons shown in the Rich Presence (max 2)" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 220, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 8833, + "name": "GatewayActivityButton" + } + } + ] + } + }, + { + "id": 8783, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unix timestamp of when the activity was added to the user's session" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 150, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8788, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "What the player is currently doing" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 172, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8790, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The emoji used for a custom status", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-emoji\n" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 182, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8817, + "name": "GatewayActivityEmoji" + } + }, + { + "id": 8796, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Activity flags `OR`d together, describes what the payload includes", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-flags\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 216, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8823, + "name": "ActivityFlags" + } + }, + { + "id": 8779, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The activity's id", + "tags": [ + { + "tag": "unstable", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 132, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8795, + "name": "instance", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether or not the activity is an instanced game session" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 208, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8780, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The activity's name" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 136, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8792, + "name": "party", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Information for the current party of the player", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-party\n" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 192, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8818, + "name": "GatewayActivityParty" + } + }, + { + "id": 8786, + "name": "platform", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The platform this activity is being done on", + "tags": [ + { + "tag": "unstable", + "text": "You can use {@link ActivityPlatform} as a stepping stone, but this might be inaccurate\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 164, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8794, + "name": "secrets", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Secrets for Rich Presence joining and spectating", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-secrets\n" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 204, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "join" + }, + { + "type": "literal", + "value": "spectate" + }, + { + "type": "literal", + "value": "match" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 8791, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "tags": [ + { + "tag": "unstable", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 186, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8789, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's current party status" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 176, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8785, + "name": "sync_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The Spotify song id", + "tags": [ + { + "tag": "unstable", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 159, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8784, + "name": "timestamps", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Unix timestamps for start and/or end of the game" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 154, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8814, + "name": "GatewayActivityTimestamps" + } + }, + { + "id": 8781, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Activity type", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 142, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8807, + "name": "ActivityType" + } + }, + { + "id": 8782, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Stream url, is validated when type is `1`" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 146, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8787, + 8793, + 8797, + 8783, + 8788, + 8790, + 8796, + 8779, + 8795, + 8780, + 8792, + 8786, + 8794, + 8791, + 8789, + 8785, + 8784, + 8781, + 8782 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 127, + "character": 17 + } + ] + }, + { + "id": 8833, + "name": "GatewayActivityButton", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 8834, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The text shown on the button (1-32 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 332, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8835, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The url opened when clicking the button (1-512 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 336, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8834, + 8835 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 328, + "character": 17 + } + ] + }, + { + "id": 8818, + "name": "GatewayActivityParty", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-party" + }, + "children": [ + { + "id": 8819, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the party" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 294, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8820, + "name": "size", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Used to show the party's current and maximum size" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 298, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "named-tuple-member", + "name": "current_size", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + }, + { + "type": "named-tuple-member", + "name": "max_size", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8819, + 8820 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 290, + "character": 17 + } + ] + }, + { + "id": 8814, + "name": "GatewayActivityTimestamps", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-timestamps" + }, + "children": [ + { + "id": 8816, + "name": "end", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Unix time (in milliseconds) of when the activity ends" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 279, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8815, + "name": "start", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Unix time (in milliseconds) of when the activity started" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 275, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8816, + 8815 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 271, + "character": 17 + } + ] + }, + { + "id": 7876, + "name": "GatewayChannelPinsUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-pins-update" + }, + "children": [ + { + "id": 7878, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 496, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7877, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 492, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7879, + "name": "last_pin_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The time at which the most recent pinned message was pinned" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 500, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7878, + 7877, + 7879 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 488, + "character": 17 + } + ] + }, + { + "id": 7900, + "name": "GatewayGuildBanModifyDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-add\nhttps://discord.com/developers/docs/topics/gateway#guild-ban-remove" + }, + "children": [ + { + "id": 7901, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 640, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7902, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The banned user", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 646, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7901, + 7902 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 636, + "character": 17 + } + ] + }, + { + "id": 7908, + "name": "GatewayGuildEmojisUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-emojis-update" + }, + "children": [ + { + "id": 7910, + "name": "emojis", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of emojis", + "text": "See https://discord.com/developers/docs/resources/emoji#emoji-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 690, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8742, + "name": "APIEmoji" + } + } + }, + { + "id": 7909, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 684, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7910, + 7909 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 680, + "character": 17 + } + ] + }, + { + "id": 7916, + "name": "GatewayGuildIntegrationsUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-integrations-update" + }, + "children": [ + { + "id": 7917, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild whose integrations were updated" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 732, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7917 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 728, + "character": 17 + } + ] + }, + { + "id": 7919, + "name": "GatewayGuildMemberAddDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-add" + }, + "children": [ + { + "id": 7923, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member's guild avatar hash" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 576, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8985, + "name": "APIGuildMember.avatar" + } + }, + { + "id": 7930, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 610, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8992, + "name": "APIGuildMember.communication_disabled_until" + } + }, + { + "id": 7927, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is deafened in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 596, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8989, + "name": "APIGuildMember.deaf" + } + }, + { + "id": 7920, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 750, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7925, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the user joined the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 586, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8987, + "name": "APIGuildMember.joined_at" + } + }, + { + "id": 7928, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is muted in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 600, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8990, + "name": "APIGuildMember.mute" + } + }, + { + "id": 7922, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "This users guild nickname" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 572, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8984, + "name": "APIGuildMember.nick" + } + }, + { + "id": 7929, + "name": "pending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has not yet passed the guild's Membership Screening requirements", + "text": "*If this field is not present, it can be assumed as `false`.*\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 606, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8991, + "name": "APIGuildMember.pending" + } + }, + { + "id": 7926, + "name": "premium_since", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the user started boosting the guild", + "text": "See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 592, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8988, + "name": "APIGuildMember.premium_since" + } + }, + { + "id": 7924, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of role object ids", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 582, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 8986, + "name": "APIGuildMember.roles" + } + }, + { + "id": 7921, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user this guild member represents", + "text": "**This field won't be included in the member object attached to `MESSAGE_CREATE` and `MESSAGE_UPDATE` gateway events.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 568, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "id": 8983, + "name": "APIGuildMember.user" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7923, + 7930, + 7927, + 7920, + 7925, + 7928, + 7922, + 7929, + 7926, + 7924, + 7921 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 746, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + } + ] + }, + { + "id": 7932, + "name": "GatewayGuildMemberRemoveDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-remove" + }, + "children": [ + { + "id": 7933, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 768, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7934, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user who was removed", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 774, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7933, + 7934 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 764, + "character": 17 + } + ] + }, + { + "id": 7940, + "name": "GatewayGuildMembersChunkDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-members-chunk" + }, + "children": [ + { + "id": 7944, + "name": "chunk_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The total number of expected chunks for this response" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 827, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7943, + "name": "chunk_index", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The chunk index in the expected chunks for this response (`0 <= chunk_index < chunk_count`)" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 823, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7941, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 813, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7942, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Set of guild members", + "text": "See https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 819, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + } + } + }, + { + "id": 7947, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce used in the Guild Members Request", + "text": "See https://discord.com/developers/docs/topics/gateway#request-guild-members\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 843, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7945, + "name": "not_found", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If passing an invalid id to `REQUEST_GUILD_MEMBERS`, it will be returned here" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 831, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + }, + { + "id": 7946, + "name": "presences", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If passing true to `REQUEST_GUILD_MEMBERS`, presences of the returned members will be here", + "text": "See https://discord.com/developers/docs/topics/gateway#presence\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 837, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8762, + "name": "GatewayPresenceUpdate" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7944, + 7943, + 7941, + 7942, + 7947, + 7945, + 7946 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 809, + "character": 17 + } + ] + }, + { + "id": 7957, + "name": "GatewayGuildRoleDeleteDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-delete" + }, + "children": [ + { + "id": 7958, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 907, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7959, + "name": "role_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the role" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 911, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7958, + 7959 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 903, + "character": 17 + } + ] + }, + { + "id": 7949, + "name": "GatewayGuildRoleModifyDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-create\nhttps://discord.com/developers/docs/topics/gateway#guild-role-update" + }, + "children": [ + { + "id": 7950, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 863, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7951, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The role created or updated", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 869, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9509, + "name": "APIRole" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7950, + 7951 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 859, + "character": 17 + } + ] + }, + { + "id": 7967, + "name": "GatewayGuildScheduledEventUserAddDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 7970, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 943, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7968, + "name": "guild_scheduled_event_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 941, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7969, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 942, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7970, + 7968, + 7969 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 940, + "character": 17 + } + ] + }, + { + "id": 7972, + "name": "GatewayGuildScheduledEventUserRemoveDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 7975, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 954, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7973, + "name": "guild_scheduled_event_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 952, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7974, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 953, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7975, + 7973, + 7974 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 951, + "character": 17 + } + ] + }, + { + "id": 7912, + "name": "GatewayGuildStickersUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-stickers-update" + }, + "children": [ + { + "id": 7913, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 708, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7914, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of stickers", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 714, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9541, + "name": "APISticker" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7913, + 7914 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 704, + "character": 17 + } + ] + }, + { + "id": 8099, + "name": "GatewayHeartbeat", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating" + }, + "children": [ + { + "id": 8101, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1505, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8102, + "name": "GatewayHeartbeatData" + } + }, + { + "id": 8100, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1504, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 7727, + "name": "Heartbeat" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8101, + 8100 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1503, + "character": 17 + } + ] + }, + { + "id": 7842, + "name": "GatewayHeartbeatAck", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating-example-gateway-heartbeat-ack" + }, + "children": [ + { + "id": 7844, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 356, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 7843, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 355, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 7736, + "name": "HeartbeatAck" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 7846, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1748, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 7845, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1747, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7844, + 7843, + 7846, + 7845 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 354, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 7837, + "name": "GatewayHeartbeatRequest", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating" + }, + "children": [ + { + "id": 7839, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 348, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 7838, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 347, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 7727, + "name": "Heartbeat" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 7841, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1748, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 7840, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1747, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7839, + 7838, + 7841, + 7840 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 346, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 7830, + "name": "GatewayHello", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#hello" + }, + "children": [ + { + "id": 7832, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 330, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 7835, + "name": "GatewayHelloData" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 7831, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 329, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 7735, + "name": "Hello" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 7834, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1748, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 7833, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1747, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7832, + 7831, + 7834, + 7833 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 328, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 7835, + "name": "GatewayHelloData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#hello" + }, + "children": [ + { + "id": 7836, + "name": "heartbeat_interval", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The interval (in milliseconds) the client should heartbeat with" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 340, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7836 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 336, + "character": 17 + } + ] + }, + { + "id": 8103, + "name": "GatewayIdentify", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#identify" + }, + "children": [ + { + "id": 8105, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1518, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8106, + "name": "GatewayIdentifyData" + } + }, + { + "id": 8104, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1517, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 7728, + "name": "Identify" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8105, + 8104 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1516, + "character": 17 + } + ] + }, + { + "id": 8106, + "name": "GatewayIdentifyData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#identify" + }, + "children": [ + { + "id": 8109, + "name": "compress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this connection supports compression of packets", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1540, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8113, + "name": "intents", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The Gateway Intents you wish to receive", + "text": "See https://discord.com/developers/docs/topics/gateway#gateway-intents\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1565, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8110, + "name": "large_threshold", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value between 50 and 250, total number of members where the gateway will stop sending\noffline members in the guild member list", + "tags": [ + { + "tag": "default", + "text": "50\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1547, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8112, + "name": "presence", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Presence structure for initial presence information", + "text": "See https://discord.com/developers/docs/topics/gateway#update-presence\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1559, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8146, + "name": "GatewayPresenceUpdateData" + } + }, + { + "id": 8108, + "name": "properties", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Connection properties", + "text": "See https://discord.com/developers/docs/topics/gateway#identify-identify-connection-properties\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1534, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8114, + "name": "GatewayIdentifyProperties" + } + }, + { + "id": 8111, + "name": "shard", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Used for Guild Sharding", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1553, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "named-tuple-member", + "name": "shard_id", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + }, + { + "type": "named-tuple-member", + "name": "shard_count", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + } + ] + } + }, + { + "id": 8107, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Authentication token" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1528, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8109, + 8113, + 8110, + 8112, + 8108, + 8111, + 8107 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1524, + "character": 17 + } + ] + }, + { + "id": 8114, + "name": "GatewayIdentifyProperties", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#identify-identify-connection-properties" + }, + "children": [ + { + "id": 8116, + "name": "$browser", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Your library name" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1579, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8117, + "name": "$device", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Your library name" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1583, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8115, + "name": "$os", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Your operating system" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1575, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8116, + 8117, + 8115 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1571, + "character": 17 + } + ] + }, + { + "id": 7985, + "name": "GatewayIntegrationDeleteDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-delete" + }, + "children": [ + { + "id": 7988, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the bot/OAuth2 application for this Discord integration" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1006, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7987, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1002, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7986, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration id" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 998, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7988, + 7987, + 7986 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 994, + "character": 17 + } + ] + }, + { + "id": 7847, + "name": "GatewayInvalidSession", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invalid-session" + }, + "children": [ + { + "id": 7849, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 364, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 7848, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 363, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 7734, + "name": "InvalidSession" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 7851, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1748, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 7850, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1747, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7849, + 7848, + 7851, + 7850 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 362, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 7992, + "name": "GatewayInviteCreateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invite-create" + }, + "children": [ + { + "id": 7993, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel the invite is for" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1037, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7994, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The unique invite code", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1043, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7995, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the invite was created" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1047, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7996, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild of the invite" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1051, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7997, + "name": "inviter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that created the invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1057, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + }, + { + "id": 7998, + "name": "max_age", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "How long the invite is valid for (in seconds)" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1061, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7999, + "name": "max_uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The maximum number of times the invite can be used" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1065, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8002, + "name": "target_application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The embedded application to open for this voice channel embedded application invite" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1081, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8158, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 8000, + "name": "target_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of target for this voice channel invite", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1071, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9463, + "name": "InviteTargetType" + } + }, + { + "id": 8001, + "name": "target_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user whose stream to display for this voice channel stream invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1077, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + }, + { + "id": 8003, + "name": "temporary", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role)" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1085, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8004, + "name": "uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "How many times the invite has been used (always will be `0`)" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1089, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": 0 + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7993, + 7994, + 7995, + 7996, + 7997, + 7998, + 7999, + 8002, + 8000, + 8001, + 8003, + 8004 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1033, + "character": 17 + } + ] + }, + { + "id": 8006, + "name": "GatewayInviteDeleteDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invite-delete" + }, + "children": [ + { + "id": 8007, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel of the invite" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1107, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8009, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The unique invite code", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1117, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8008, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild of the invite" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1111, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8007, + 8009, + 8008 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1103, + "character": 17 + } + ] + }, + { + "id": 8023, + "name": "GatewayMessageDeleteBulkDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-delete-bulk" + }, + "children": [ + { + "id": 8025, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1194, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8026, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1198, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8024, + "name": "ids", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The ids of the messages" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1190, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8025, + 8026, + 8024 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1186, + "character": 17 + } + ] + }, + { + "id": 8018, + "name": "GatewayMessageDeleteDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-delete" + }, + "children": [ + { + "id": 8020, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1168, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8021, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1172, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8019, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the message" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1164, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8020, + 8021, + 8019 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1160, + "character": 17 + } + ] + }, + { + "id": 8034, + "name": "GatewayMessageReactionRemoveEmojiDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji" + }, + "children": [ + { + "id": 8036, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1798, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "MessageReactionRemoveData.channel_id" + } + }, + { + "id": 8035, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The emoji that was removed" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1249, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8742, + "name": "APIEmoji" + } + }, + { + "id": 8038, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1806, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "MessageReactionRemoveData.guild_id" + } + }, + { + "id": 8037, + "name": "message_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the message" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1802, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "MessageReactionRemoveData.message_id" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8036, + 8035, + 8038, + 8037 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1245, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "MessageReactionRemoveData" + } + ] + }, + { + "id": 8774, + "name": "GatewayPresenceClientStatus", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#client-status-object" + }, + "children": [ + { + "id": 8775, + "name": "desktop", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's status set for an active desktop (Windows, Linux, Mac) application session" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 113, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8768, + "name": "PresenceUpdateStatus" + } + }, + { + "id": 8776, + "name": "mobile", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's status set for an active mobile (iOS, Android) application session" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 117, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8768, + "name": "PresenceUpdateStatus" + } + }, + { + "id": 8777, + "name": "web", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's status set for an active web (browser, bot account) application session" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 121, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8768, + "name": "PresenceUpdateStatus" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8775, + 8776, + 8777 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 109, + "character": 17 + } + ] + }, + { + "id": 8762, + "name": "GatewayPresenceUpdate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#presence-update-presence-update-event-fields" + }, + "children": [ + { + "id": 8766, + "name": "activities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User's current activities", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 86, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8778, + "name": "GatewayActivity" + } + } + }, + { + "id": 8767, + "name": "client_status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User's platform-dependent status", + "text": "See https://discord.com/developers/docs/topics/gateway#client-status-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8774, + "name": "GatewayPresenceClientStatus" + } + }, + { + "id": 8764, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8765, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Either \"idle\", \"dnd\", \"online\", or \"offline\"" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8768, + "name": "PresenceUpdateStatus" + } + }, + { + "id": 8763, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user presence is being updated for", + "text": "**The user object within this event can be partial, the only field which must be sent is the `id` field,\neverything else is optional.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9612, + "name": "APIUser" + }, + { + "type": "literal", + "value": "id" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8766, + 8767, + 8764, + 8765, + 8763 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 63, + "character": 17 + } + ] + }, + { + "id": 8146, + "name": "GatewayPresenceUpdateData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-presence-gateway-presence-update-structure" + }, + "children": [ + { + "id": 8148, + "name": "activities", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's activities", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1706, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8151, + "name": "GatewayActivityUpdateData" + } + } + }, + { + "id": 8150, + "name": "afk", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether or not the client is afk" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1716, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8147, + "name": "since", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unix time (in milliseconds) of when the client went idle, or `null` if the client is not idle" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1700, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 8149, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's new status", + "text": "See https://discord.com/developers/docs/topics/gateway#update-presence-status-types\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1712, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8768, + "name": "PresenceUpdateStatus" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8148, + 8150, + 8147, + 8149 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1696, + "character": 17 + } + ] + }, + { + "id": 7859, + "name": "GatewayReadyDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#ready" + }, + "children": [ + { + "id": 7865, + "name": "application", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contains `id` and `flags`", + "text": "See https://discord.com/developers/docs/resources/application#application-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 422, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8158, + "name": "APIApplication" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "flags" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 7862, + "name": "guilds", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guilds the user is in", + "text": "See https://discord.com/developers/docs/resources/guild#unavailable-guild-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 406, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8847, + "name": "APIUnavailableGuild" + } + } + }, + { + "id": 7863, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Used for resuming connections" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 410, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7864, + "name": "shard", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The shard information associated with this session, if sent when identifying", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 416, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "named-tuple-member", + "name": "shard_id", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + }, + { + "type": "named-tuple-member", + "name": "shard_count", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + } + ] + } + }, + { + "id": 7861, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Information about the user including email", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 400, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + }, + { + "id": 7860, + "name": "v", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Gateway version", + "text": "See https://discord.com/developers/docs/topics/gateway#gateways-gateway-versions\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 394, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7865, + 7862, + 7863, + 7864, + 7861, + 7860 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 388, + "character": 17 + } + ] + }, + { + "id": 7853, + "name": "GatewayReconnect", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#reconnect" + }, + "children": [ + { + "id": 7855, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 377, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 7854, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 376, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 7732, + "name": "Reconnect" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 7857, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1748, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 7856, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1747, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7855, + 7854, + 7857, + 7856 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 375, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 8125, + "name": "GatewayRequestGuildMembers", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#request-guild-members" + }, + "children": [ + { + "id": 8127, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1617, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8128, + "name": "GatewayRequestGuildMembersData" + } + }, + { + "id": 8126, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1616, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 7733, + "name": "RequestGuildMembers" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8127, + 8126 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1615, + "character": 17 + } + ] + }, + { + "id": 8128, + "name": "GatewayRequestGuildMembersData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#request-guild-members" + }, + "children": [ + { + "id": 8129, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild to get members for" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1627, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8131, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Maximum number of members to send matching the `query`;\na limit of `0` can be used with an empty string `query` to return all members" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1636, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8134, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Nonce to identify the Guild Members Chunk response", + "text": "Nonce can only be up to 32 bytes. If you send an invalid nonce it will be ignored and the reply member_chunk(s) will not have a `nonce` set.\n\nSee https://discord.com/developers/docs/topics/gateway#guild-members-chunk\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1652, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8132, + "name": "presences", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Used to specify if we want the presences of the matched members" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1640, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8130, + "name": "query", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "String that username starts with, or an empty string to return all members" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1631, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8133, + "name": "user_ids", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Used to specify which users you wish to fetch" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1644, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8129, + 8131, + 8134, + 8132, + 8130, + 8133 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1623, + "character": 17 + } + ] + }, + { + "id": 8118, + "name": "GatewayResume", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#resume" + }, + "children": [ + { + "id": 8120, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1591, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8121, + "name": "GatewayResumeData" + } + }, + { + "id": 8119, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1590, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 7731, + "name": "Resume" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8120, + 8119 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1589, + "character": 17 + } + ] + }, + { + "id": 8121, + "name": "GatewayResumeData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#resume" + }, + "children": [ + { + "id": 8124, + "name": "seq", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Last sequence number received" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1609, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8123, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Session id" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1605, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8122, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Session token" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1601, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8124, + 8123, + 8122 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1597, + "character": 17 + } + ] + }, + { + "id": 8057, + "name": "GatewayThreadCreateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-create" + }, + "children": [ + { + "id": 8072, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8731, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "id": 8447, + "name": "APIThreadChannel.flags" + } + }, + { + "id": 8066, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8441, + "name": "APIThreadChannel.guild_id" + } + }, + { + "id": 8073, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8448, + "name": "APIThreadChannel.id" + } + }, + { + "id": 8065, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this thread (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 225, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8440, + "name": "APIThreadChannel.last_message_id" + } + }, + { + "id": 8059, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The client users member for the thread, only included in select endpoints" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 195, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8575, + "name": "APIThreadMember" + }, + "inheritedFrom": { + "type": "reference", + "id": 8434, + "name": "APIThreadChannel.member" + } + }, + { + "id": 8062, + "name": "member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The approximate member count of the thread, does not count above 50 even if there are more members" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 207, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 8437, + "name": "APIThreadChannel.member_count" + } + }, + { + "id": 8061, + "name": "message_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The approximate message count of the thread, does not count above 50 even if there are more messages" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 203, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 8436, + "name": "APIThreadChannel.message_count" + } + }, + { + "id": 8074, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8449, + "name": "APIThreadChannel.name" + } + }, + { + "id": 8058, + "name": "newly_created", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the thread is newly created or not." + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1365, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": true + } + }, + { + "id": 8070, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 8445, + "name": "APIThreadChannel.nsfw" + } + }, + { + "id": 8064, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the thread creator" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 221, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 8439, + "name": "APIThreadChannel.owner_id" + } + }, + { + "id": 8069, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)", + "text": "OR\n\nID of the parent channel for a thread\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8444, + "name": "APIThreadChannel.parent_id" + } + }, + { + "id": 8067, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8555, + "name": "APIOverwrite" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 8442, + "name": "APIThreadChannel.permission_overwrites" + } + }, + { + "id": 8068, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 8443, + "name": "APIThreadChannel.position" + } + }, + { + "id": 8063, + "name": "rate_limit_per_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Amount of seconds a user has to wait before sending another message (0-21600);\nbots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected", + "text": "`rate_limit_per_user` also applies to thread creation. Users can send one message and create one thread during each `rate_limit_per_user` interval.\n\nFor thread channels, `rate_limit_per_user` is only returned if the field is set to a non-zero and non-null value.\nThe absence of this field in API calls and Gateway events should indicate that slowmode has been reset to the default value.\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 217, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 8438, + "name": "APIThreadChannel.rate_limit_per_user" + } + }, + { + "id": 8060, + "name": "thread_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The metadata for a thread channel not shared by other channels" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 199, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8563, + "name": "APIThreadMetadata" + }, + "inheritedFrom": { + "type": "reference", + "id": 8435, + "name": "APIThreadChannel.thread_metadata" + } + }, + { + "id": 8071, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8459, + "name": "GuildNewsThread" + }, + { + "type": "reference", + "id": 8460, + "name": "GuildPublicThread" + }, + { + "type": "reference", + "id": 8461, + "name": "GuildPrivateThread" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 8446, + "name": "APIThreadChannel.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8072, + 8066, + 8073, + 8065, + 8059, + 8062, + 8061, + 8074, + 8058, + 8070, + 8064, + 8069, + 8067, + 8068, + 8063, + 8060, + 8071 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1361, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 8433, + "name": "APIThreadChannel" + } + ] + }, + { + "id": 8836, + "name": "GatewayThreadListSync", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-list-sync-thread-list-sync-event-fields" + }, + "children": [ + { + "id": 8838, + "name": "channel_ids", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The ids of all the parent channels whose threads are being synced, otherwise the entire guild" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 350, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 8837, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 346, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8840, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The member objects for the client user in each joined thread that was synced" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 358, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8575, + "name": "APIThreadMember" + } + } + }, + { + "id": 8839, + "name": "threads", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of the synced threads" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 354, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8838, + 8837, + 8840, + 8839 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 342, + "character": 17 + } + ] + }, + { + "id": 8841, + "name": "GatewayThreadMembersUpdate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-members-update-thread-members-update-event-fields" + }, + "children": [ + { + "id": 8845, + "name": "added_members", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The members that were added to the thread" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 380, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8575, + "name": "APIThreadMember" + } + } + }, + { + "id": 8843, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild that the thread is in" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 372, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8842, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the thread for which members are being synced" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 368, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8844, + "name": "member_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The approximate member count of the thread, does not count above 50 even if there are more members" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 376, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8846, + "name": "removed_member_ids", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The ids of the members that were removed from the thread" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 384, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8845, + 8843, + 8842, + 8844, + 8846 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 364, + "character": 17 + } + ] + }, + { + "id": 8080, + "name": "GatewayTypingStartDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#typing-start" + }, + "children": [ + { + "id": 8081, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1400, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8082, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1404, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8085, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member who started typing if this happened in a guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1418, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + } + }, + { + "id": 8084, + "name": "timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unix time (in seconds) of when the user started typing" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1412, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8083, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the user" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1408, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8081, + 8082, + 8085, + 8084, + 8083 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1396, + "character": 17 + } + ] + }, + { + "id": 8143, + "name": "GatewayUpdatePresence", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-status" + }, + "children": [ + { + "id": 8145, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1690, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8146, + "name": "GatewayPresenceUpdateData" + } + }, + { + "id": 8144, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1689, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 7729, + "name": "PresenceUpdate" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8145, + 8144 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1688, + "character": 17 + } + ] + }, + { + "id": 8091, + "name": "GatewayVoiceServerUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#voice-server-update" + }, + "children": [ + { + "id": 8094, + "name": "endpoint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The voice server host", + "text": "A `null` endpoint means that the voice server allocated has gone away and is trying to be reallocated.\nYou should attempt to disconnect from the currently connected voice server, and not attempt to reconnect\nuntil a new voice server is allocated\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1471, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8093, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild this voice server update is for" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1463, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8092, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Voice connection token" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1459, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8094, + 8093, + 8092 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1455, + "character": 17 + } + ] + }, + { + "id": 9661, + "name": "GatewayVoiceState", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/voice#voice-state-object" + }, + "children": [ + { + "id": 9663, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel id this user is connected to" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9667, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is deafened by the server" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9662, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild id this voice state is for" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9665, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild member this voice state is for", + "text": "See https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + } + }, + { + "id": 9668, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is muted by the server" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9674, + "name": "request_to_speak_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the user requested to speak" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 9669, + "name": "self_deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is locally deafened" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9670, + "name": "self_mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is locally muted" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9671, + "name": "self_stream", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this user is streaming using \"Go Live\"" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9672, + "name": "self_video", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user's camera is enabled" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9666, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The session id for this voice state" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9673, + "name": "suppress", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is muted by the current user" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 9664, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user id this voice state is for" + }, + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9663, + 9667, + 9662, + 9665, + 9668, + 9674, + 9669, + 9670, + 9671, + 9672, + 9666, + 9673, + 9664 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/voice.ts", + "line": 11, + "character": 17 + } + ] + }, + { + "id": 8135, + "name": "GatewayVoiceStateUpdate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-voice-state" + }, + "children": [ + { + "id": 8137, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1660, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8138, + "name": "GatewayVoiceStateUpdateData" + } + }, + { + "id": 8136, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1659, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 7730, + "name": "VoiceStateUpdate" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8137, + 8136 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1658, + "character": 17 + } + ] + }, + { + "id": 8138, + "name": "GatewayVoiceStateUpdateData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-voice-state" + }, + "children": [ + { + "id": 8140, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the voice channel client wants to join (`null` if disconnecting)" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1674, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8139, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1670, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8142, + "name": "self_deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Is the client deafened" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1682, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8141, + "name": "self_mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Is the client muted" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1678, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8140, + 8139, + 8142, + 8141 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1666, + "character": 17 + } + ] + }, + { + "id": 8096, + "name": "GatewayWebhooksUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#webhooks-update" + }, + "children": [ + { + "id": 8098, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1493, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8097, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1489, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8098, + 8097 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1485, + "character": 17 + } + ] + }, + { + "id": 9396, + "name": "ModalSubmitActionRowComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9397, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/modalSubmit.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9392, + "name": "ModalSubmitComponent" + } + } + }, + { + "id": 9398, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1155, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8664, + "name": "ActionRow" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9397, + 9398 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/modalSubmit.ts", + "line": 16, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8668, + "typeArguments": [ + { + "type": "reference", + "id": 8737, + "name": "APIModalActionRowComponent" + } + ], + "name": "APIActionRowComponent" + }, + { + "type": "literal", + "value": "components" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + }, + { + "id": 9392, + "name": "ModalSubmitComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 9394, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/modalSubmit.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9393, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/modalSubmit.ts", + "line": 11, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8663, + "name": "ComponentType" + } + }, + { + "id": 9395, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/modalSubmit.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9394, + 9393, + 9395 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/modalSubmit.ts", + "line": 10, + "character": 17 + } + ] + }, + { + "id": 10592, + "name": "RESTAPIPartialCurrentUserGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 10597, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8941, + "name": "GuildFeature" + } + } + }, + { + "id": 10595, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 10593, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10594, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10596, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10598, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10597, + 10595, + 10593, + 10594, + 10596, + 10598 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 59, + "character": 17 + } + ] + }, + { + "id": 10008, + "name": "RESTGetAPIAuditLogQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#get-guild-audit-log" + }, + "children": [ + { + "id": 10010, + "name": "action_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of audit log events" + }, + "sources": [ + { + "fileName": "rest/v10/auditLog.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8213, + "name": "AuditLogEvent" + } + }, + { + "id": 10011, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Filter the log before a certain entry ID" + }, + "sources": [ + { + "fileName": "rest/v10/auditLog.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10012, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "How many entries are returned (default 50, minimum 1, maximum 100)", + "tags": [ + { + "tag": "default", + "text": "50\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/auditLog.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 10009, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Filter the log for actions made by a user" + }, + "sources": [ + { + "fileName": "rest/v10/auditLog.ts", + "line": 11, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10010, + 10011, + 10012, + 10009 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/auditLog.ts", + "line": 7, + "character": 17 + } + ] + }, + { + "id": 10071, + "name": "RESTGetAPIChannelMessageReactionUsersQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 10072, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get users after this user ID" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 304, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10073, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of users to return (1-100)", + "tags": [ + { + "tag": "default", + "text": "25\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 310, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10072, + 10073 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 300, + "character": 17 + } + ] + }, + { + "id": 10041, + "name": "RESTGetAPIChannelMessagesQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel-messages" + }, + "children": [ + { + "id": 10044, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get messages after this message ID" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 171, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10042, + "name": "around", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get messages around this message ID" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 163, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10043, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get messages before this message ID" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 167, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10045, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of messages to return (1-100)", + "tags": [ + { + "tag": "default", + "text": "50\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 177, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10044, + 10042, + 10043, + 10045 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 159, + "character": 17 + } + ] + }, + { + "id": 10143, + "name": "RESTGetAPIChannelThreadsArchivedQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 10144, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get threads before this id or ISO8601 timestamp" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 658, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10145, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of thread to return" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 662, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10144, + 10145 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 654, + "character": 17 + } + ] + }, + { + "id": 10588, + "name": "RESTGetAPICurrentUserGuildsQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-current-user-guilds" + }, + "children": [ + { + "id": 10590, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get guilds after this guild ID" + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10589, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get guilds before this guild ID" + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10591, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of guilds to return (1-100)", + "tags": [ + { + "tag": "default", + "text": "100\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10590, + 10589, + 10591 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 42, + "character": 17 + } + ] + }, + { + "id": 10276, + "name": "RESTGetAPIGuildBansQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-bans" + }, + "children": [ + { + "id": 10278, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Consider only users after given user id" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 538, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10277, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Consider only users before given user id" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 534, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10279, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of users to return (1-1000)", + "tags": [ + { + "tag": "default", + "text": "1000\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 544, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10278, + 10277, + 10279 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 530, + "character": 17 + } + ] + }, + { + "id": 10240, + "name": "RESTGetAPIGuildMembersQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#list-guild-members" + }, + "children": [ + { + "id": 10242, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The highest user id in the previous page", + "tags": [ + { + "tag": "default", + "text": "0\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 366, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10241, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of members to return (1-1000)", + "tags": [ + { + "tag": "default", + "text": "1\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 360, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10242, + 10241 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 354, + "character": 17 + } + ] + }, + { + "id": 10244, + "name": "RESTGetAPIGuildMembersSearchQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#search-guild-members" + }, + "children": [ + { + "id": 10246, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of members to return (1-1000)", + "tags": [ + { + "tag": "default", + "text": "1\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 387, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 10245, + "name": "query", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Query string to match username(s) and nickname(s) against" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 381, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10246, + 10245 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 377, + "character": 17 + } + ] + }, + { + "id": 10313, + "name": "RESTGetAPIGuildPruneCountQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-prune-count" + }, + "children": [ + { + "id": 10314, + "name": "days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of days to count prune for (1 or more)", + "tags": [ + { + "tag": "default", + "text": "7\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 700, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 10315, + "name": "include_roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Role(s) to include", + "text": "While this is typed as a string, it represents an array of\nrole IDs delimited by commas\n\nSee https://discord.com/developers/docs/resources/guild#get-guild-prune-count-query-string-params\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 709, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10314, + 10315 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 694, + "character": 17 + } + ] + }, + { + "id": 10316, + "name": "RESTGetAPIGuildPruneCountResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-prune-count" + }, + "children": [ + { + "id": 10317, + "name": "pruned", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 716, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10317 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 715, + "character": 17 + } + ] + }, + { + "id": 10200, + "name": "RESTGetAPIGuildQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild" + }, + "children": [ + { + "id": 10201, + "name": "with_counts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When `true`, will return approximate member and presence counts for the guild", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 170, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10201 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 164, + "character": 17 + } + ] + }, + { + "id": 10376, + "name": "RESTGetAPIGuildScheduledEventQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event" + }, + "children": [ + { + "id": 10377, + "name": "with_user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether to include number of users subscribed to this event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10377 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 77, + "character": 17 + } + ] + }, + { + "id": 10386, + "name": "RESTGetAPIGuildScheduledEventUsersQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event-users" + }, + "children": [ + { + "id": 10390, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Consider only users after given user id" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 139, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10389, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Consider only users before given user id" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 135, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10387, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of users to receive from the event", + "tags": [ + { + "tag": "default", + "text": "100\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 127, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 10388, + "name": "with_member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether to include guild member data if it exists" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 131, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10390, + 10389, + 10387, + 10388 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 121, + "character": 17 + } + ] + }, + { + "id": 10361, + "name": "RESTGetAPIGuildScheduledEventsQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#list-scheduled-events-for-guild" + }, + "children": [ + { + "id": 10362, + "name": "with_user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether to include number of users subscribed to each event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10362 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 15, + "character": 17 + } + ] + }, + { + "id": 10333, + "name": "RESTGetAPIGuildVanityUrlResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-vanity-url" + }, + "children": [ + { + "id": 10334, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 792, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 10335, + "name": "uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 793, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10334, + 10335 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 791, + "character": 17 + } + ] + }, + { + "id": 10336, + "name": "RESTGetAPIGuildWidgetImageQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-image" + }, + "children": [ + { + "id": 10337, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Style of the widget image returned", + "tags": [ + { + "tag": "default", + "text": "\"shield\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 805, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9046, + "name": "GuildWidgetStyle" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10337 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 799, + "character": 17 + } + ] + }, + { + "id": 10447, + "name": "RESTGetAPIInviteQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#get-invite" + }, + "children": [ + { + "id": 10450, + "name": "guild_scheduled_event_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild scheduled event to include with the invite" + }, + "sources": [ + { + "fileName": "rest/v10/invite.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10448, + "name": "with_counts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the invite should contain approximate member counts" + }, + "sources": [ + { + "fileName": "rest/v10/invite.ts", + "line": 11, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10449, + "name": "with_expiration", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the invite should contain the expiration date" + }, + "sources": [ + { + "fileName": "rest/v10/invite.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10450, + 10448, + 10449 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/invite.ts", + "line": 7, + "character": 17 + } + ] + }, + { + "id": 10454, + "name": "RESTGetAPIOAuth2CurrentAuthorizationResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information" + }, + "children": [ + { + "id": 10455, + "name": "application", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "the current application" + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8158, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 10457, + "name": "expires", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "when the access token expires" + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10456, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "the scopes the user has authorized the application for" + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9484, + "name": "OAuth2Scopes" + } + } + }, + { + "id": 10458, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "the user who has authorized, if the user has authorized with the `identify` scope" + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10455, + 10457, + 10456, + 10458 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 10547, + "name": "RESTGetNitroStickerPacksResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#list-nitro-sticker-packs" + }, + "children": [ + { + "id": 10548, + "name": "sticker_packs", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9562, + "name": "APIStickerPack" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10548 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 10505, + "name": "RESTOAuth2AdvancedBotAuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorization" + }, + "children": [ + { + "id": 10506, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 148, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10510, + "name": "disable_guild_select", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 162, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10509, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 161, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10508, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The required permissions bitfield, stringified" + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 160, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10512, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 164, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10511, + "name": "response_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 163, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10507, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "This assumes you include the `bot` scope alongside others (like `identify` for example)" + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 152, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ] + ] + }, + { + "type": "template-literal", + "head": "bot ", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "bot%20", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + " " + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + " " + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20" + ] + ] + }, + { + "type": "reference", + "id": 9485, + "name": "Bot" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10506, + 10510, + 10509, + 10508, + 10512, + 10511, + 10507 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 147, + "character": 17 + } + ] + }, + { + "id": 10513, + "name": "RESTOAuth2AdvancedBotAuthorizationQueryResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 10514, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 168, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10516, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 170, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10517, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 171, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10515, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 169, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10514, + 10516, + 10517, + 10515 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 167, + "character": 17 + } + ] + }, + { + "id": 10459, + "name": "RESTOAuth2AuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant" + }, + "children": [ + { + "id": 10461, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10465, + "name": "prompt", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "consent" + }, + { + "type": "literal", + "value": "none" + } + ] + } + }, + { + "id": 10463, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10460, + "name": "response_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "code" + } + }, + { + "id": 10462, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10464, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10461, + 10465, + 10463, + 10460, + 10462, + 10464 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 34, + "character": 17 + } + ] + }, + { + "id": 10466, + "name": "RESTOAuth2AuthorizationQueryResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-example" + }, + "children": [ + { + "id": 10467, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10468, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10467, + 10468 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 46, + "character": 17 + } + ] + }, + { + "id": 10499, + "name": "RESTOAuth2BotAuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#bot-authorization-flow-bot-auth-parameters" + }, + "children": [ + { + "id": 10500, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Your app's client id" + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 119, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10504, + "name": "disable_guild_select", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` or `false`—disallows the user from changing the guild dropdown" + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 141, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10503, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Pre-fills the dropdown picker with a guild for the user" + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 137, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10502, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The permissions you're requesting", + "text": "See https://discord.com/developers/docs/topics/permissions\n" + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 133, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10501, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Needs to include bot for the bot flow" + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 123, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ] + ] + }, + { + "type": "template-literal", + "head": "bot ", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "bot%20", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + " " + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + " " + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20" + ] + ] + }, + { + "type": "reference", + "id": 9485, + "name": "Bot" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10500, + 10504, + 10503, + 10502, + 10501 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 115, + "character": 17 + } + ] + }, + { + "id": 10487, + "name": "RESTOAuth2ImplicitAuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#implicit-grant" + }, + "children": [ + { + "id": 10489, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 90, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10493, + "name": "prompt", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 94, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "consent" + }, + { + "type": "literal", + "value": "none" + } + ] + } + }, + { + "id": 10491, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10488, + "name": "response_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "token" + } + }, + { + "id": 10490, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 91, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10492, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 93, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10489, + 10493, + 10491, + 10488, + 10490, + 10492 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 88, + "character": 17 + } + ] + }, + { + "id": 10110, + "name": "RESTPostAPIChannelFollowersJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#follow-news-channel" + }, + "children": [ + { + "id": 10111, + "name": "webhook_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of target channel" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 512, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10111 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 508, + "character": 17 + } + ] + }, + { + "id": 10090, + "name": "RESTPostAPIChannelMessagesBulkDeleteJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#bulk-delete-messages" + }, + "children": [ + { + "id": 10091, + "name": "messages", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "An array of message ids to delete (2-100)" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 402, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10091 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 398, + "character": 17 + } + ] + }, + { + "id": 10398, + "name": "RESTPostAPIContextMenuApplicationCommandsJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-global-application-command" + }, + "children": [ + { + "id": 10405, + "name": "default_member_permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set of permissions represented as a bitset" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.default_member_permissions" + } + }, + { + "id": 10402, + "name": "default_permission", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the command is enabled by default when the app is added to a guild", + "text": "If missing, this property should be assumed as `true`", + "tags": [ + { + "tag": "deprecated", + "text": "Use `dm_permission` and/or `default_member_permissions` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.default_permission" + } + }, + { + "id": 10404, + "name": "description_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Localization dictionary for the description field. Values follow the same restrictions as description" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.description_localizations" + } + }, + { + "id": 10406, + "name": "dm_permission", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.dm_permission" + } + }, + { + "id": 10401, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "1-32 character name; `CHAT_INPUT` command names must be all lowercase matching `^[-_\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$`" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.name" + } + }, + { + "id": 10403, + "name": "name_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Localization dictionary for the name field. Values follow the same restrictions as name" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.name_localizations" + } + }, + { + "id": 10400, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The parameters for the `CHAT_INPUT` command, max 25" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9186, + "name": "APIApplicationCommandOption" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.options" + } + }, + { + "id": 10399, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9161, + "name": "User" + }, + { + "type": "reference", + "id": 9162, + "name": "Message" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10405, + 10402, + 10404, + 10406, + 10401, + 10403, + 10400, + 10399 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 55, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody" + } + ] + }, + { + "id": 10601, + "name": "RESTPostAPICurrentUserCreateDMChannelJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#create-dm" + }, + "children": [ + { + "id": 10602, + "name": "recipient_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The recipient to open a DM channel with" + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10602 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 81, + "character": 17 + } + ] + }, + { + "id": 10323, + "name": "RESTPostAPIGuildPruneResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#begin-guild-prune" + }, + "children": [ + { + "id": 10324, + "name": "pruned", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 745, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10324 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 744, + "character": 17 + } + ] + }, + { + "id": 10551, + "name": "RESTPostAPIGuildStickerFormDataBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#create-guild-sticker" + }, + "children": [ + { + "id": 10553, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Description of the sticker (empty or 2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10555, + "name": "file", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The sticker file to upload, must be a PNG, APNG, or Lottie JSON file, max 500 KB" + }, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 10552, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the sticker (2-30 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10554, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The Discord name of a unicode emoji representing the sticker's expression (2-200 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10553, + 10555, + 10552, + 10554 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 29, + "character": 17 + } + ] + }, + { + "id": 10533, + "name": "RESTPostAPIStageInstanceJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#create-stage-instance" + }, + "children": [ + { + "id": 10534, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the stage channel" + }, + "sources": [ + { + "fileName": "rest/v10/stageInstance.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10536, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The privacy level of the stage instance", + "tags": [ + { + "tag": "default", + "text": "GuildOnly\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/stageInstance.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9533, + "name": "StageInstancePrivacyLevel" + } + }, + { + "id": 10537, + "name": "send_start_notification", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Notify @everyone that a stage instance has started" + }, + "sources": [ + { + "fileName": "rest/v10/stageInstance.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10535, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The topic of the stage instance (1-120 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/stageInstance.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10534, + 10536, + 10537, + 10535 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/stageInstance.ts", + "line": 8, + "character": 17 + } + ] + }, + { + "id": 10639, + "name": "RESTPostAPIWebhookWithTokenQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook-query-string-params" + }, + "children": [ + { + "id": 10641, + "name": "thread_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Send a message to the specified thread within a webhook's channel. The thread will automatically be unarchived." + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 175, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10640, + "name": "wait", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Waits for server confirmation of message send before response, and returns the created message body\n(defaults to `false`; when `false` a message that is not saved does not return an error)", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 171, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10641, + 10640 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 164, + "character": 17 + } + ] + }, + { + "id": 10475, + "name": "RESTPostOAuth2AccessTokenResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-access-token-response" + }, + "children": [ + { + "id": 10476, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10478, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 10479, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10480, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10477, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10476, + 10478, + 10479, + 10480, + 10477 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 65, + "character": 17 + } + ] + }, + { + "id": 10469, + "name": "RESTPostOAuth2AccessTokenURLEncodedData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-example" + }, + "children": [ + { + "id": 10470, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10471, + "name": "client_secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10473, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10472, + "name": "grant_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "authorization_code" + } + }, + { + "id": 10474, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10470, + 10471, + 10473, + 10472, + 10474 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 54, + "character": 17 + } + ] + }, + { + "id": 10518, + "name": "RESTPostOAuth2AccessTokenWithBotAndGuildsScopeResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorization-extended-bot-authorization-access-token-example" + }, + "children": [ + { + "id": 10519, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 178, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10521, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 180, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 10524, + "name": "guild", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 183, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8862, + "name": "APIGuild" + } + }, + { + "id": 10522, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 181, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10523, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 182, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10520, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 179, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10519, + 10521, + 10524, + 10522, + 10523, + 10520 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 177, + "character": 17 + } + ] + }, + { + "id": 10525, + "name": "RESTPostOAuth2AccessTokenWithBotAndWebhookIncomingScopeResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#webhooks-webhook-token-response-example" + }, + "children": [ + { + "id": 10526, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 190, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10528, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 192, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 10529, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 193, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10530, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 194, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10527, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 191, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10531, + "name": "webhook", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 195, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9681, + "name": "APIWebhook" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10526, + 10528, + 10529, + 10530, + 10527, + 10531 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 189, + "character": 17 + } + ] + }, + { + "id": 10495, + "name": "RESTPostOAuth2ClientCredentialsURLEncodedData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#client-credentials-grant" + }, + "children": [ + { + "id": 10496, + "name": "grant_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 106, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "client_credentials" + } + }, + { + "id": 10497, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10496, + 10497 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 105, + "character": 17 + } + ] + }, + { + "id": 10481, + "name": "RESTPostOAuth2RefreshTokenURLEncodedData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-refresh-token-exchange-example" + }, + "children": [ + { + "id": 10482, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10483, + "name": "client_secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 78, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10484, + "name": "grant_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "refresh_token" + } + }, + { + "id": 10485, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10482, + 10483, + 10484, + 10485 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 76, + "character": 17 + } + ] + }, + { + "id": 10442, + "name": "RESTPutAPIApplicationCommandPermissionsJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-application-command-permissions" + }, + "children": [ + { + "id": 10443, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 242, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9317, + "name": "APIApplicationCommandPermission" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10443 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 241, + "character": 17 + } + ] + }, + { + "id": 10093, + "name": "RESTPutAPIChannelPermissionJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-channel-permissions" + }, + "children": [ + { + "id": 10094, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all allowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 421, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 10095, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all disallowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 429, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 10096, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`0` for a role or `1` for a member" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 433, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8560, + "name": "OverwriteType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10094, + 10095, + 10096 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 413, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 10014, + "name": "APIChannelPatchOverwrite" + }, + { + "type": "reference", + "id": 10163, + "name": "APIGuildCreateOverwrite" + } + ] + }, + { + "id": 8735, + "name": "APIActionRowComponentTypes", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1379, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8736, + "name": "APIMessageActionRowComponent" + }, + { + "type": "reference", + "id": 8737, + "name": "APIModalActionRowComponent" + } + ] + } + }, + { + "id": 9205, + "name": "APIApplicationCommandAttachmentOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.ts", + "line": 5, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9245, + "name": "ApplicationCommandOptionType.Attachment" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 9336, + "name": "APIApplicationCommandAutocompleteDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/autocomplete.ts", + "line": 26, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9373, + "typeArguments": [ + { + "type": "reference", + "id": 9335, + "name": "APIApplicationCommandAutocompleteInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 9337, + "name": "APIApplicationCommandAutocompleteGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/autocomplete.ts", + "line": 32, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9375, + "typeArguments": [ + { + "type": "reference", + "id": 9335, + "name": "APIApplicationCommandAutocompleteInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 9335, + "name": "APIApplicationCommandAutocompleteInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/autocomplete.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9410, + "name": "InteractionType.ApplicationCommandAutocomplete" + }, + { + "type": "reference", + "id": 9189, + "name": "APIChatInputApplicationCommandInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9410, + "name": "InteractionType.ApplicationCommandAutocomplete" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9189, + "name": "APIChatInputApplicationCommandInteractionData" + }, + { + "type": "literal", + "value": "options" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 9185, + "name": "APIApplicationCommandBasicOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-structure" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 72, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9251, + "name": "APIApplicationCommandStringOption" + }, + { + "type": "reference", + "id": 9218, + "name": "APIApplicationCommandIntegerOption" + }, + { + "type": "reference", + "id": 9207, + "name": "APIApplicationCommandBooleanOption" + }, + { + "type": "reference", + "id": 9281, + "name": "APIApplicationCommandUserOption" + }, + { + "type": "reference", + "id": 9209, + "name": "APIApplicationCommandChannelOption" + }, + { + "type": "reference", + "id": 9232, + "name": "APIApplicationCommandRoleOption" + }, + { + "type": "reference", + "id": 9224, + "name": "APIApplicationCommandMentionableOption" + }, + { + "type": "reference", + "id": 9226, + "name": "APIApplicationCommandNumberOption" + }, + { + "type": "reference", + "id": 9205, + "name": "APIApplicationCommandAttachmentOption" + } + ] + } + }, + { + "id": 9207, + "name": "APIApplicationCommandBooleanOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.ts", + "line": 4, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9239, + "name": "ApplicationCommandOptionType.Boolean" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 9183, + "name": "APIApplicationCommandDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 141, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9203, + "name": "APIChatInputApplicationCommandDMInteraction" + }, + { + "type": "reference", + "id": 9310, + "name": "APIContextMenuDMInteraction" + } + ] + } + }, + { + "id": 9184, + "name": "APIApplicationCommandGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 148, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9204, + "name": "APIChatInputApplicationCommandGuildInteraction" + }, + { + "type": "reference", + "id": 9311, + "name": "APIContextMenuGuildInteraction" + } + ] + } + }, + { + "id": 9218, + "name": "APIApplicationCommandIntegerOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/integer.ts", + "line": 20, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "APIApplicationCommandIntegerOptionBase" + }, + { + "type": "reference", + "id": 9246, + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "APIApplicationCommandOptionChoice" + } + ], + "name": "APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper" + } + }, + { + "id": 9182, + "name": "APIApplicationCommandInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 136, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9202, + "name": "APIChatInputApplicationCommandInteraction" + }, + { + "type": "reference", + "id": 9309, + "name": "APIContextMenuInteraction" + } + ] + } + }, + { + "id": 9163, + "name": "APIApplicationCommandInteractionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 106, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9189, + "name": "APIChatInputApplicationCommandInteractionData" + }, + { + "type": "reference", + "id": 9302, + "name": "APIContextMenuInteractionData" + } + ] + } + }, + { + "id": 9206, + "name": "APIApplicationCommandInteractionDataAttachmentOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9245, + "name": "ApplicationCommandOptionType.Attachment" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 9188, + "name": "APIApplicationCommandInteractionDataBasicOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 99, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9252, + "name": "APIApplicationCommandInteractionDataStringOption" + }, + { + "type": "reference", + "id": 9219, + "name": "APIApplicationCommandInteractionDataIntegerOption" + }, + { + "type": "reference", + "id": 9208, + "name": "APIApplicationCommandInteractionDataBooleanOption" + }, + { + "type": "reference", + "id": 9282, + "name": "APIApplicationCommandInteractionDataUserOption" + }, + { + "type": "reference", + "id": 9217, + "name": "APIApplicationCommandInteractionDataChannelOption" + }, + { + "type": "reference", + "id": 9233, + "name": "APIApplicationCommandInteractionDataRoleOption" + }, + { + "type": "reference", + "id": 9225, + "name": "APIApplicationCommandInteractionDataMentionableOption" + }, + { + "type": "reference", + "id": 9227, + "name": "APIApplicationCommandInteractionDataNumberOption" + }, + { + "type": "reference", + "id": 9206, + "name": "APIApplicationCommandInteractionDataAttachmentOption" + } + ] + } + }, + { + "id": 9208, + "name": "APIApplicationCommandInteractionDataBooleanOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.ts", + "line": 6, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9239, + "name": "ApplicationCommandOptionType.Boolean" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 9217, + "name": "APIApplicationCommandInteractionDataChannelOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/channel.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9241, + "name": "ApplicationCommandOptionType.Channel" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 9225, + "name": "APIApplicationCommandInteractionDataMentionableOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9243, + "name": "ApplicationCommandOptionType.Mentionable" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 9187, + "name": "APIApplicationCommandInteractionDataOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-interaction-data-option-structure" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 94, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9265, + "name": "APIApplicationCommandInteractionDataSubcommandOption" + }, + { + "type": "reference", + "id": 9277, + "name": "APIApplicationCommandInteractionDataSubcommandGroupOption" + }, + { + "type": "reference", + "id": 9188, + "name": "APIApplicationCommandInteractionDataBasicOption" + } + ] + } + }, + { + "id": 9233, + "name": "APIApplicationCommandInteractionDataRoleOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/role.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9242, + "name": "ApplicationCommandOptionType.Role" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 9282, + "name": "APIApplicationCommandInteractionDataUserOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/user.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9240, + "name": "ApplicationCommandOptionType.User" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 9180, + "name": "APIApplicationCommandInteractionWrapper", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/applicationCommands.ts", + "line": 129, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 9181, + "name": "Data", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 9163, + "name": "APIApplicationCommandInteractionData" + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9408, + "name": "InteractionType.ApplicationCommand" + }, + { + "type": "reference", + "id": 9181, + "name": "Data" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9408, + "name": "InteractionType.ApplicationCommand" + }, + { + "type": "reference", + "id": 9181, + "name": "Data" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "channel_id" + }, + { + "type": "literal", + "value": "data" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 9224, + "name": "APIApplicationCommandMentionableOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.ts", + "line": 5, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9243, + "name": "ApplicationCommandOptionType.Mentionable" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 9226, + "name": "APIApplicationCommandNumberOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/number.ts", + "line": 20, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "APIApplicationCommandNumberOptionBase" + }, + { + "type": "reference", + "id": 9246, + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "APIApplicationCommandOptionChoice" + } + ], + "name": "APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper" + } + }, + { + "id": 9186, + "name": "APIApplicationCommandOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-structure" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 86, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9257, + "name": "APIApplicationCommandSubcommandOption" + }, + { + "type": "reference", + "id": 9269, + "name": "APIApplicationCommandSubcommandGroupOption" + }, + { + "type": "reference", + "id": 9185, + "name": "APIApplicationCommandBasicOption" + } + ] + } + }, + { + "id": 9232, + "name": "APIApplicationCommandRoleOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/role.ts", + "line": 5, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9242, + "name": "ApplicationCommandOptionType.Role" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 9251, + "name": "APIApplicationCommandStringOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/string.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9237, + "name": "ApplicationCommandOptionType.String" + } + ], + "name": "APIApplicationCommandOptionBase" + }, + { + "type": "reference", + "id": 9246, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "APIApplicationCommandOptionChoice" + } + ], + "name": "APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper" + } + }, + { + "id": 9281, + "name": "APIApplicationCommandUserOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/_chatInput/user.ts", + "line": 5, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9240, + "name": "ApplicationCommandOptionType.User" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 8274, + "name": "APIAuditLogChange", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-change-object-audit-log-change-structure" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 281, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8275, + "name": "APIAuditLogChangeKeyName" + }, + { + "type": "reference", + "id": 8276, + "name": "APIAuditLogChangeKeyDescription" + }, + { + "type": "reference", + "id": 8277, + "name": "APIAuditLogChangeKeyIconHash" + }, + { + "type": "reference", + "id": 8278, + "name": "APIAuditLogChangeKeyImageHash" + }, + { + "type": "reference", + "id": 8279, + "name": "APIAuditLogChangeKeySplashHash" + }, + { + "type": "reference", + "id": 8280, + "name": "APIAuditLogChangeKeyDiscoverySplashHash" + }, + { + "type": "reference", + "id": 8281, + "name": "APIAuditLogChangeKeyBannerHash" + }, + { + "type": "reference", + "id": 8282, + "name": "APIAuditLogChangeKeyOwnerId" + }, + { + "type": "reference", + "id": 8283, + "name": "APIAuditLogChangeKeyRegion" + }, + { + "type": "reference", + "id": 8284, + "name": "APIAuditLogChangeKeyPreferredLocale" + }, + { + "type": "reference", + "id": 8285, + "name": "APIAuditLogChangeKeyAFKChannelId" + }, + { + "type": "reference", + "id": 8286, + "name": "APIAuditLogChangeKeyAFKTimeout" + }, + { + "type": "reference", + "id": 8287, + "name": "APIAuditLogChangeKeyRulesChannelId" + }, + { + "type": "reference", + "id": 8288, + "name": "APIAuditLogChangeKeyPublicUpdatesChannelId" + }, + { + "type": "reference", + "id": 8289, + "name": "APIAuditLogChangeKeyMFALevel" + }, + { + "type": "reference", + "id": 8290, + "name": "APIAuditLogChangeKeyVerificationLevel" + }, + { + "type": "reference", + "id": 8291, + "name": "APIAuditLogChangeKeyExplicitContentFilter" + }, + { + "type": "reference", + "id": 8292, + "name": "APIAuditLogChangeKeyDefaultMessageNotifications" + }, + { + "type": "reference", + "id": 8293, + "name": "APIAuditLogChangeKeyVanityURLCode" + }, + { + "type": "reference", + "id": 8294, + "name": "APIAuditLogChangeKey$Add" + }, + { + "type": "reference", + "id": 8295, + "name": "APIAuditLogChangeKey$Remove" + }, + { + "type": "reference", + "id": 8296, + "name": "APIAuditLogChangeKeyPruneDeleteDays" + }, + { + "type": "reference", + "id": 8297, + "name": "APIAuditLogChangeKeyWidgetEnabled" + }, + { + "type": "reference", + "id": 8298, + "name": "APIAuditLogChangeKeyWidgetChannelId" + }, + { + "type": "reference", + "id": 8299, + "name": "APIAuditLogChangeKeySystemChannelId" + }, + { + "type": "reference", + "id": 8300, + "name": "APIAuditLogChangeKeyPosition" + }, + { + "type": "reference", + "id": 8301, + "name": "APIAuditLogChangeKeyTopic" + }, + { + "type": "reference", + "id": 8302, + "name": "APIAuditLogChangeKeyBitrate" + }, + { + "type": "reference", + "id": 8303, + "name": "APIAuditLogChangeKeyPermissionOverwrites" + }, + { + "type": "reference", + "id": 8304, + "name": "APIAuditLogChangeKeyNSFW" + }, + { + "type": "reference", + "id": 8305, + "name": "APIAuditLogChangeKeyApplicationId" + }, + { + "type": "reference", + "id": 8306, + "name": "APIAuditLogChangeKeyRateLimitPerUser" + }, + { + "type": "reference", + "id": 8307, + "name": "APIAuditLogChangeKeyPermissions" + }, + { + "type": "reference", + "id": 8308, + "name": "APIAuditLogChangeKeyColor" + }, + { + "type": "reference", + "id": 8310, + "name": "APIAuditLogChangeKeyHoist" + }, + { + "type": "reference", + "id": 8311, + "name": "APIAuditLogChangeKeyMentionable" + }, + { + "type": "reference", + "id": 8312, + "name": "APIAuditLogChangeKeyAllow" + }, + { + "type": "reference", + "id": 8313, + "name": "APIAuditLogChangeKeyDeny" + }, + { + "type": "reference", + "id": 8314, + "name": "APIAuditLogChangeKeyCode" + }, + { + "type": "reference", + "id": 8315, + "name": "APIAuditLogChangeKeyChannelId" + }, + { + "type": "reference", + "id": 8316, + "name": "APIAuditLogChangeKeyInviterId" + }, + { + "type": "reference", + "id": 8317, + "name": "APIAuditLogChangeKeyMaxUses" + }, + { + "type": "reference", + "id": 8318, + "name": "APIAuditLogChangeKeyUses" + }, + { + "type": "reference", + "id": 8319, + "name": "APIAuditLogChangeKeyMaxAge" + }, + { + "type": "reference", + "id": 8320, + "name": "APIAuditLogChangeKeyTemporary" + }, + { + "type": "reference", + "id": 8321, + "name": "APIAuditLogChangeKeyDeaf" + }, + { + "type": "reference", + "id": 8322, + "name": "APIAuditLogChangeKeyMute" + }, + { + "type": "reference", + "id": 8323, + "name": "APIAuditLogChangeKeyNick" + }, + { + "type": "reference", + "id": 8324, + "name": "APIAuditLogChangeKeyAvatarHash" + }, + { + "type": "reference", + "id": 8325, + "name": "APIAuditLogChangeKeyId" + }, + { + "type": "reference", + "id": 8326, + "name": "APIAuditLogChangeKeyType" + }, + { + "type": "reference", + "id": 8327, + "name": "APIAuditLogChangeKeyEnableEmoticons" + }, + { + "type": "reference", + "id": 8328, + "name": "APIAuditLogChangeKeyExpireBehavior" + }, + { + "type": "reference", + "id": 8329, + "name": "APIAuditLogChangeKeyExpireGracePeriod" + }, + { + "type": "reference", + "id": 8330, + "name": "APIAuditLogChangeKeyUserLimit" + }, + { + "type": "reference", + "id": 8331, + "name": "APIAuditLogChangeKeyPrivacyLevel" + }, + { + "type": "reference", + "id": 8332, + "name": "APIAuditLogChangeKeyTags" + }, + { + "type": "reference", + "id": 8333, + "name": "APIAuditLogChangeKeyFormatType" + }, + { + "type": "reference", + "id": 8334, + "name": "APIAuditLogChangeKeyAsset" + }, + { + "type": "reference", + "id": 8335, + "name": "APIAuditLogChangeKeyAvailable" + }, + { + "type": "reference", + "id": 8336, + "name": "APIAuditLogChangeKeyGuildId" + }, + { + "type": "reference", + "id": 8337, + "name": "APIAuditLogChangeKeyArchived" + }, + { + "type": "reference", + "id": 8338, + "name": "APIAuditLogChangeKeyLocked" + }, + { + "type": "reference", + "id": 8339, + "name": "APIAuditLogChangeKeyAutoArchiveDuration" + }, + { + "type": "reference", + "id": 8340, + "name": "APIAuditLogChangeKeyDefaultAutoArchiveDuration" + }, + { + "type": "reference", + "id": 8341, + "name": "APIAuditLogChangeKeyEntityType" + }, + { + "type": "reference", + "id": 8342, + "name": "APIAuditLogChangeKeyStatus" + }, + { + "type": "reference", + "id": 8343, + "name": "APIAuditLogChangeKeyLocation" + }, + { + "type": "reference", + "id": 8344, + "name": "APIAuditLogChangeKeyCommunicationDisabledUntil" + } + ] + } + }, + { + "id": 8294, + "name": "APIAuditLogChangeKey$Add", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when new role(s) are added" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 456, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "$add" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 9509, + "name": "APIRole" + } + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8295, + "name": "APIAuditLogChangeKey$Remove", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when role(s) are removed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 461, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "$remove" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 9509, + "name": "APIRole" + } + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8285, + "name": "APIAuditLogChangeKeyAFKChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's afk_channel_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 405, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "afk_channel_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8286, + "name": "APIAuditLogChangeKeyAFKTimeout", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's afk_timeout is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 410, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "afk_timeout" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8312, + "name": "APIAuditLogChangeKeyAllow", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an overwrite's allowed permissions bitfield is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 548, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "allow" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8305, + "name": "APIAuditLogChangeKeyApplicationId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "The application ID of the added or removed Webhook or Bot" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 511, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "application_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8337, + "name": "APIAuditLogChangeKeyArchived", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 673, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "archived" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8334, + "name": "APIAuditLogChangeKeyAsset", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Empty string" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 658, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "asset" + }, + { + "type": "literal", + "value": "" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8339, + "name": "APIAuditLogChangeKeyAutoArchiveDuration", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 683, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "auto_archive_duration" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8335, + "name": "APIAuditLogChangeKeyAvailable", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a sticker's availability is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 663, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "available" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8324, + "name": "APIAuditLogChangeKeyAvatarHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's avatar_hash is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 608, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "avatar_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8281, + "name": "APIAuditLogChangeKeyBannerHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's banner hash is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 385, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "banner_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8302, + "name": "APIAuditLogChangeKeyBitrate", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a voice channel's bitrate is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 496, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "bitrate" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8315, + "name": "APIAuditLogChangeKeyChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's or guild scheduled event's channel_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 563, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "channel_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8314, + "name": "APIAuditLogChangeKeyCode", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's code is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 558, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "code" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8308, + "name": "APIAuditLogChangeKeyColor", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a role's color is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 527, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "color" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8344, + "name": "APIAuditLogChangeKeyCommunicationDisabledUntil", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's timeout is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 711, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "communication_disabled_until" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8321, + "name": "APIAuditLogChangeKeyDeaf", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's deaf status is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 593, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "deaf" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8340, + "name": "APIAuditLogChangeKeyDefaultAutoArchiveDuration", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 688, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "default_auto_archive_duration" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8292, + "name": "APIAuditLogChangeKeyDefaultMessageNotifications", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's default_message_notifications is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 443, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "default_message_notifications" + }, + { + "type": "reference", + "id": 8906, + "name": "GuildDefaultMessageNotifications" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8313, + "name": "APIAuditLogChangeKeyDeny", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an overwrite's denied permissions bitfield is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 553, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "deny" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8276, + "name": "APIAuditLogChangeKeyDescription", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's or sticker's or guild scheduled event's description is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 360, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "description" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8280, + "name": "APIAuditLogChangeKeyDiscoverySplashHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's discovery splash is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 380, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "discovery_splash_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8327, + "name": "APIAuditLogChangeKeyEnableEmoticons", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an integration's enable_emoticons is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 623, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "enable_emoticons" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8341, + "name": "APIAuditLogChangeKeyEntityType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when entity type of a guild scheduled event is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 696, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "entity_type" + }, + { + "type": "reference", + "id": 9125, + "name": "GuildScheduledEventEntityType" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8328, + "name": "APIAuditLogChangeKeyExpireBehavior", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an integration's expire_behavior is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 628, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "expire_behavior" + }, + { + "type": "reference", + "id": 9010, + "name": "IntegrationExpireBehavior" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8329, + "name": "APIAuditLogChangeKeyExpireGracePeriod", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an integration's expire_grace_period is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 633, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "expire_grace_period" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8291, + "name": "APIAuditLogChangeKeyExplicitContentFilter", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's explicit_content_filter is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 435, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "explicit_content_filter" + }, + { + "type": "reference", + "id": 8909, + "name": "GuildExplicitContentFilter" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8333, + "name": "APIAuditLogChangeKeyFormatType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a sticker's format_type is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 653, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "format_type" + }, + { + "type": "reference", + "id": 9557, + "name": "StickerFormatType" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8336, + "name": "APIAuditLogChangeKeyGuildId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a sticker's guild_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 668, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "guild_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8310, + "name": "APIAuditLogChangeKeyHoist", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a role's hoist status is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 538, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "hoist" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8277, + "name": "APIAuditLogChangeKeyIconHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's icon is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 365, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "icon_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8325, + "name": "APIAuditLogChangeKeyId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "The ID of the changed entity - sometimes used in conjunction with other keys" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 613, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8278, + "name": "APIAuditLogChangeKeyImageHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's scheduled event's cover image is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 370, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "image_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8316, + "name": "APIAuditLogChangeKeyInviterId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's inviter_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 568, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "inviter_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8343, + "name": "APIAuditLogChangeKeyLocation", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when location of a guild scheduled event is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 706, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "location" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8338, + "name": "APIAuditLogChangeKeyLocked", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 678, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "locked" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8289, + "name": "APIAuditLogChangeKeyMFALevel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's mfa_level is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 425, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "mfa_level" + }, + { + "type": "reference", + "id": 8913, + "name": "GuildMFALevel" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8319, + "name": "APIAuditLogChangeKeyMaxAge", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's max_age is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 583, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "max_age" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8317, + "name": "APIAuditLogChangeKeyMaxUses", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's max_uses is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 573, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "max_uses" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8311, + "name": "APIAuditLogChangeKeyMentionable", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a role's mentionable status is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 543, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "mentionable" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8322, + "name": "APIAuditLogChangeKeyMute", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's mute status is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 598, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "mute" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8304, + "name": "APIAuditLogChangeKeyNSFW", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's NSFW restriction is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 506, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "nsfw" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8275, + "name": "APIAuditLogChangeKeyName", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an entity's name is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 355, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "name" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8323, + "name": "APIAuditLogChangeKeyNick", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's nick is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 603, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "nick" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8282, + "name": "APIAuditLogChangeKeyOwnerId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's owner_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 390, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "owner_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8303, + "name": "APIAuditLogChangeKeyPermissionOverwrites", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's permission overwrites is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 501, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "permission_overwrites" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 8555, + "name": "APIOverwrite" + } + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8307, + "name": "APIAuditLogChangeKeyPermissions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a permission bitfield is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 522, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "permissions" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8300, + "name": "APIAuditLogChangeKeyPosition", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's position is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 486, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "position" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8284, + "name": "APIAuditLogChangeKeyPreferredLocale", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's preferred_locale is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 400, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "preferred_locale" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8331, + "name": "APIAuditLogChangeKeyPrivacyLevel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when privacy level of a stage instance or guild scheduled event is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 643, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "privacy_level" + }, + { + "type": "reference", + "id": 9533, + "name": "StageInstancePrivacyLevel" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8296, + "name": "APIAuditLogChangeKeyPruneDeleteDays", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when there is a change in number of days after which inactive and role-unassigned members are kicked" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 466, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "prune_delete_days" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8288, + "name": "APIAuditLogChangeKeyPublicUpdatesChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's public_updates_channel_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 420, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "public_updates_channel_id" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8306, + "name": "APIAuditLogChangeKeyRateLimitPerUser", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's amount of seconds a user has to wait before sending another message\nis changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 517, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "rate_limit_per_user" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8283, + "name": "APIAuditLogChangeKeyRegion", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's region is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 395, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "region" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8287, + "name": "APIAuditLogChangeKeyRulesChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's rules_channel_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 415, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "rules_channel_id" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8309, + "name": "APIAuditLogChangeKeySnowflake", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Represents a change where the key is a snowflake.\nCurrently, the only known instance of this is returned when permissions for a command were updated ()" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 533, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8279, + "name": "APIAuditLogChangeKeySplashHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's splash is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 375, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "splash_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8342, + "name": "APIAuditLogChangeKeyStatus", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when status of a guild scheduled event is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 701, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "status" + }, + { + "type": "reference", + "id": 9129, + "name": "GuildScheduledEventStatus" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8299, + "name": "APIAuditLogChangeKeySystemChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's system_channel_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 481, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "system_channel_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8332, + "name": "APIAuditLogChangeKeyTags", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a sticker's related emoji is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 648, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "tags" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8320, + "name": "APIAuditLogChangeKeyTemporary", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's temporary status is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 588, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "temporary" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8301, + "name": "APIAuditLogChangeKeyTopic", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's topic is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 491, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "topic" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8326, + "name": "APIAuditLogChangeKeyType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "The type of entity created" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 618, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "type" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8330, + "name": "APIAuditLogChangeKeyUserLimit", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a voice channel's user_limit is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 638, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "user_limit" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8318, + "name": "APIAuditLogChangeKeyUses", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's uses is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 578, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "uses" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8293, + "name": "APIAuditLogChangeKeyVanityURLCode", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's vanity_url_code is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 451, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "vanity_url_code" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8290, + "name": "APIAuditLogChangeKeyVerificationLevel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's verification_level is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 430, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "verification_level" + }, + { + "type": "reference", + "id": 8921, + "name": "GuildVerificationLevel" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8298, + "name": "APIAuditLogChangeKeyWidgetChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's widget_channel_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 476, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "widget_channel_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8297, + "name": "APIAuditLogChangeKeyWidgetEnabled", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's widget is enabled" + }, + "sources": [ + { + "fileName": "payloads/v10/auditLog.ts", + "line": 471, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "widget_enabled" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 8697, + "name": "APIButtonComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1245, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8683, + "name": "APIButtonComponentWithCustomId" + }, + { + "type": "reference", + "id": 8690, + "name": "APIButtonComponentWithURL" + } + ] + } + }, + { + "id": 8451, + "name": "APIChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-object-channel-structure" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 233, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8423, + "name": "APIGroupDMChannel" + }, + { + "type": "reference", + "id": 8422, + "name": "APIDMChannel" + }, + { + "type": "reference", + "id": 8391, + "name": "APITextChannel" + }, + { + "type": "reference", + "id": 8406, + "name": "APINewsChannel" + }, + { + "type": "reference", + "id": 8408, + "name": "APIVoiceChannel" + }, + { + "type": "reference", + "id": 8407, + "name": "APIGuildCategoryChannel" + }, + { + "type": "reference", + "id": 8433, + "name": "APIThreadChannel" + }, + { + "type": "reference", + "id": 8406, + "name": "APINewsChannel" + }, + { + "type": "reference", + "id": 8450, + "name": "APIGuildForumChannel" + } + ] + } + }, + { + "id": 9203, + "name": "APIChatInputApplicationCommandDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 139, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9373, + "typeArguments": [ + { + "type": "reference", + "id": 9202, + "name": "APIChatInputApplicationCommandInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 9204, + "name": "APIChatInputApplicationCommandGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 145, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9375, + "typeArguments": [ + { + "type": "reference", + "id": 9202, + "name": "APIChatInputApplicationCommandInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 9202, + "name": "APIChatInputApplicationCommandInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/chatInput.ts", + "line": 133, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9180, + "typeArguments": [ + { + "type": "reference", + "id": 9189, + "name": "APIChatInputApplicationCommandInteractionData" + } + ], + "name": "APIApplicationCommandInteractionWrapper" + } + }, + { + "id": 9310, + "name": "APIContextMenuDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 95, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9304, + "name": "APIUserApplicationCommandDMInteraction" + }, + { + "type": "reference", + "id": 9307, + "name": "APIMessageApplicationCommandDMInteraction" + } + ] + } + }, + { + "id": 9311, + "name": "APIContextMenuGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 102, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9305, + "name": "APIUserApplicationCommandGuildInteraction" + }, + { + "type": "reference", + "id": 9308, + "name": "APIMessageApplicationCommandGuildInteraction" + } + ] + } + }, + { + "id": 9309, + "name": "APIContextMenuInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 90, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9303, + "name": "APIUserApplicationCommandInteraction" + }, + { + "type": "reference", + "id": 9306, + "name": "APIMessageApplicationCommandInteraction" + } + ] + } + }, + { + "id": 9302, + "name": "APIContextMenuInteractionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 48, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9283, + "name": "APIUserApplicationCommandInteractionData" + }, + { + "type": "reference", + "id": 9293, + "name": "APIMessageApplicationCommandInteractionData" + } + ] + } + }, + { + "id": 8422, + "name": "APIDMChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 163, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8454, + "name": "ChannelType.DM" + } + ], + "name": "APIDMChannelBase" + } + }, + { + "id": 9141, + "name": "APIDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/interactions.ts", + "line": 44, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9183, + "name": "APIApplicationCommandDMInteraction" + }, + { + "type": "reference", + "id": 9390, + "name": "APIMessageComponentDMInteraction" + }, + { + "type": "reference", + "id": 9336, + "name": "APIApplicationCommandAutocompleteDMInteraction" + }, + { + "type": "reference", + "id": 9403, + "name": "APIModalSubmitDMInteraction" + } + ] + } + }, + { + "id": 9373, + "name": "APIDMInteractionWrapper", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 117, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 9374, + "name": "Original", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9406, + "name": "InteractionType" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "APIBaseInteraction" + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9374, + "name": "Original" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "member" + }, + { + "type": "literal", + "value": "guild_id" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9374, + "name": "Original" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 8407, + "name": "APIGuildCategoryChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 129, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8364, + "typeArguments": [ + { + "type": "reference", + "id": 8457, + "name": "ChannelType.GuildCategory" + } + ], + "name": "APIGuildChannel" + } + }, + { + "id": 10168, + "name": "APIGuildChannelResolvable", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 40, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8451, + "name": "APIChannel" + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8422, + "name": "APIDMChannel" + }, + { + "type": "reference", + "id": 8423, + "name": "APIGroupDMChannel" + } + ] + } + ], + "qualifiedName": "Exclude", + "package": "typescript", + "name": "Exclude" + } + }, + { + "id": 10169, + "name": "APIGuildCreatePartialChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 41, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10168, + "name": "APIGuildChannelResolvable" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "type" + }, + { + "type": "literal", + "value": "topic" + }, + { + "type": "literal", + "value": "nsfw" + }, + { + "type": "literal", + "value": "bitrate" + }, + { + "type": "literal", + "value": "user_limit" + }, + { + "type": "literal", + "value": "rate_limit_per_user" + }, + { + "type": "literal", + "value": "default_auto_archive_duration" + }, + { + "type": "literal", + "value": "position" + }, + { + "type": "literal", + "value": "rtc_region" + }, + { + "type": "literal", + "value": "video_quality_mode" + }, + { + "type": "literal", + "value": "flags" + } + ] + } + ], + "name": "DistributivePick" + } + ], + "name": "StrictPartial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10170, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10172, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 59, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 10171, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 58, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10173, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 60, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10174, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 61, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 10163, + "name": "APIGuildCreateOverwrite" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10172, + 10171, + 10173, + 10174 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 57, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 8450, + "name": "APIGuildForumChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 228, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8376, + "typeArguments": [ + { + "type": "reference", + "id": 8464, + "name": "ChannelType.GuildForum" + } + ], + "name": "APIGuildTextChannel" + } + }, + { + "id": 9009, + "name": "APIGuildIntegrationType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/guild.ts", + "line": 707, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "twitch" + }, + { + "type": "literal", + "value": "youtube" + }, + { + "type": "literal", + "value": "discord" + } + ] + } + }, + { + "id": 9142, + "name": "APIGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/interactions.ts", + "line": 53, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9184, + "name": "APIApplicationCommandGuildInteraction" + }, + { + "type": "reference", + "id": 9391, + "name": "APIMessageComponentGuildInteraction" + }, + { + "type": "reference", + "id": 9337, + "name": "APIApplicationCommandAutocompleteGuildInteraction" + }, + { + "type": "reference", + "id": 9404, + "name": "APIModalSubmitGuildInteraction" + } + ] + } + }, + { + "id": 9375, + "name": "APIGuildInteractionWrapper", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 123, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 9376, + "name": "Original", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9406, + "name": "InteractionType" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "APIBaseInteraction" + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9376, + "name": "Original" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9376, + "name": "Original" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "member" + }, + { + "type": "literal", + "value": "guild_id" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 9122, + "name": "APIGuildScheduledEvent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-structure" + }, + "sources": [ + { + "fileName": "payloads/v10/guildScheduledEvent.ts", + "line": 92, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9071, + "name": "APIStageInstanceGuildScheduledEvent" + }, + { + "type": "reference", + "id": 9088, + "name": "APIVoiceGuildScheduledEvent" + }, + { + "type": "reference", + "id": 9105, + "name": "APIExternalGuildScheduledEvent" + } + ] + } + }, + { + "id": 9140, + "name": "APIInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/interactions.ts", + "line": 34, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9405, + "name": "APIPingInteraction" + }, + { + "type": "reference", + "id": 9182, + "name": "APIApplicationCommandInteraction" + }, + { + "type": "reference", + "id": 9377, + "name": "APIMessageComponentInteraction" + }, + { + "type": "reference", + "id": 9335, + "name": "APIApplicationCommandAutocompleteInteraction" + }, + { + "type": "reference", + "id": 9402, + "name": "APIModalSubmitInteraction" + } + ] + } + }, + { + "id": 9412, + "name": "APIInteractionResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 20, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9413, + "name": "APIInteractionResponsePong" + }, + { + "type": "reference", + "id": 9421, + "name": "APIInteractionResponseChannelMessageWithSource" + }, + { + "type": "reference", + "id": 9424, + "name": "APIInteractionResponseDeferredChannelMessageWithSource" + }, + { + "type": "reference", + "id": 9427, + "name": "APIInteractionResponseDeferredMessageUpdate" + }, + { + "type": "reference", + "id": 9429, + "name": "APIInteractionResponseUpdateMessage" + }, + { + "type": "reference", + "id": 9415, + "name": "APIApplicationCommandAutocompleteResponse" + }, + { + "type": "reference", + "id": 9418, + "name": "APIModalInteractionResponse" + } + ] + } + }, + { + "id": 9440, + "name": "APIInteractionResponseCallbackData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-data-structure" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 99, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10625, + "name": "RESTPostAPIWebhookWithTokenJSONBody" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "username" + }, + { + "type": "literal", + "value": "avatar_url" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reflection", + "declaration": { + "id": 9441, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 9442, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 102, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 8538, + "name": "MessageFlags" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9442 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v10/_interactions/responses.ts", + "line": 102, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 9449, + "name": "APIInviteGuild", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/invite.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8862, + "name": "APIGuild" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "name" + }, + { + "type": "literal", + "value": "splash" + }, + { + "type": "literal", + "value": "banner" + }, + { + "type": "literal", + "value": "icon" + }, + { + "type": "literal", + "value": "vanity_url_code" + }, + { + "type": "literal", + "value": "description" + }, + { + "type": "literal", + "value": "features" + }, + { + "type": "literal", + "value": "verification_level" + }, + { + "type": "literal", + "value": "nsfw_level" + }, + { + "type": "literal", + "value": "premium_subscription_count" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 8736, + "name": "APIMessageActionRowComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#message-components" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1384, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8697, + "name": "APIButtonComponent" + }, + { + "type": "reference", + "id": 8707, + "name": "APISelectMenuComponent" + } + ] + } + }, + { + "id": 9307, + "name": "APIMessageApplicationCommandDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 78, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9373, + "typeArguments": [ + { + "type": "reference", + "id": 9306, + "name": "APIMessageApplicationCommandInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 9308, + "name": "APIMessageApplicationCommandGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 84, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9375, + "typeArguments": [ + { + "type": "reference", + "id": 9306, + "name": "APIMessageApplicationCommandInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 9306, + "name": "APIMessageApplicationCommandInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 72, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9180, + "typeArguments": [ + { + "type": "reference", + "id": 9293, + "name": "APIMessageApplicationCommandInteractionData" + } + ], + "name": "APIApplicationCommandInteractionWrapper" + } + }, + { + "id": 9385, + "name": "APIMessageButtonInteractionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/messageComponents.ts", + "line": 51, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9381, + "typeArguments": [ + { + "type": "reference", + "id": 8665, + "name": "ComponentType.Button" + } + ], + "name": "APIMessageComponentBaseInteractionData" + } + }, + { + "id": 8733, + "name": "APIMessageComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#message-components" + }, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1376, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8736, + "name": "APIMessageActionRowComponent" + }, + { + "type": "reference", + "id": 8668, + "typeArguments": [ + { + "type": "reference", + "id": 8736, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + ] + } + }, + { + "id": 9378, + "name": "APIMessageComponentButtonInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/messageComponents.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9409, + "name": "InteractionType.MessageComponent" + }, + { + "type": "reference", + "id": 9385, + "name": "APIMessageButtonInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9409, + "name": "InteractionType.MessageComponent" + }, + { + "type": "reference", + "id": 9385, + "name": "APIMessageButtonInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "channel_id" + }, + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "message" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 9390, + "name": "APIMessageComponentDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/messageComponents.ts", + "line": 58, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9373, + "typeArguments": [ + { + "type": "reference", + "id": 9377, + "name": "APIMessageComponentInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 9391, + "name": "APIMessageComponentGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/messageComponents.ts", + "line": 60, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9375, + "typeArguments": [ + { + "type": "reference", + "id": 9377, + "name": "APIMessageComponentInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 9377, + "name": "APIMessageComponentInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/messageComponents.ts", + "line": 5, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9409, + "name": "InteractionType.MessageComponent" + }, + { + "type": "reference", + "id": 9380, + "name": "APIMessageComponentInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9409, + "name": "InteractionType.MessageComponent" + }, + { + "type": "reference", + "id": 9380, + "name": "APIMessageComponentInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "channel_id" + }, + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "message" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 9380, + "name": "APIMessageComponentInteractionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/messageComponents.ts", + "line": 38, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9385, + "name": "APIMessageButtonInteractionData" + }, + { + "type": "reference", + "id": 9386, + "name": "APIMessageSelectMenuInteractionData" + } + ] + } + }, + { + "id": 9379, + "name": "APIMessageComponentSelectMenuInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/messageComponents.ts", + "line": 27, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9409, + "name": "InteractionType.MessageComponent" + }, + { + "type": "reference", + "id": 9386, + "name": "APIMessageSelectMenuInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9409, + "name": "InteractionType.MessageComponent" + }, + { + "type": "reference", + "id": 9386, + "name": "APIMessageSelectMenuInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "channel_id" + }, + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "message" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 10048, + "name": "APIMessageReferenceSend", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-reference-object-message-reference-structure" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 193, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8529, + "name": "APIMessageReference" + } + ], + "name": "StrictPartial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8529, + "name": "APIMessageReference" + }, + { + "type": "literal", + "value": "message_id" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10049, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10050, + "name": "fail_if_not_exists", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message", + "tags": [ + { + "tag": "default", + "text": "true\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 201, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10050 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 195, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 8737, + "name": "APIModalActionRowComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1387, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8721, + "name": "APITextInputComponent" + } + }, + { + "id": 8734, + "name": "APIModalComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 1377, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8737, + "name": "APIModalActionRowComponent" + }, + { + "type": "reference", + "id": 8668, + "typeArguments": [ + { + "type": "reference", + "id": 8737, + "name": "APIModalActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + ] + } + }, + { + "id": 9403, + "name": "APIModalSubmitDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/modalSubmit.ts", + "line": 41, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9373, + "typeArguments": [ + { + "type": "reference", + "id": 9402, + "name": "APIModalSubmitInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 9404, + "name": "APIModalSubmitGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/modalSubmit.ts", + "line": 46, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9375, + "typeArguments": [ + { + "type": "reference", + "id": 9402, + "name": "APIModalSubmitInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 9402, + "name": "APIModalSubmitInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/modalSubmit.ts", + "line": 35, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9411, + "name": "InteractionType.ModalSubmit" + }, + { + "type": "reference", + "id": 9399, + "name": "APIModalSubmission" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9411, + "name": "InteractionType.ModalSubmit" + }, + { + "type": "reference", + "id": 9399, + "name": "APIModalSubmission" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 8406, + "name": "APINewsChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 128, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8376, + "typeArguments": [ + { + "type": "reference", + "id": 8458, + "name": "ChannelType.GuildNews" + } + ], + "name": "APIGuildTextChannel" + } + }, + { + "id": 9405, + "name": "APIPingInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/ping.ts", + "line": 4, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9357, + "typeArguments": [ + { + "type": "reference", + "id": 9407, + "name": "InteractionType.Ping" + }, + { + "type": "intrinsic", + "name": "never" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "literal", + "value": "locale" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 9561, + "name": "APIStickerItem", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-item-object" + }, + "sources": [ + { + "fileName": "payloads/v10/sticker.ts", + "line": 93, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9541, + "name": "APISticker" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "name" + }, + { + "type": "literal", + "value": "format_type" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 9304, + "name": "APIUserApplicationCommandDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 61, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9373, + "typeArguments": [ + { + "type": "reference", + "id": 9303, + "name": "APIUserApplicationCommandInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 9305, + "name": "APIUserApplicationCommandGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 66, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9375, + "typeArguments": [ + { + "type": "reference", + "id": 9303, + "name": "APIUserApplicationCommandInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 9303, + "name": "APIUserApplicationCommandInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/contextMenu.ts", + "line": 55, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9180, + "typeArguments": [ + { + "type": "reference", + "id": 9283, + "name": "APIUserApplicationCommandInteractionData" + } + ], + "name": "APIApplicationCommandInteractionWrapper" + } + }, + { + "id": 8821, + "name": "GatewayActivityAssets", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-assets" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 304, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "large_image" + }, + { + "type": "literal", + "value": "large_text" + }, + { + "type": "literal", + "value": "small_image" + }, + { + "type": "literal", + "value": "small_text" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 8817, + "name": "GatewayActivityEmoji", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-emoji" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 285, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8742, + "name": "APIEmoji" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "animated" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8742, + "name": "APIEmoji" + }, + { + "type": "literal", + "value": "name" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ] + } + }, + { + "id": 8822, + "name": "GatewayActivitySecrets", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-secrets" + }, + "sources": [ + { + "fileName": "payloads/v10/gateway.ts", + "line": 311, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "join" + }, + { + "type": "literal", + "value": "spectate" + }, + { + "type": "literal", + "value": "match" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 8151, + "name": "GatewayActivityUpdateData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-structure" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1722, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8778, + "name": "GatewayActivity" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "name" + }, + { + "type": "literal", + "value": "type" + }, + { + "type": "literal", + "value": "url" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 7869, + "name": "GatewayChannelCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 450, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7867, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 7870, + "name": "GatewayChannelCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 455, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7868, + "name": "GatewayChannelModifyDispatchData" + } + }, + { + "id": 7873, + "name": "GatewayChannelDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-delete" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 470, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7867, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 7874, + "name": "GatewayChannelDeleteDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-delete" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 475, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7868, + "name": "GatewayChannelModifyDispatchData" + } + }, + { + "id": 7867, + "name": "GatewayChannelModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-create\nhttps://discord.com/developers/docs/topics/gateway#channel-update\nhttps://discord.com/developers/docs/topics/gateway#channel-delete" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 435, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 7772, + "name": "GatewayDispatchEvents.ChannelCreate" + }, + { + "type": "reference", + "id": 7773, + "name": "GatewayDispatchEvents.ChannelDelete" + }, + { + "type": "reference", + "id": 7775, + "name": "GatewayDispatchEvents.ChannelUpdate" + } + ] + }, + { + "type": "reference", + "id": 7868, + "name": "GatewayChannelModifyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7868, + "name": "GatewayChannelModifyDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-create\nhttps://discord.com/developers/docs/topics/gateway#channel-update\nhttps://discord.com/developers/docs/topics/gateway#channel-delete" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 445, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + }, + { + "id": 7875, + "name": "GatewayChannelPinsUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-pins-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 480, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7774, + "name": "GatewayDispatchEvents.ChannelPinsUpdate" + }, + { + "type": "reference", + "id": 7876, + "name": "GatewayChannelPinsUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7871, + "name": "GatewayChannelUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 460, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7867, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 7872, + "name": "GatewayChannelUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 465, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7868, + "name": "GatewayChannelModifyDispatchData" + } + }, + { + "id": 7829, + "name": "GatewayDispatchPayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 273, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 7867, + "name": "GatewayChannelModifyDispatch" + }, + { + "type": "reference", + "id": 7875, + "name": "GatewayChannelPinsUpdateDispatch" + }, + { + "type": "reference", + "id": 7899, + "name": "GatewayGuildBanModifyDispatch" + }, + { + "type": "reference", + "id": 7897, + "name": "GatewayGuildDeleteDispatch" + }, + { + "type": "reference", + "id": 7907, + "name": "GatewayGuildEmojisUpdateDispatch" + }, + { + "type": "reference", + "id": 7915, + "name": "GatewayGuildIntegrationsUpdateDispatch" + }, + { + "type": "reference", + "id": 7918, + "name": "GatewayGuildMemberAddDispatch" + }, + { + "type": "reference", + "id": 7931, + "name": "GatewayGuildMemberRemoveDispatch" + }, + { + "type": "reference", + "id": 7939, + "name": "GatewayGuildMembersChunkDispatch" + }, + { + "type": "reference", + "id": 7935, + "name": "GatewayGuildMemberUpdateDispatch" + }, + { + "type": "reference", + "id": 7880, + "name": "GatewayGuildModifyDispatch" + }, + { + "type": "reference", + "id": 7956, + "name": "GatewayGuildRoleDeleteDispatch" + }, + { + "type": "reference", + "id": 7948, + "name": "GatewayGuildRoleModifyDispatch" + }, + { + "type": "reference", + "id": 7960, + "name": "GatewayGuildScheduledEventCreateDispatch" + }, + { + "type": "reference", + "id": 7962, + "name": "GatewayGuildScheduledEventUpdateDispatch" + }, + { + "type": "reference", + "id": 7964, + "name": "GatewayGuildScheduledEventDeleteDispatch" + }, + { + "type": "reference", + "id": 7966, + "name": "GatewayGuildScheduledEventUserAddDispatch" + }, + { + "type": "reference", + "id": 7971, + "name": "GatewayGuildScheduledEventUserRemoveDispatch" + }, + { + "type": "reference", + "id": 7911, + "name": "GatewayGuildStickersUpdateDispatch" + }, + { + "type": "reference", + "id": 7976, + "name": "GatewayIntegrationCreateDispatch" + }, + { + "type": "reference", + "id": 7984, + "name": "GatewayIntegrationDeleteDispatch" + }, + { + "type": "reference", + "id": 7980, + "name": "GatewayIntegrationUpdateDispatch" + }, + { + "type": "reference", + "id": 7989, + "name": "GatewayInteractionCreateDispatch" + }, + { + "type": "reference", + "id": 7991, + "name": "GatewayInviteCreateDispatch" + }, + { + "type": "reference", + "id": 8005, + "name": "GatewayInviteDeleteDispatch" + }, + { + "type": "reference", + "id": 8010, + "name": "GatewayMessageCreateDispatch" + }, + { + "type": "reference", + "id": 8022, + "name": "GatewayMessageDeleteBulkDispatch" + }, + { + "type": "reference", + "id": 8017, + "name": "GatewayMessageDeleteDispatch" + }, + { + "type": "reference", + "id": 8027, + "name": "GatewayMessageReactionAddDispatch" + }, + { + "type": "reference", + "id": 8031, + "name": "GatewayMessageReactionRemoveAllDispatch" + }, + { + "type": "reference", + "id": 8029, + "name": "GatewayMessageReactionRemoveDispatch" + }, + { + "type": "reference", + "id": 8033, + "name": "GatewayMessageReactionRemoveEmojiDispatch" + }, + { + "type": "reference", + "id": 8012, + "name": "GatewayMessageUpdateDispatch" + }, + { + "type": "reference", + "id": 8039, + "name": "GatewayPresenceUpdateDispatch" + }, + { + "type": "reference", + "id": 8041, + "name": "GatewayStageInstanceCreateDispatch" + }, + { + "type": "reference", + "id": 8043, + "name": "GatewayStageInstanceDeleteDispatch" + }, + { + "type": "reference", + "id": 8045, + "name": "GatewayStageInstanceUpdateDispatch" + }, + { + "type": "reference", + "id": 7858, + "name": "GatewayReadyDispatch" + }, + { + "type": "reference", + "id": 7866, + "name": "GatewayResumedDispatch" + }, + { + "type": "reference", + "id": 8047, + "name": "GatewayThreadListSyncDispatch" + }, + { + "type": "reference", + "id": 8049, + "name": "GatewayThreadMembersUpdateDispatch" + }, + { + "type": "reference", + "id": 8051, + "name": "GatewayThreadMemberUpdateDispatch" + }, + { + "type": "reference", + "id": 8055, + "name": "GatewayThreadModifyDispatch" + }, + { + "type": "reference", + "id": 8079, + "name": "GatewayTypingStartDispatch" + }, + { + "type": "reference", + "id": 8086, + "name": "GatewayUserUpdateDispatch" + }, + { + "type": "reference", + "id": 8090, + "name": "GatewayVoiceServerUpdateDispatch" + }, + { + "type": "reference", + "id": 8088, + "name": "GatewayVoiceStateUpdateDispatch" + }, + { + "type": "reference", + "id": 8095, + "name": "GatewayWebhooksUpdateDispatch" + } + ] + } + }, + { + "id": 7903, + "name": "GatewayGuildBanAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-add" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 652, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7899, + "name": "GatewayGuildBanModifyDispatch" + } + }, + { + "id": 7904, + "name": "GatewayGuildBanAddDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-add" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 657, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7900, + "name": "GatewayGuildBanModifyDispatchData" + } + }, + { + "id": 7899, + "name": "GatewayGuildBanModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-add\nhttps://discord.com/developers/docs/topics/gateway#guild-ban-remove" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 627, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 7776, + "name": "GatewayDispatchEvents.GuildBanAdd" + }, + { + "type": "reference", + "id": 7777, + "name": "GatewayDispatchEvents.GuildBanRemove" + } + ] + }, + { + "type": "reference", + "id": 7900, + "name": "GatewayGuildBanModifyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7905, + "name": "GatewayGuildBanRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-remove" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 662, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7899, + "name": "GatewayGuildBanModifyDispatch" + } + }, + { + "id": 7906, + "name": "GatewayGuildBanRemoveDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-remove" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 667, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7900, + "name": "GatewayGuildBanModifyDispatchData" + } + }, + { + "id": 7882, + "name": "GatewayGuildCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 520, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7880, + "name": "GatewayGuildModifyDispatch" + } + }, + { + "id": 7883, + "name": "GatewayGuildCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-create\nhttps://discord.com/developers/docs/topics/gateway#guild-create-guild-create-extra-fields" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 526, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 8862, + "name": "APIGuild" + }, + { + "type": "reflection", + "declaration": { + "id": 7884, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7890, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Channels in the guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 568, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + } + }, + { + "id": 7894, + "name": "guild_scheduled_events", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The scheduled events in the guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nhttps://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 600, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9122, + "name": "APIGuildScheduledEvent" + } + } + }, + { + "id": 7885, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this guild was joined at", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 532, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7886, + "name": "large", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`true` if this is considered a large guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 538, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7887, + "name": "member_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Total number of members in this guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 544, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7889, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Users in the guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 560, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + } + } + }, + { + "id": 7892, + "name": "presences", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Presences of the members in the guild, will only include non-offline members if the size is greater than `large_threshold`", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/topics/gateway#presence-update\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 584, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8762, + "name": "GatewayPresenceUpdate" + } + } + }, + { + "id": 7893, + "name": "stage_instances", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The stage instances in the guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/resources/stage-instance#stage-instance-object-stage-instance-structure\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 592, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9525, + "name": "APIStageInstance" + } + } + }, + { + "id": 7891, + "name": "threads", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Threads in the guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 576, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + } + }, + { + "id": 7888, + "name": "voice_states", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "States of members currently in voice channels; lacks the `guild_id` key", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/resources/voice#voice-state-object\n" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 552, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9661, + "name": "GatewayVoiceState" + }, + { + "type": "literal", + "value": "guild_id" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7890, + 7894, + 7885, + 7886, + 7887, + 7889, + 7892, + 7893, + 7891, + 7888 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 526, + "character": 56 + } + ] + } + } + ] + } + }, + { + "id": 7897, + "name": "GatewayGuildDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-delete" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 616, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7779, + "name": "GatewayDispatchEvents.GuildDelete" + }, + { + "type": "reference", + "id": 7898, + "name": "GatewayGuildDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7898, + "name": "GatewayGuildDeleteDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-delete" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 621, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8847, + "name": "APIUnavailableGuild" + } + }, + { + "id": 7907, + "name": "GatewayGuildEmojisUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-emojis-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 672, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7780, + "name": "GatewayDispatchEvents.GuildEmojisUpdate" + }, + { + "type": "reference", + "id": 7908, + "name": "GatewayGuildEmojisUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7915, + "name": "GatewayGuildIntegrationsUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-integrations-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 720, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7781, + "name": "GatewayDispatchEvents.GuildIntegrationsUpdate" + }, + { + "type": "reference", + "id": 7916, + "name": "GatewayGuildIntegrationsUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7918, + "name": "GatewayGuildMemberAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-add" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 738, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7782, + "name": "GatewayDispatchEvents.GuildMemberAdd" + }, + { + "type": "reference", + "id": 7919, + "name": "GatewayGuildMemberAddDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7931, + "name": "GatewayGuildMemberRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-remove" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 756, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7783, + "name": "GatewayDispatchEvents.GuildMemberRemove" + }, + { + "type": "reference", + "id": 7932, + "name": "GatewayGuildMemberRemoveDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7935, + "name": "GatewayGuildMemberUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 780, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7785, + "name": "GatewayDispatchEvents.GuildMemberUpdate" + }, + { + "type": "reference", + "id": 7936, + "name": "GatewayGuildMemberUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7936, + "name": "GatewayGuildMemberUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 788, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "deaf" + }, + { + "type": "literal", + "value": "mute" + }, + { + "type": "literal", + "value": "user" + }, + { + "type": "literal", + "value": "joined_at" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "deaf" + }, + { + "type": "literal", + "value": "mute" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + }, + { + "type": "literal", + "value": "joined_at" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "name": "Nullable" + }, + { + "type": "reflection", + "declaration": { + "id": 7937, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7938, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 795, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7938 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 791, + "character": 47 + } + ] + } + } + ] + } + }, + { + "id": 7939, + "name": "GatewayGuildMembersChunkDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-members-chunk" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 801, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7784, + "name": "GatewayDispatchEvents.GuildMembersChunk" + }, + { + "type": "reference", + "id": 7940, + "name": "GatewayGuildMembersChunkDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7880, + "name": "GatewayGuildModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-create\nhttps://discord.com/developers/docs/topics/gateway#guild-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 507, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 7778, + "name": "GatewayDispatchEvents.GuildCreate" + }, + { + "type": "reference", + "id": 7790, + "name": "GatewayDispatchEvents.GuildUpdate" + } + ] + }, + { + "type": "reference", + "id": 7881, + "name": "GatewayGuildModifyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7881, + "name": "GatewayGuildModifyDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 515, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8862, + "name": "APIGuild" + } + }, + { + "id": 7952, + "name": "GatewayGuildRoleCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 875, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7948, + "name": "GatewayGuildRoleModifyDispatch" + } + }, + { + "id": 7953, + "name": "GatewayGuildRoleCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 880, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7949, + "name": "GatewayGuildRoleModifyDispatchData" + } + }, + { + "id": 7956, + "name": "GatewayGuildRoleDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-delete" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 895, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7787, + "name": "GatewayDispatchEvents.GuildRoleDelete" + }, + { + "type": "reference", + "id": 7957, + "name": "GatewayGuildRoleDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7948, + "name": "GatewayGuildRoleModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-create\nhttps://discord.com/developers/docs/topics/gateway#guild-role-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 850, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 7786, + "name": "GatewayDispatchEvents.GuildRoleCreate" + }, + { + "type": "reference", + "id": 7788, + "name": "GatewayDispatchEvents.GuildRoleUpdate" + } + ] + }, + { + "type": "reference", + "id": 7949, + "name": "GatewayGuildRoleModifyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7954, + "name": "GatewayGuildRoleUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 885, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7948, + "name": "GatewayGuildRoleModifyDispatch" + } + }, + { + "id": 7955, + "name": "GatewayGuildRoleUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 890, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7949, + "name": "GatewayGuildRoleModifyDispatchData" + } + }, + { + "id": 7960, + "name": "GatewayGuildScheduledEventCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 914, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7822, + "name": "GatewayDispatchEvents.GuildScheduledEventCreate" + }, + { + "type": "reference", + "id": 7961, + "name": "GatewayGuildScheduledEventCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7961, + "name": "GatewayGuildScheduledEventCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 919, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9122, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 7964, + "name": "GatewayGuildScheduledEventDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 928, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7824, + "name": "GatewayDispatchEvents.GuildScheduledEventDelete" + }, + { + "type": "reference", + "id": 7965, + "name": "GatewayGuildScheduledEventDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7965, + "name": "GatewayGuildScheduledEventDeleteDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 933, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9122, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 7962, + "name": "GatewayGuildScheduledEventUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 921, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7823, + "name": "GatewayDispatchEvents.GuildScheduledEventUpdate" + }, + { + "type": "reference", + "id": 7963, + "name": "GatewayGuildScheduledEventUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7963, + "name": "GatewayGuildScheduledEventUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 926, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9122, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 7966, + "name": "GatewayGuildScheduledEventUserAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 935, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7825, + "name": "GatewayDispatchEvents.GuildScheduledEventUserAdd" + }, + { + "type": "reference", + "id": 7967, + "name": "GatewayGuildScheduledEventUserAddDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7971, + "name": "GatewayGuildScheduledEventUserRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 946, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7826, + "name": "GatewayDispatchEvents.GuildScheduledEventUserRemove" + }, + { + "type": "reference", + "id": 7967, + "name": "GatewayGuildScheduledEventUserAddDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7911, + "name": "GatewayGuildStickersUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-stickers-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 696, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7789, + "name": "GatewayDispatchEvents.GuildStickersUpdate" + }, + { + "type": "reference", + "id": 7912, + "name": "GatewayGuildStickersUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7895, + "name": "GatewayGuildUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 606, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7880, + "name": "GatewayGuildModifyDispatch" + } + }, + { + "id": 7896, + "name": "GatewayGuildUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 611, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7881, + "name": "GatewayGuildModifyDispatchData" + } + }, + { + "id": 8102, + "name": "GatewayHeartbeatData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1511, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7976, + "name": "GatewayIntegrationCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 960, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7791, + "name": "GatewayDispatchEvents.IntegrationCreate" + }, + { + "type": "reference", + "id": 7977, + "name": "GatewayIntegrationCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7977, + "name": "GatewayIntegrationCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 968, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 8993, + "name": "APIGuildIntegration" + }, + { + "type": "reflection", + "declaration": { + "id": 7978, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7979, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 968, + "character": 75 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7979 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 968, + "character": 73 + } + ] + } + } + ] + } + }, + { + "id": 7984, + "name": "GatewayIntegrationDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 986, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7792, + "name": "GatewayDispatchEvents.IntegrationDelete" + }, + { + "type": "reference", + "id": 7985, + "name": "GatewayIntegrationDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7980, + "name": "GatewayIntegrationUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 973, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7793, + "name": "GatewayDispatchEvents.IntegrationUpdate" + }, + { + "type": "reference", + "id": 7981, + "name": "GatewayIntegrationUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7981, + "name": "GatewayIntegrationUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 981, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 8993, + "name": "APIGuildIntegration" + }, + { + "type": "reflection", + "declaration": { + "id": 7982, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7983, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 981, + "character": 75 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7983 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 981, + "character": 73 + } + ] + } + } + ] + } + }, + { + "id": 7989, + "name": "GatewayInteractionCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#interaction-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1012, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7794, + "name": "GatewayDispatchEvents.InteractionCreate" + }, + { + "type": "reference", + "id": 7990, + "name": "GatewayInteractionCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7990, + "name": "GatewayInteractionCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#interaction-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1020, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9140, + "name": "APIInteraction" + } + }, + { + "id": 7852, + "name": "GatewayInvalidSessionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invalid-session" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 370, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7991, + "name": "GatewayInviteCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invite-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1025, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7795, + "name": "GatewayDispatchEvents.InviteCreate" + }, + { + "type": "reference", + "id": 7992, + "name": "GatewayInviteCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8005, + "name": "GatewayInviteDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invite-delete" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1095, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7796, + "name": "GatewayDispatchEvents.InviteDelete" + }, + { + "type": "reference", + "id": 8006, + "name": "GatewayInviteDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8010, + "name": "GatewayMessageCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1123, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7797, + "name": "GatewayDispatchEvents.MessageCreate" + }, + { + "type": "reference", + "id": 8011, + "name": "GatewayMessageCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8011, + "name": "GatewayMessageCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1131, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + }, + { + "id": 8022, + "name": "GatewayMessageDeleteBulkDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-delete-bulk" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1178, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7799, + "name": "GatewayDispatchEvents.MessageDeleteBulk" + }, + { + "type": "reference", + "id": 8023, + "name": "GatewayMessageDeleteBulkDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8017, + "name": "GatewayMessageDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-delete" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1152, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7798, + "name": "GatewayDispatchEvents.MessageDelete" + }, + { + "type": "reference", + "id": 8018, + "name": "GatewayMessageDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8027, + "name": "GatewayMessageReactionAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-add" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1204, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7800, + "name": "GatewayDispatchEvents.MessageReactionAdd" + } + ], + "name": "ReactionData" + } + }, + { + "id": 8028, + "name": "GatewayMessageReactionAddDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-add" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1209, + "character": 12 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "d" + }, + "objectType": { + "type": "reference", + "id": 8027, + "name": "GatewayMessageReactionAddDispatch" + } + } + }, + { + "id": 8031, + "name": "GatewayMessageReactionRemoveAllDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove-all" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1224, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7802, + "name": "GatewayDispatchEvents.MessageReactionRemoveAll" + }, + { + "type": "reference", + "id": 8032, + "name": "GatewayMessageReactionRemoveAllDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8032, + "name": "GatewayMessageReactionRemoveAllDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove-all" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1232, + "character": 12 + } + ], + "type": { + "type": "reference", + "name": "MessageReactionRemoveData" + } + }, + { + "id": 8029, + "name": "GatewayMessageReactionRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1214, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7801, + "name": "GatewayDispatchEvents.MessageReactionRemove" + }, + { + "type": "literal", + "value": "member" + } + ], + "name": "ReactionData" + } + }, + { + "id": 8030, + "name": "GatewayMessageReactionRemoveDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1219, + "character": 12 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "d" + }, + "objectType": { + "type": "reference", + "id": 8029, + "name": "GatewayMessageReactionRemoveDispatch" + } + } + }, + { + "id": 8033, + "name": "GatewayMessageReactionRemoveEmojiDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1237, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7803, + "name": "GatewayDispatchEvents.MessageReactionRemoveEmoji" + }, + { + "type": "reference", + "id": 8034, + "name": "GatewayMessageReactionRemoveEmojiDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8012, + "name": "GatewayMessageUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1136, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7804, + "name": "GatewayDispatchEvents.MessageUpdate" + }, + { + "type": "reference", + "id": 8013, + "name": "GatewayMessageUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8013, + "name": "GatewayMessageUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1144, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 8014, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 8016, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1146, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 8015, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1145, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8016, + 8015 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1144, + "character": 47 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + }, + { + "id": 8039, + "name": "GatewayPresenceUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#presence-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1255, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7805, + "name": "GatewayDispatchEvents.PresenceUpdate" + }, + { + "type": "reference", + "id": 8040, + "name": "GatewayPresenceUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8040, + "name": "GatewayPresenceUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#presence-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1263, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8762, + "name": "RawGatewayPresenceUpdate" + } + }, + { + "id": 7858, + "name": "GatewayReadyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#ready" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 383, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7809, + "name": "GatewayDispatchEvents.Ready" + }, + { + "type": "reference", + "id": 7859, + "name": "GatewayReadyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7828, + "name": "GatewayReceivePayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 265, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 7830, + "name": "GatewayHello" + }, + { + "type": "reference", + "id": 7837, + "name": "GatewayHeartbeatRequest" + }, + { + "type": "reference", + "id": 7842, + "name": "GatewayHeartbeatAck" + }, + { + "type": "reference", + "id": 7847, + "name": "GatewayInvalidSession" + }, + { + "type": "reference", + "id": 7853, + "name": "GatewayReconnect" + }, + { + "type": "reference", + "id": 7829, + "name": "GatewayDispatchPayload" + } + ] + } + }, + { + "id": 7866, + "name": "GatewayResumedDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#resumed" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 428, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7810, + "name": "GatewayDispatchEvents.Resumed" + }, + { + "type": "intrinsic", + "name": "never" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7827, + "name": "GatewaySendPayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 257, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8099, + "name": "GatewayHeartbeat" + }, + { + "type": "reference", + "id": 8103, + "name": "GatewayIdentify" + }, + { + "type": "reference", + "id": 8143, + "name": "GatewayUpdatePresence" + }, + { + "type": "reference", + "id": 8135, + "name": "GatewayVoiceStateUpdate" + }, + { + "type": "reference", + "id": 8118, + "name": "GatewayResume" + }, + { + "type": "reference", + "id": 8125, + "name": "GatewayRequestGuildMembers" + } + ] + } + }, + { + "id": 8041, + "name": "GatewayStageInstanceCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1268, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7806, + "name": "GatewayDispatchEvents.StageInstanceCreate" + }, + { + "type": "reference", + "id": 8042, + "name": "GatewayStageInstanceCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8042, + "name": "GatewayStageInstanceCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1276, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9525, + "name": "APIStageInstance" + } + }, + { + "id": 8043, + "name": "GatewayStageInstanceDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-delete" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1281, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7807, + "name": "GatewayDispatchEvents.StageInstanceDelete" + }, + { + "type": "reference", + "id": 8044, + "name": "GatewayStageInstanceDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8044, + "name": "GatewayStageInstanceDeleteDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-delete" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1289, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9525, + "name": "APIStageInstance" + } + }, + { + "id": 8045, + "name": "GatewayStageInstanceUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1294, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7808, + "name": "GatewayDispatchEvents.StageInstanceUpdate" + }, + { + "type": "reference", + "id": 8046, + "name": "GatewayStageInstanceUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8046, + "name": "GatewayStageInstanceUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1302, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9525, + "name": "APIStageInstance" + } + }, + { + "id": 8056, + "name": "GatewayThreadCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-create" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1356, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7867, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 8077, + "name": "GatewayThreadDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-delete" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1381, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7867, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 8078, + "name": "GatewayThreadDeleteDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-delete" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1386, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7868, + "name": "GatewayChannelModifyDispatchData" + } + }, + { + "id": 8047, + "name": "GatewayThreadListSyncDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-list-sync" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1307, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7813, + "name": "GatewayDispatchEvents.ThreadListSync" + }, + { + "type": "reference", + "id": 8048, + "name": "GatewayThreadListSyncDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8048, + "name": "GatewayThreadListSyncDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-list-sync" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1315, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8836, + "name": "RawGatewayThreadListSync" + } + }, + { + "id": 8051, + "name": "GatewayThreadMemberUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-member-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1333, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7815, + "name": "GatewayDispatchEvents.ThreadMemberUpdate" + }, + { + "type": "reference", + "id": 8052, + "name": "GatewayThreadMemberUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8052, + "name": "GatewayThreadMemberUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-member-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1341, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 8575, + "name": "APIThreadMember" + }, + { + "type": "reflection", + "declaration": { + "id": 8053, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 8054, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1341, + "character": 72 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 8054 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1341, + "character": 70 + } + ] + } + } + ] + } + }, + { + "id": 8049, + "name": "GatewayThreadMembersUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-members-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1320, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7814, + "name": "GatewayDispatchEvents.ThreadMembersUpdate" + }, + { + "type": "reference", + "id": 8050, + "name": "GatewayThreadMembersUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8050, + "name": "GatewayThreadMembersUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-members-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1328, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8841, + "name": "RawGatewayThreadMembersUpdate" + } + }, + { + "id": 8055, + "name": "GatewayThreadModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-create\nhttps://discord.com/developers/docs/topics/gateway#thread-update\nhttps://discord.com/developers/docs/topics/gateway#thread-delete" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1348, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 7811, + "name": "GatewayDispatchEvents.ThreadCreate" + }, + { + "type": "reference", + "id": 7812, + "name": "GatewayDispatchEvents.ThreadDelete" + }, + { + "type": "reference", + "id": 7816, + "name": "GatewayDispatchEvents.ThreadUpdate" + } + ] + }, + { + "type": "reference", + "id": 7868, + "name": "GatewayChannelModifyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8075, + "name": "GatewayThreadUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1371, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7867, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 8076, + "name": "GatewayThreadUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1376, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7868, + "name": "GatewayChannelModifyDispatchData" + } + }, + { + "id": 8079, + "name": "GatewayTypingStartDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#typing-start" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1391, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7817, + "name": "GatewayDispatchEvents.TypingStart" + }, + { + "type": "reference", + "id": 8080, + "name": "GatewayTypingStartDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8086, + "name": "GatewayUserUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#user-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1424, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7818, + "name": "GatewayDispatchEvents.UserUpdate" + }, + { + "type": "reference", + "id": 8087, + "name": "GatewayUserUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8087, + "name": "GatewayUserUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#user-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1429, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + }, + { + "id": 8090, + "name": "GatewayVoiceServerUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#voice-server-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1447, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7819, + "name": "GatewayDispatchEvents.VoiceServerUpdate" + }, + { + "type": "reference", + "id": 8091, + "name": "GatewayVoiceServerUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8088, + "name": "GatewayVoiceStateUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#voice-state-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1434, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7820, + "name": "GatewayDispatchEvents.VoiceStateUpdate" + }, + { + "type": "reference", + "id": 8089, + "name": "GatewayVoiceStateUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 8089, + "name": "GatewayVoiceStateUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#voice-state-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1442, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9661, + "name": "GatewayVoiceState" + } + }, + { + "id": 8095, + "name": "GatewayWebhooksUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#webhooks-update" + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 1477, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7821, + "name": "GatewayDispatchEvents.WebhooksUpdate" + }, + { + "type": "reference", + "id": 8096, + "name": "GatewayWebhooksUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 10605, + "name": "GetAPIVoiceRegionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/voice#list-voice-regions" + }, + "sources": [ + { + "fileName": "rest/v10/voice.ts", + "line": 6, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9675, + "name": "APIVoiceRegion" + } + } + }, + { + "id": 8356, + "name": "GuildChannelType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 54, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8355, + "name": "TextChannelType" + }, + { + "type": "reference", + "id": 8455, + "name": "ChannelType.GuildVoice" + }, + { + "type": "reference", + "id": 8462, + "name": "ChannelType.GuildStageVoice" + }, + { + "type": "reference", + "id": 8458, + "name": "ChannelType.GuildNews" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8454, + "name": "ChannelType.DM" + }, + { + "type": "reference", + "id": 8456, + "name": "ChannelType.GroupDM" + } + ] + } + ], + "qualifiedName": "Exclude", + "package": "typescript", + "name": "Exclude" + } + }, + { + "id": 8375, + "name": "GuildTextChannelType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 95, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8355, + "name": "TextChannelType" + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8454, + "name": "ChannelType.DM" + }, + { + "type": "reference", + "id": 8456, + "name": "ChannelType.GroupDM" + } + ] + } + ], + "qualifiedName": "Exclude", + "package": "typescript", + "name": "Exclude" + } + }, + { + "id": 9338, + "name": "PartialAPIMessageInteractionGuildMember", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/base.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "roles" + }, + { + "type": "literal", + "value": "premium_since" + }, + { + "type": "literal", + "value": "pending" + }, + { + "type": "literal", + "value": "nick" + }, + { + "type": "literal", + "value": "mute" + }, + { + "type": "literal", + "value": "joined_at" + }, + { + "type": "literal", + "value": "deaf" + }, + { + "type": "literal", + "value": "communication_disabled_until" + }, + { + "type": "literal", + "value": "avatar" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 10075, + "name": "RESTDeleteAPIChannelAllMessageReactionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-all-reactions" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 321, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10069, + "name": "RESTDeleteAPIChannelMessageOwnReaction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-own-reaction" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 290, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10076, + "name": "RESTDeleteAPIChannelMessageReactionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-all-reactions-for-emoji" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 326, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10089, + "name": "RESTDeleteAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 393, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10070, + "name": "RESTDeleteAPIChannelMessageUserReactionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-user-reaction" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 295, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10109, + "name": "RESTDeleteAPIChannelPermissionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-channel-permission" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 503, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10116, + "name": "RESTDeleteAPIChannelPinResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#unpin-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 538, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10122, + "name": "RESTDeleteAPIChannelRecipientResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#group-dm-remove-recipient" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 562, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 10040, + "name": "RESTDeleteAPIChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#deleteclose-channel" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 154, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + }, + { + "id": 10141, + "name": "RESTDeleteAPIChannelThreadMembersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#leave-thread" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 644, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10600, + "name": "RESTDeleteAPICurrentUserGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#leave-guild" + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 76, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10285, + "name": "RESTDeleteAPIGuildBanResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#remove-guild-ban" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 570, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10160, + "name": "RESTDeleteAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#delete-guild-emoji" + }, + "sources": [ + { + "fileName": "rest/v10/emoji.ts", + "line": 62, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10328, + "name": "RESTDeleteAPIGuildIntegrationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#delete-guild-integration" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 766, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10274, + "name": "RESTDeleteAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#remove-guild-member" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 520, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10273, + "name": "RESTDeleteAPIGuildMemberRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#remove-guild-member-role" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 515, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10227, + "name": "RESTDeleteAPIGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#delete-guild" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 295, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10312, + "name": "RESTDeleteAPIGuildRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#delete-guild-role" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 689, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10385, + "name": "RESTDeleteAPIGuildScheduledEventResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#delete-guild-scheduled-event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 116, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10563, + "name": "RESTDeleteAPIGuildStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#delete-guild-sticker" + }, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 79, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10579, + "name": "RESTDeleteAPIGuildTemplateResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#delete-guild-template" + }, + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 72, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9584, + "name": "APITemplate" + } + }, + { + "id": 10439, + "name": "RESTDeleteAPIInteractionFollowupResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#delete-followup-message" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 226, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10658, + "name": "RESTDeleteAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 10429, + "name": "RESTDeleteAPIInteractionOriginalResponseResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#delete-original-interaction-response" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 179, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10658, + "name": "RESTDeleteAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 10452, + "name": "RESTDeleteAPIInviteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#delete-invite" + }, + "sources": [ + { + "fileName": "rest/v10/invite.ts", + "line": 27, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9450, + "name": "APIInvite" + } + }, + { + "id": 10545, + "name": "RESTDeleteAPIStageInstanceResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#delete-stage-instance" + }, + "sources": [ + { + "fileName": "rest/v10/stageInstance.ts", + "line": 61, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10623, + "name": "RESTDeleteAPIWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#delete-webhook" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 92, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10658, + "name": "RESTDeleteAPIWebhookWithTokenMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#delete-webhook-message" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 268, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10624, + "name": "RESTDeleteAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#delete-webhook-with-token" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 97, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10441, + "name": "RESTGetAPIApplicationCommandPermissionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-application-command-permissions" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 236, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9312, + "name": "APIGuildApplicationCommandPermissions" + } + }, + { + "id": 10393, + "name": "RESTGetAPIApplicationCommandResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-global-application-command" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 27, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9143, + "name": "APIApplicationCommand" + } + }, + { + "id": 10392, + "name": "RESTGetAPIApplicationCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-global-application-commands" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 22, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9143, + "name": "APIApplicationCommand" + } + } + }, + { + "id": 10414, + "name": "RESTGetAPIApplicationGuildCommandResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-guild-application-commands" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 99, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9143, + "name": "APIApplicationCommand" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 10413, + "name": "RESTGetAPIApplicationGuildCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-guild-application-commands" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 94, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9143, + "name": "APIApplicationCommand" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + } + }, + { + "id": 10013, + "name": "RESTGetAPIAuditLogResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/auditLog.ts", + "line": 28, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8197, + "name": "APIAuditLog" + } + }, + { + "id": 10098, + "name": "RESTGetAPIChannelInvitesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel-invites" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 444, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9466, + "name": "APIExtendedInvite" + } + } + }, + { + "id": 10074, + "name": "RESTGetAPIChannelMessageReactionUsersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-reactions" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 316, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + } + }, + { + "id": 10047, + "name": "RESTGetAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 188, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + }, + { + "id": 10046, + "name": "RESTGetAPIChannelMessagesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel-messages" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 183, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + } + }, + { + "id": 10114, + "name": "RESTGetAPIChannelPinsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-pinned-messages" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 528, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + } + }, + { + "id": 10019, + "name": "RESTGetAPIChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 32, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + }, + { + "id": 10142, + "name": "RESTGetAPIChannelThreadMembersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#list-thread-members" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 649, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8575, + "name": "APIThreadMember" + } + } + }, + { + "id": 10146, + "name": "RESTGetAPIChannelUsersThreadsArchivedResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#list-joined-private-archived-threads" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 668, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8581, + "name": "APIThreadList" + } + }, + { + "id": 10611, + "name": "RESTGetAPIChannelWebhooksResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-channel-webhooks" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 37, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9681, + "name": "APIWebhook" + } + } + }, + { + "id": 10604, + "name": "RESTGetAPICurrentUserConnectionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-user-connections" + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 96, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9648, + "name": "APIConnection" + } + } + }, + { + "id": 10599, + "name": "RESTGetAPICurrentUserGuildsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-current-user-guilds" + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 71, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 10592, + "name": "RESTAPIPartialCurrentUserGuild" + } + } + }, + { + "id": 10580, + "name": "RESTGetAPICurrentUserResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-current-user" + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + }, + { + "id": 10162, + "name": "RESTGetAPIGatewayBotResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway-bot" + }, + "sources": [ + { + "fileName": "rest/v10/gateway.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8753, + "name": "APIGatewayBotInfo" + } + }, + { + "id": 10161, + "name": "RESTGetAPIGatewayResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway" + }, + "sources": [ + { + "fileName": "rest/v10/gateway.ts", + "line": 6, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8751, + "name": "APIGatewayInfo" + } + }, + { + "id": 10440, + "name": "RESTGetAPIGuildApplicationCommandsPermissionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-guild-application-command-permissions" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 231, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9312, + "name": "APIGuildApplicationCommandPermissions" + } + } + }, + { + "id": 10280, + "name": "RESTGetAPIGuildBanResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-ban" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 550, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9022, + "name": "APIBan" + } + }, + { + "id": 10275, + "name": "RESTGetAPIGuildBansResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-bans" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 525, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9022, + "name": "APIBan" + } + } + }, + { + "id": 10228, + "name": "RESTGetAPIGuildChannelsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-channels" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 300, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + } + }, + { + "id": 10148, + "name": "RESTGetAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#get-guild-emoji" + }, + "sources": [ + { + "fileName": "rest/v10/emoji.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8742, + "name": "APIEmoji" + } + }, + { + "id": 10147, + "name": "RESTGetAPIGuildEmojisResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#list-guild-emojis" + }, + "sources": [ + { + "fileName": "rest/v10/emoji.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8742, + "name": "APIEmoji" + } + } + }, + { + "id": 10327, + "name": "RESTGetAPIGuildIntegrationsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-integrations" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 761, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8993, + "name": "APIGuildIntegration" + } + } + }, + { + "id": 10326, + "name": "RESTGetAPIGuildInvitesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-invites" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 756, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9466, + "name": "APIExtendedInvite" + } + } + }, + { + "id": 10239, + "name": "RESTGetAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-member" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 349, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + } + }, + { + "id": 10339, + "name": "RESTGetAPIGuildMemberVerificationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 814, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9060, + "name": "APIGuildMembershipScreening" + } + }, + { + "id": 10243, + "name": "RESTGetAPIGuildMembersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#list-guild-members" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 372, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + } + } + }, + { + "id": 10247, + "name": "RESTGetAPIGuildMembersSearchResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 390, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + } + } + }, + { + "id": 10203, + "name": "RESTGetAPIGuildPreviewResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-preview" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 181, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8967, + "name": "APIGuildPreview" + } + }, + { + "id": 10202, + "name": "RESTGetAPIGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 176, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8862, + "name": "APIGuild" + } + }, + { + "id": 10286, + "name": "RESTGetAPIGuildRolesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-roles" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 575, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9509, + "name": "APIRole" + } + } + }, + { + "id": 10378, + "name": "RESTGetAPIGuildScheduledEventResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 87, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9122, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 10391, + "name": "RESTGetAPIGuildScheduledEventUsersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event-users" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 145, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9136, + "name": "APIGuildScheduledEventUser" + } + } + }, + { + "id": 10363, + "name": "RESTGetAPIGuildScheduledEventsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#list-scheduled-events-for-guild" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 25, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9122, + "name": "APIGuildScheduledEvent" + } + } + }, + { + "id": 10550, + "name": "RESTGetAPIGuildStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#get-guild-sticker" + }, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 24, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9541, + "name": "APISticker" + } + }, + { + "id": 10549, + "name": "RESTGetAPIGuildStickersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#list-guild-stickers" + }, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 19, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9541, + "name": "APISticker" + } + } + }, + { + "id": 10570, + "name": "RESTGetAPIGuildTemplatesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#get-guild-templates" + }, + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 33, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9584, + "name": "APITemplate" + } + } + }, + { + "id": 10238, + "name": "RESTGetAPIGuildThreadsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#list-active-threads" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 344, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8581, + "name": "APIThreadList" + } + }, + { + "id": 10325, + "name": "RESTGetAPIGuildVoiceRegionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-voice-regions" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 751, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9675, + "name": "APIVoiceRegion" + } + } + }, + { + "id": 10612, + "name": "RESTGetAPIGuildWebhooksResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-guild-webhooks" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 42, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9681, + "name": "APIWebhook" + } + } + }, + { + "id": 10356, + "name": "RESTGetAPIGuildWelcomeScreenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-welcome-screen" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 873, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9052, + "name": "APIGuildWelcomeScreen" + } + }, + { + "id": 10338, + "name": "RESTGetAPIGuildWidgetImageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Note: while the return type is `ArrayBuffer`, the expected result is\na buffer of sorts (depends if in browser or on node.js/deno)." + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 812, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "ArrayBuffer", + "package": "typescript", + "name": "ArrayBuffer" + } + }, + { + "id": 10332, + "name": "RESTGetAPIGuildWidgetJSONResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 786, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9025, + "name": "APIGuildWidget" + } + }, + { + "id": 10329, + "name": "RESTGetAPIGuildWidgetSettingsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-settings" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 771, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8979, + "name": "APIGuildWidgetSettings" + } + }, + { + "id": 10435, + "name": "RESTGetAPIInteractionFollowupResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#get-followup-message" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 206, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10650, + "name": "RESTGetAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 10425, + "name": "RESTGetAPIInteractionOriginalResponseResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#get-original-interaction-response" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 159, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10650, + "name": "RESTGetAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 10451, + "name": "RESTGetAPIInviteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/invite.ts", + "line": 22, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9450, + "name": "APIInvite" + } + }, + { + "id": 10453, + "name": "RESTGetAPIOAuth2CurrentApplicationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#get-current-bot-application-information" + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8158, + "name": "APIApplication" + }, + { + "type": "literal", + "value": "flags" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 10539, + "name": "RESTGetAPIStageInstanceResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#get-stage-instance" + }, + "sources": [ + { + "fileName": "rest/v10/stageInstance.ts", + "line": 37, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9525, + "name": "APIStageInstance" + } + }, + { + "id": 10546, + "name": "RESTGetAPIStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#get-sticker" + }, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9541, + "name": "APISticker" + } + }, + { + "id": 10564, + "name": "RESTGetAPITemplateResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#get-guild-template" + }, + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9584, + "name": "APITemplate" + } + }, + { + "id": 10581, + "name": "RESTGetAPIUserResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-user" + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + }, + { + "id": 10613, + "name": "RESTGetAPIWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-webhook" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 47, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9681, + "name": "APIWebhook" + } + }, + { + "id": 10650, + "name": "RESTGetAPIWebhookWithTokenMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-webhook-message" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 230, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + }, + { + "id": 10614, + "name": "RESTGetAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-webhook-with-token" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 52, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9681, + "name": "APIWebhook" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 10582, + "name": "RESTGetCurrentUserGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-current-user-guild-member" + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 18, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + } + }, + { + "id": 10494, + "name": "RESTOAuth2ImplicitAuthorizationURLFragmentResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#implicit-grant-redirect-url-example" + }, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 100, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10475, + "name": "RESTPostOAuth2AccessTokenResult" + }, + { + "type": "literal", + "value": "refresh_token" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 10409, + "name": "RESTPatchAPIApplicationCommandJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-global-application-command" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 74, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10407, + "name": "RESTPostAPIApplicationCommandsJSONBody" + } + ], + "name": "StrictPartial" + } + }, + { + "id": 10410, + "name": "RESTPatchAPIApplicationCommandResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-global-application-command" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 79, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9143, + "name": "APIApplicationCommand" + } + }, + { + "id": 10417, + "name": "RESTPatchAPIApplicationGuildCommandJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-guild-application-command" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 116, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10394, + "name": "RESTPostAPIChatInputApplicationCommandsJSONBody" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10398, + "name": "RESTPostAPIContextMenuApplicationCommandsJSONBody" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + } + ], + "name": "StrictPartial" + } + }, + { + "id": 10418, + "name": "RESTPatchAPIApplicationGuildCommandResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-guild-application-command" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 124, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9143, + "name": "APIApplicationCommand" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 10020, + "name": "RESTPatchAPIChannelJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#modify-channel" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 37, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10021, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10034, + "name": "archived", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the thread should be archived", + "text": "Channel types: newsThread, publicThread, privateThread\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 119, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10035, + "name": "auto_archive_duration", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The amount of time in minutes to wait before automatically archiving the thread", + "text": "Channel types: newsThread, publicThread, privateThread\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 125, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8570, + "name": "ThreadAutoArchiveDuration" + } + }, + { + "id": 10028, + "name": "bitrate", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitrate (in bits) of the voice channel; 8000 to 96000 (128000 for VIP servers)", + "text": "Channel types: voice\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10037, + "name": "default_auto_archive_duration", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default duration for newly created threads, in minutes, to automatically archive the thread after recent activity", + "text": "Channel types: text, news\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 137, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8570, + "name": "ThreadAutoArchiveDuration" + } + }, + { + "id": 10038, + "name": "invitable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether non-moderators can add other non-moderators to the thread", + "text": "Channel types: privateThread\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 143, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10036, + "name": "locked", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the thread should be locked", + "text": "Channel types: newsThread, publicThread, privateThread\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 131, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10022, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "1-100 character channel name", + "text": "Channel types: all\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 43, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10026, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw", + "text": "Channel types: text, news\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10031, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the new parent category for a channel", + "text": "Channel types: text, news, voice\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 101, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10030, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Channel or category-specific permissions", + "text": "Channel types: all excluding newsThread, publicThread, privateThread\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 95, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 10014, + "name": "APIChannelPatchOverwrite" + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10024, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The position of the channel in the left-hand listing", + "text": "Channel types: all excluding newsThread, publicThread, privateThread\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10027, + "name": "rate_limit_per_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Amount of seconds a user has to wait before sending another message (0-21600);\nbots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`,\nare unaffected", + "text": "Channel types: text, newsThread, publicThread, privateThread\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10032, + "name": "rtc_region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id for the voice or stage channel, automatic when set to `null`", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10025, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "0-1024 character channel topic", + "text": "Channel types: text, news\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10023, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of channel; only conversion between `text` and `news`\nis supported and only in guilds with the \"NEWS\" feature", + "text": "Channel types: text, news\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8458, + "name": "ChannelType.GuildNews" + }, + { + "type": "reference", + "id": 8453, + "name": "ChannelType.GuildText" + } + ] + } + }, + { + "id": 10029, + "name": "user_limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user limit of the voice channel; 0 refers to no limit, 1 to 99 refers to a user limit", + "text": "Channel types: voice\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10033, + "name": "video_quality_mode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The camera video quality mode of the voice channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-video-quality-modes\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 113, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8465, + "name": "VideoQualityMode" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10034, + 10035, + 10028, + 10037, + 10038, + 10036, + 10022, + 10026, + 10031, + 10030, + 10024, + 10027, + 10032, + 10025, + 10023, + 10029, + 10033 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 37, + "character": 95 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10085, + "name": "RESTPatchAPIChannelMessageFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 376, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 10086, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10087, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 381, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10087 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 377, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 10077, + "name": "RESTPatchAPIChannelMessageJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 10077, + "name": "RESTPatchAPIChannelMessageJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 331, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10078, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10082, + "name": "allowed_mentions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Allowed mentions for the message", + "text": "See https://discord.com/developers/docs/resources/channel#allowed-mentions-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 356, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8655, + "name": "APIAllowedMentions" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10083, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Attached files to keep", + "text": "Starting with API v10, the `attachments` array must contain all attachments that should be present after edit, including **retained and new** attachments provided in the request body.\n\nSee https://discord.com/developers/docs/resources/channel#attachment-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 364, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8635, + "name": "APIAttachment" + }, + { + "type": "literal", + "value": "id" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8635, + "name": "APIAttachment" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "filename" + }, + { + "type": "literal", + "value": "description" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + } + }, + { + "id": 10084, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The components to include with the message", + "text": "See https://discord.com/developers/docs/interactions/message-components#component-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 370, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 8668, + "typeArguments": [ + { + "type": "reference", + "id": 8736, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10079, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The new message contents (up to 2000 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 335, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10080, + "name": "embeds", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Embedded `rich` content (up to 6000 characters)", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 341, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 8584, + "name": "APIEmbed" + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10081, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Edit the flags of a message (only `SUPPRESS_EMBEDS` can currently be set/unset)", + "text": "When specifying flags, ensure to include all previously set flags/bits\nin addition to ones that you are modifying\n\nSee https://discord.com/developers/docs/resources/channel#message-object-message-flags\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 350, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8538, + "name": "MessageFlags" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10082, + 10083, + 10084, + 10079, + 10080, + 10081 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 331, + "character": 102 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10088, + "name": "RESTPatchAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 388, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + }, + { + "id": 10039, + "name": "RESTPatchAPIChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#modify-channel" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 149, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + }, + { + "id": 10268, + "name": "RESTPatchAPICurrentGuildMemberJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-current-member" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 490, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10269, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10270, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value to set users nickname to", + "text": "Requires `CHANGE_NICKNAME` permission\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 496, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10270 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 490, + "character": 106 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10265, + "name": "RESTPatchAPICurrentGuildMemberNicknameJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-current-user-nick", + "tags": [ + { + "tag": "deprecated", + "text": "Use [Modify Current Member](https://discord.com/developers/docs/resources/guild#modify-current-member) instead.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 478, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10266, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10267, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value to set users nickname to", + "text": "Requires `CHANGE_NICKNAME` permission\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 484, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10267 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 478, + "character": 114 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10271, + "name": "RESTPatchAPICurrentGuildMemberNicknameResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-current-user-nick", + "tags": [ + { + "tag": "deprecated", + "text": "Use [Modify Current Member](https://discord.com/developers/docs/resources/guild#modify-current-member) instead.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 504, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10265, + "name": "RESTPatchAPICurrentGuildMemberNicknameJSONBody" + } + ], + "name": "StrictRequired" + } + }, + { + "id": 10583, + "name": "RESTPatchAPICurrentUserJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#modify-current-user" + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 23, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10584, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10586, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If passed, modifies the user's avatar" + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10585, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User's username, if changed may cause the user's discriminator to be randomized" + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10586, + 10585 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 23, + "character": 99 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10587, + "name": "RESTPatchAPICurrentUserResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#modify-current-user" + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 37, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9612, + "name": "APIUser" + } + }, + { + "id": 10231, + "name": "RESTPatchAPIGuildChannelPositionsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-channel-positions" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 315, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10232, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10233, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Channel id" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 320, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 10235, + "name": "lock_permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sync channel overwrites with the new parent, when moving to a new `parent_id`" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 328, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10236, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The new parent id of this channel" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 332, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10234, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 324, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10233, + 10235, + 10236, + 10234 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 316, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + } + }, + { + "id": 10237, + "name": "RESTPatchAPIGuildChannelPositionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-channel-positions" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 339, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10155, + "name": "RESTPatchAPIGuildEmojiJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#modify-guild-emoji" + }, + "sources": [ + { + "fileName": "rest/v10/emoji.ts", + "line": 43, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10156, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10157, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the emoji" + }, + "sources": [ + { + "fileName": "rest/v10/emoji.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10158, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Roles for which this emoji will be whitelisted" + }, + "sources": [ + { + "fileName": "rest/v10/emoji.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10157, + 10158 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/emoji.ts", + "line": 43, + "character": 98 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10159, + "name": "RESTPatchAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#modify-guild-emoji" + }, + "sources": [ + { + "fileName": "rest/v10/emoji.ts", + "line": 57, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8742, + "name": "APIEmoji" + } + }, + { + "id": 10204, + "name": "RESTPatchAPIGuildJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 186, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10205, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10211, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID for afk channel" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 218, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10212, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "AFK timeout in seconds" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 222, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 10217, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 16:9 png/jpeg image for the guild banner (when the server has the `BANNER` feature; can be animated gif when the server has the `ANIMATED_BANNER` feature)" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 246, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10209, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default message notification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 208, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8906, + "name": "GuildDefaultMessageNotifications" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10224, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description for the guild" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 280, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10216, + "name": "discovery_splash", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 png/jpeg image for the guild discovery splash (when the guild has `DISCOVERABLE` feature)" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 242, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10210, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit content filter level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 214, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8909, + "name": "GuildExplicitContentFilter" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10223, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Enabled guild features", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-features\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 276, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8941, + "name": "GuildFeature" + } + } + }, + { + "id": 10213, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when the guild has `ANIMATED_ICON` feature)", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 228, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10206, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New name for the guild (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 190, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10214, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User id to transfer guild ownership to (must be owner)" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 232, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 10222, + "name": "preferred_locale", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The preferred locale of a Community guild used in server discovery and notices from Discord; defaults to \"en-US\"", + "tags": [ + { + "tag": "default", + "text": "\"en-US\" (if the value is set to `null`)\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 270, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10225, + "name": "premium_progress_bar_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the boosts progress bar should be enabled." + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 284, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10221, + "name": "public_updates_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where admins and moderators of Community guilds receive notices from Discord" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 264, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10207, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 196, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10220, + "name": "rules_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where Community guilds display rules and/or guidelines" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 260, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10215, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 16:9 png/jpeg image for the guild splash (when the guild has `INVITE_SPLASH` feature)", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 238, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10219, + "name": "system_channel_flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "System channel flags", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 256, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8936, + "name": "GuildSystemChannelFlags" + } + }, + { + "id": 10218, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where guild notices such as welcome messages and boost events are posted" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 250, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10208, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 202, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8921, + "name": "GuildVerificationLevel" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10211, + 10212, + 10217, + 10209, + 10224, + 10216, + 10210, + 10223, + 10213, + 10206, + 10214, + 10222, + 10225, + 10221, + 10207, + 10220, + 10215, + 10219, + 10218, + 10208 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 186, + "character": 93 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10256, + "name": "RESTPatchAPIGuildMemberJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-member" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 431, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10257, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10262, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of channel to move user to (if they are connected to voice)", + "text": "Requires `MOVE_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 461, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10263, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 465, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10261, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is deafened in voice channels. Will throw a 400 if the user is not in a voice channel", + "text": "Requires `DEAFEN_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 455, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10260, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is muted in voice channels. Will throw a 400 if the user is not in a voice channel", + "text": "Requires `MUTE_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 449, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10258, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value to set users nickname to", + "text": "Requires `MANAGE_NICKNAMES` permission\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 437, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10259, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of role ids the member is assigned", + "text": "Requires `MANAGE_ROLES` permission\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 443, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10262, + 10263, + 10261, + 10260, + 10258, + 10259 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 431, + "character": 99 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10264, + "name": "RESTPatchAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#add-guild-member" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 471, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + } + }, + { + "id": 10340, + "name": "RESTPatchAPIGuildMemberVerificationJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 816, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10341, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10344, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The server description to show in the screening form" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 828, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10342, + "name": "enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether Membership Screening is enabled" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 820, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10343, + "name": "form_fields", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of field objects serialized in a string" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 824, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10344, + 10342, + 10343 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 816, + "character": 111 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10345, + "name": "RESTPatchAPIGuildMemberVerificationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 831, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9060, + "name": "APIGuildMembershipScreening" + } + }, + { + "id": 10226, + "name": "RESTPatchAPIGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 290, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8862, + "name": "APIGuild" + } + }, + { + "id": 10302, + "name": "RESTPatchAPIGuildRoleJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-role" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 650, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10303, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10306, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "RGB color value" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 662, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10307, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be displayed separately in the sidebar" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 666, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10308, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's icon image (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 670, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10310, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be mentionable" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 678, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10304, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the role" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 654, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10305, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Bitwise value of the enabled/disabled permissions" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 658, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Permissions" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10309, + "name": "unicode_emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's unicode emoji as a standard emoji (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 674, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10306, + 10307, + 10308, + 10310, + 10304, + 10305, + 10309 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 650, + "character": 97 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10297, + "name": "RESTPatchAPIGuildRolePositionsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-role-positions" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 629, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10298, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10299, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role id" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 634, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 10300, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the role" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 638, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10299, + 10300 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 630, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + } + }, + { + "id": 10301, + "name": "RESTPatchAPIGuildRolePositionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-role-positions" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 645, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9509, + "name": "APIRole" + } + } + }, + { + "id": 10311, + "name": "RESTPatchAPIGuildRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-role" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 684, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9509, + "name": "APIRole" + } + }, + { + "id": 10379, + "name": "RESTPatchAPIGuildScheduledEventJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#modify-guild-scheduled-event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 92, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10364, + "name": "RESTPostAPIGuildScheduledEventJSONBody" + } + ], + "name": "StrictPartial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10380, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10383, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description of the guild event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 105, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10382, + "name": "entity_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The entity metadata of the scheduled event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 101, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 9123, + "name": "APIGuildScheduledEventEntityMetadata" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10381, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The status of the scheduled event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 97, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 9129, + "name": "GuildScheduledEventStatus" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10383, + 10382, + 10381 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 93, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 10384, + "name": "RESTPatchAPIGuildScheduledEventResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#modify-guild-scheduled-event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 111, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9122, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 10557, + "name": "RESTPatchAPIGuildStickerJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#modify-guild-sticker" + }, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 56, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10558, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10560, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Description of the sticker (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10559, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the sticker (2-30 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10561, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The Discord name of a unicode emoji representing the sticker's expression (2-200 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10560, + 10559, + 10561 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 56, + "character": 100 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10562, + "name": "RESTPatchAPIGuildStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#modify-guild-sticker" + }, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 74, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9541, + "name": "APISticker" + } + }, + { + "id": 10577, + "name": "RESTPatchAPIGuildTemplateJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#modify-guild-template" + }, + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 62, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10571, + "name": "RESTPostAPIGuildTemplatesJSONBody" + } + ], + "name": "StrictPartial" + } + }, + { + "id": 10578, + "name": "RESTPatchAPIGuildTemplateResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#modify-guild-template" + }, + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 67, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9584, + "name": "APITemplate" + } + }, + { + "id": 10346, + "name": "RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-current-user-voice-state" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 836, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10347, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10348, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel the user is currently in" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 840, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 10350, + "name": "request_to_speak_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sets the user's request to speak" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 848, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10349, + "name": "suppress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Toggles the user's suppress state" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 844, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10348, + 10350, + 10349 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 836, + "character": 116 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10351, + "name": "RESTPatchAPIGuildVoiceStateCurrentMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-current-user-voice-state" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 854, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10352, + "name": "RESTPatchAPIGuildVoiceStateUserJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-user-voice-state" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 859, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10353, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10354, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel the user is currently in" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 863, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 10355, + "name": "suppress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Toggles the user's suppress state" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 867, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10354, + 10355 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 859, + "character": 107 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10357, + "name": "RESTPatchAPIGuildWelcomeScreenJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-welcome-screen" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 878, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9052, + "name": "APIGuildWelcomeScreen" + } + ], + "name": "StrictPartial" + } + ], + "name": "Nullable" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10358, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10359, + "name": "enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the welcome screen is enabled" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 883, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10359 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 879, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 10360, + "name": "RESTPatchAPIGuildWelcomeScreenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-welcome-screen" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 889, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9052, + "name": "APIGuildWelcomeScreen" + } + }, + { + "id": 10330, + "name": "RESTPatchAPIGuildWidgetSettingsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-widget" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 776, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8979, + "name": "APIGuildWidgetSettings" + } + ], + "name": "StrictPartial" + } + }, + { + "id": 10331, + "name": "RESTPatchAPIGuildWidgetSettingsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-widget" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 781, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8979, + "name": "APIGuildWidgetSettings" + } + }, + { + "id": 10437, + "name": "RESTPatchAPIInteractionFollowupFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-followup-message" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 216, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10654, + "name": "RESTPatchAPIWebhookWithTokenMessageFormDataBody" + } + }, + { + "id": 10436, + "name": "RESTPatchAPIInteractionFollowupJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-followup-message" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 211, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10651, + "name": "RESTPatchAPIWebhookWithTokenMessageJSONBody" + } + }, + { + "id": 10438, + "name": "RESTPatchAPIInteractionFollowupResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-followup-message" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 221, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10657, + "name": "RESTPatchAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 10427, + "name": "RESTPatchAPIInteractionOriginalResponseFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 169, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10654, + "name": "RESTPatchAPIWebhookWithTokenMessageFormDataBody" + } + }, + { + "id": 10426, + "name": "RESTPatchAPIInteractionOriginalResponseJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 164, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10651, + "name": "RESTPatchAPIWebhookWithTokenMessageJSONBody" + } + }, + { + "id": 10428, + "name": "RESTPatchAPIInteractionOriginalResponseResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 174, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10657, + "name": "RESTPatchAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 10540, + "name": "RESTPatchAPIStageInstanceJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#modify-stage-instance" + }, + "sources": [ + { + "fileName": "rest/v10/stageInstance.ts", + "line": 42, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10541, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10543, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The privacy level of the stage instance" + }, + "sources": [ + { + "fileName": "rest/v10/stageInstance.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9533, + "name": "StageInstancePrivacyLevel" + } + }, + { + "id": 10542, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The topic of the stage instance (1-120 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/stageInstance.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10543, + 10542 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/stageInstance.ts", + "line": 42, + "character": 101 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10544, + "name": "RESTPatchAPIStageInstanceResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#modify-stage-instance" + }, + "sources": [ + { + "fileName": "rest/v10/stageInstance.ts", + "line": 56, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9525, + "name": "APIStageInstance" + } + }, + { + "id": 10615, + "name": "RESTPatchAPIWebhookJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#modify-webhook" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 57, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10616, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10618, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Image for the default webhook avatar", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10619, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The new channel id this webhook should be moved to" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 10617, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The default name of the webhook" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10618, + 10619, + 10617 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 57, + "character": 95 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10620, + "name": "RESTPatchAPIWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#modify-webhook" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 77, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9681, + "name": "APIWebhook" + } + }, + { + "id": 10621, + "name": "RESTPatchAPIWebhookWithTokenJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#modify-webhook-with-token" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 82, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10615, + "name": "RESTPatchAPIWebhookJSONBody" + }, + { + "type": "literal", + "value": "channel_id" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 10654, + "name": "RESTPatchAPIWebhookWithTokenMessageFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#edit-webhook-message" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 251, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 10655, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10656, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 256, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10656 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 252, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 10651, + "name": "RESTPatchAPIWebhookWithTokenMessageJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 10651, + "name": "RESTPatchAPIWebhookWithTokenMessageJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#edit-webhook-message" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 235, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10625, + "name": "RESTPostAPIWebhookWithTokenJSONBody" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "content" + }, + { + "type": "literal", + "value": "embeds" + }, + { + "type": "literal", + "value": "allowed_mentions" + }, + { + "type": "literal", + "value": "components" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "name": "Nullable" + }, + { + "type": "reflection", + "declaration": { + "id": 10652, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10653, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Attached files to keep", + "text": "Starting with API v10, the `attachments` array must contain all attachments that should be present after edit, including **retained and new** attachments provided in the request body.\n\nSee https://discord.com/developers/docs/resources/channel#attachment-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 244, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8635, + "name": "APIAttachment" + }, + { + "type": "literal", + "value": "id" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8635, + "name": "APIAttachment" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "filename" + }, + { + "type": "literal", + "value": "description" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10653 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 236, + "character": 113 + } + ] + } + } + ] + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10657, + "name": "RESTPatchAPIWebhookWithTokenMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#edit-webhook-message" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 263, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + }, + { + "id": 10622, + "name": "RESTPatchAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#modify-webhook-with-token" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 87, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10614, + "name": "RESTGetAPIWebhookWithTokenResult" + } + }, + { + "id": 10407, + "name": "RESTPostAPIApplicationCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-global-application-command" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 62, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 10394, + "name": "RESTPostAPIChatInputApplicationCommandsJSONBody" + }, + { + "type": "reference", + "id": 10398, + "name": "RESTPostAPIContextMenuApplicationCommandsJSONBody" + } + ] + } + }, + { + "id": 10408, + "name": "RESTPostAPIApplicationCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-global-application-command" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 69, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9143, + "name": "APIApplicationCommand" + } + }, + { + "id": 10415, + "name": "RESTPostAPIApplicationGuildCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-guild-application-command" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 104, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10394, + "name": "RESTPostAPIChatInputApplicationCommandsJSONBody" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10398, + "name": "RESTPostAPIContextMenuApplicationCommandsJSONBody" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + } + }, + { + "id": 10416, + "name": "RESTPostAPIApplicationGuildCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-guild-application-command" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 111, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9143, + "name": "APIApplicationCommand" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 10112, + "name": "RESTPostAPIChannelFollowersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#follow-news-channel" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 518, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8548, + "name": "APIFollowedChannel" + } + }, + { + "id": 10099, + "name": "RESTPostAPIChannelInviteJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-channel-invite" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 449, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10100, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10101, + "name": "max_age", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Duration of invite in seconds before expiry, or 0 for never", + "tags": [ + { + "tag": "default", + "text": "86400 (24 hours)\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 455, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 10102, + "name": "max_uses", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of uses or 0 for unlimited", + "tags": [ + { + "tag": "default", + "text": "0\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 461, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 10107, + "name": "target_application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the embedded application to open for this invite\n- Required if `target_type` is 2\n- The application must have the `EMBEDDED` flag" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 492, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 10105, + "name": "target_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of target for this voice channel invite", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 480, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9463, + "name": "InviteTargetType" + } + }, + { + "id": 10106, + "name": "target_user_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the user whose stream to display for this invite\n- Required if `target_type` is 1\n- The user must be streaming in the channel" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 486, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 10103, + "name": "temporary", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this invite only grants temporary membership", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 467, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10104, + "name": "unique", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If true, don't try to reuse a similar invite\n(useful for creating many unique one time use invites)", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 474, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10101, + 10102, + 10107, + 10105, + 10106, + 10103, + 10104 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 449, + "character": 100 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10108, + "name": "RESTPostAPIChannelInviteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-channel-invite" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 498, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9466, + "name": "APIExtendedInvite" + } + }, + { + "id": 10067, + "name": "RESTPostAPIChannelMessageCrosspostResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#crosspost-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 280, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + }, + { + "id": 10063, + "name": "RESTPostAPIChannelMessageFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 263, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 10064, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10065, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 268, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10065 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 264, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 10051, + "name": "RESTPostAPIChannelMessageJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 10051, + "name": "RESTPostAPIChannelMessageJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 207, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10052, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10057, + "name": "allowed_mentions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Allowed mentions for a message", + "text": "See https://discord.com/developers/docs/resources/channel#allowed-mentions-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 231, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8655, + "name": "APIAllowedMentions" + } + }, + { + "id": 10061, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Attachment objects with filename and description" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 253, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8635, + "name": "APIAttachment" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "description" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8635, + "name": "APIAttachment" + }, + { + "type": "literal", + "value": "filename" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + } + }, + { + "id": 10059, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The components to include with the message", + "text": "See https://discord.com/developers/docs/interactions/message-components#component-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 243, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8668, + "typeArguments": [ + { + "type": "reference", + "id": 8736, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + } + }, + { + "id": 10053, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The message contents (up to 2000 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 211, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10056, + "name": "embeds", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Embedded `rich` content (up to 6000 characters)", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 225, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8584, + "name": "APIEmbed" + } + } + }, + { + "id": 10062, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Message flags combined as a bitfield" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 257, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8538, + "name": "MessageFlags" + } + }, + { + "id": 10058, + "name": "message_reference", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Include to make your message a reply", + "text": "See https://discord.com/developers/docs/resources/channel#message-reference-object-message-reference-structure\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 237, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 10048, + "name": "APIMessageReferenceSend" + } + }, + { + "id": 10054, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A nonce that can be used for optimistic message sending" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 215, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 10060, + "name": "sticker_ids", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "IDs of up to 3 stickers in the server to send in the message", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 249, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "tuple", + "elements": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ] + }, + { + "type": "tuple", + "elements": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ] + }, + { + "type": "tuple", + "elements": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ] + } + ] + } + }, + { + "id": 10055, + "name": "tts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if this is a TTS message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 219, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10057, + 10061, + 10059, + 10053, + 10056, + 10062, + 10058, + 10054, + 10060, + 10055 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 207, + "character": 101 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10066, + "name": "RESTPostAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 275, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + }, + { + "id": 10092, + "name": "RESTPostAPIChannelMessagesBulkDeleteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#bulk-delete-messages" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 408, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10123, + "name": "RESTPostAPIChannelMessagesThreadsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#start-thread-from-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 567, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10124, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10126, + "name": "auto_archive_duration", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The amount of time in minutes to wait before automatically archiving the thread", + "text": "The 3 day and 7 day archive durations require the server to be boosted. The [guild features](https://discord.com/developers/docs/resources/guild#guild-object-guild-features) will indicate if a server is able to use those settings.\n" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 577, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8570, + "name": "ThreadAutoArchiveDuration" + } + }, + { + "id": 10125, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "1-100 character thread name" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 571, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10127, + "name": "rate_limit_per_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Amount of seconds a user has to wait before sending another message (0-21600)" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 581, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10126, + 10125, + 10127 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 567, + "character": 109 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10134, + "name": "RESTPostAPIChannelMessagesThreadsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#start-thread-from-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 607, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + }, + { + "id": 10135, + "name": "RESTPostAPIChannelThreadsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#start-thread-without-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 612, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 10123, + "name": "RESTPostAPIChannelMessagesThreadsJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10136, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10138, + "name": "invitable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether non-moderators can add other non-moderators to the thread; only available when creating a private thread" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 628, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10137, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of thread to create", + "text": "In API v9 and v10, `type` defaults to `PRIVATE_THREAD`.\nIn a future API version this will be changed to be a required field, with no default.\n\nSee https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n", + "tags": [ + { + "tag": "default", + "text": "ChannelType.GuildPrivateThread\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 624, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8459, + "name": "ChannelType.GuildNewsThread" + }, + { + "type": "reference", + "id": 8460, + "name": "ChannelType.GuildPublicThread" + }, + { + "type": "reference", + "id": 8461, + "name": "ChannelType.GuildPrivateThread" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10138, + 10137 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 613, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 10139, + "name": "RESTPostAPIChannelThreadsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#start-thread-without-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 634, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + }, + { + "id": 10113, + "name": "RESTPostAPIChannelTypingResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#trigger-typing-indicator" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 523, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10606, + "name": "RESTPostAPIChannelWebhookJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#create-webhook" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10607, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10609, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Image for the default webhook avatar", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10608, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the webhook (1-80 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10609, + 10608 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 16, + "character": 101 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10610, + "name": "RESTPostAPIChannelWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#create-webhook" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 32, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9681, + "name": "APIWebhook" + } + }, + { + "id": 10394, + "name": "RESTPostAPIChatInputApplicationCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-global-application-command" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 46, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10395, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10397, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 49, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10396, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 48, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 9160, + "name": "ApplicationCommandType.ChatInput" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10397, + 10396 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 47, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 10603, + "name": "RESTPostAPICurrentUserCreateDMChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#create-dm" + }, + "sources": [ + { + "fileName": "rest/v10/user.ts", + "line": 91, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + }, + { + "id": 10229, + "name": "RESTPostAPIGuildChannelJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-channel" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 305, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10169, + "name": "APIGuildCreatePartialChannel" + }, + { + "type": "literal", + "value": "id" + } + ], + "name": "DistributiveOmit" + } + }, + { + "id": 10230, + "name": "RESTPostAPIGuildChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-channel" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 310, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8451, + "name": "APIChannel" + } + }, + { + "id": 10149, + "name": "RESTPostAPIGuildEmojiJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#create-guild-emoji-json-params" + }, + "sources": [ + { + "fileName": "rest/v10/emoji.ts", + "line": 18, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10150, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10152, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The 128x128 emoji image", + "text": "https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v10/emoji.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10151, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the emoji" + }, + "sources": [ + { + "fileName": "rest/v10/emoji.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10153, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Roles for which this emoji will be whitelisted" + }, + "sources": [ + { + "fileName": "rest/v10/emoji.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10152, + 10151, + 10153 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/emoji.ts", + "line": 18, + "character": 97 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10154, + "name": "RESTPostAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#create-guild-emoji" + }, + "sources": [ + { + "fileName": "rest/v10/emoji.ts", + "line": 38, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8742, + "name": "APIEmoji" + } + }, + { + "id": 10131, + "name": "RESTPostAPIGuildForumThreadsFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 597, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 10123, + "name": "RESTPostAPIChannelMessagesThreadsJSONBody" + }, + { + "type": "reflection", + "declaration": { + "id": 10132, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10133, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "First message in the forum thread" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 601, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10133 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 597, + "character": 99 + } + ] + } + } + ] + } + }, + { + "id": 10128, + "name": "RESTPostAPIGuildForumThreadsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 587, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 10123, + "name": "RESTPostAPIChannelMessagesThreadsJSONBody" + }, + { + "type": "reflection", + "declaration": { + "id": 10129, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10130, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "First message in the forum thread" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 591, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 10051, + "name": "RESTPostAPIChannelMessageJSONBody" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10130 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 587, + "character": 95 + } + ] + } + } + ] + } + }, + { + "id": 10318, + "name": "RESTPostAPIGuildPruneJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#begin-guild-prune" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 722, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10319, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10321, + "name": "compute_prune_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether `pruned is returned, discouraged for large guilds", + "tags": [ + { + "tag": "default", + "text": "true\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 734, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10320, + "name": "days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of days to count prune for (1 or more)", + "tags": [ + { + "tag": "default", + "text": "7\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 728, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 10322, + "name": "include_roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Role(s) to include" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 738, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10321, + 10320, + 10322 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 722, + "character": 97 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10287, + "name": "RESTPostAPIGuildRoleJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-role" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 580, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10288, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10291, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "RGB color value", + "tags": [ + { + "tag": "default", + "text": "0\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 598, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10292, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be displayed separately in the sidebar", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 604, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10293, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's icon image (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 608, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10295, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be mentionable", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 618, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10289, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the role", + "tags": [ + { + "tag": "default", + "text": "\"new role\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 586, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10290, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Bitwise value of the enabled/disabled permissions", + "tags": [ + { + "tag": "default", + "text": "\"default role permissions in guild\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 592, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Permissions" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10294, + "name": "unicode_emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's unicode emoji as a standard emoji (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 612, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10291, + 10292, + 10293, + 10295, + 10289, + 10290, + 10294 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 580, + "character": 96 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + }, + "extendedBy": [ + { + "type": "reference", + "id": 10175, + "name": "APIGuildCreateRole" + } + ] + }, + { + "id": 10296, + "name": "RESTPostAPIGuildRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-role" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 624, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9509, + "name": "APIRole" + } + }, + { + "id": 10364, + "name": "RESTPostAPIGuildScheduledEventJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#create-guild-scheduled-event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 30, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10365, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10366, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The stage channel id of the guild event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 10371, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description of the guild event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 54, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10373, + "name": "entity_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The entity metadata of the scheduled event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9123, + "name": "APIGuildScheduledEventEntityMetadata" + } + }, + { + "id": 10372, + "name": "entity_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The scheduled entity type of the guild event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9125, + "name": "GuildScheduledEventEntityType" + } + }, + { + "id": 10374, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The cover image of the scheduled event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10367, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the guild event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10368, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the guild event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 9134, + "name": "GuildScheduledEventPrivacyLevel" + } + }, + { + "id": 10370, + "name": "scheduled_end_time", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The time when the scheduled event is scheduled to end" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10369, + "name": "scheduled_start_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time to schedule the guild event at" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10366, + 10371, + 10373, + 10372, + 10374, + 10367, + 10368, + 10370, + 10369 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 30, + "character": 106 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10375, + "name": "RESTPostAPIGuildScheduledEventResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#create-guild-scheduled-event" + }, + "sources": [ + { + "fileName": "rest/v10/guildScheduledEvent.ts", + "line": 72, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9122, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 10556, + "name": "RESTPostAPIGuildStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#create-guild-sticker" + }, + "sources": [ + { + "fileName": "rest/v10/sticker.ts", + "line": 51, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9541, + "name": "APISticker" + } + }, + { + "id": 10571, + "name": "RESTPostAPIGuildTemplatesJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#create-guild-template" + }, + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 38, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10572, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10574, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Description for the template (0-120 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10573, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the template (1-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10574, + 10573 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 38, + "character": 101 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10575, + "name": "RESTPostAPIGuildTemplatesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#create-guild-template" + }, + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 52, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9584, + "name": "APITemplate" + } + }, + { + "id": 10184, + "name": "RESTPostAPIGuildsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 71, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10185, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10194, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID for afk channel" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 135, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10195, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "AFK timeout in seconds" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 139, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 10193, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New guild's channels", + "text": "**When using the channels parameter, the `position` field is ignored, and none of the default channels are created.**\n\n*When using the channels parameter, the `id` field within each channel object may be set to an integer placeholder,\nand will be replaced by the API upon consumption. Its purpose is to allow you to create `GUILD_CATEGORY` channels\nby setting the `parent_id` field on any children to the category's id field.\nCategory channels must be listed before any children.*\n\nSee https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 131, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 10169, + "name": "APIGuildCreatePartialChannel" + } + } + }, + { + "id": 10190, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default message notification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 99, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8906, + "name": "GuildDefaultMessageNotifications" + } + }, + { + "id": 10191, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit content filter level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 105, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8909, + "name": "GuildExplicitContentFilter" + } + }, + { + "id": 10188, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 1024x1024 png/jpeg image for the guild icon", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10186, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the guild (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10198, + "name": "premium_progress_bar_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the boosts progress bar should be enabled." + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 153, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10187, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10192, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New guild roles", + "text": "**When using this parameter, the first member of the array is used to change properties of the guild's @everyone role.\nIf you are trying to bootstrap a guild with additional roles, keep this in mind.**\n\n*When using this parameter, the required `id` field within each role object is an integer placeholder,\nand will be replaced by the API upon consumption. Its purpose is to allow you to overwrite a role's permissions\nin a channel when also passing in channels with the channels array.*\n\nSee https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 118, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 10175, + "name": "APIGuildCreateRole" + } + } + }, + { + "id": 10197, + "name": "system_channel_flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "System channel flags", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 149, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8936, + "name": "GuildSystemChannelFlags" + } + }, + { + "id": 10196, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where guild notices such as welcome messages and boost events are posted" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 143, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 10189, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 93, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8921, + "name": "GuildVerificationLevel" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10194, + 10195, + 10193, + 10190, + 10191, + 10188, + 10186, + 10198, + 10187, + 10192, + 10197, + 10196, + 10189 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 71, + "character": 93 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10199, + "name": "RESTPostAPIGuildsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 159, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8862, + "name": "APIGuild" + } + }, + { + "id": 10422, + "name": "RESTPostAPIInteractionCallbackFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 147, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 10423, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10424, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 152, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10424 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 148, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 10421, + "name": "RESTPostAPIInteractionCallbackJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 10421, + "name": "RESTPostAPIInteractionCallbackJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 142, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9412, + "name": "APIInteractionResponse" + } + }, + { + "id": 10431, + "name": "RESTPostAPIInteractionFollowupFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-followup-message" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 189, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 10432, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10433, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 194, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10433 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 190, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 10430, + "name": "RESTPostAPIInteractionFollowupJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 10430, + "name": "RESTPostAPIInteractionFollowupJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-followup-message" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 184, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9440, + "name": "APIInteractionResponseCallbackData" + } + }, + { + "id": 10434, + "name": "RESTPostAPIInteractionFollowupResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-followup-message" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 201, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10643, + "name": "RESTPostAPIWebhookWithTokenWaitResult" + } + }, + { + "id": 10538, + "name": "RESTPostAPIStageInstanceResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#create-stage-instance" + }, + "sources": [ + { + "fileName": "rest/v10/stageInstance.ts", + "line": 32, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9525, + "name": "APIStageInstance" + } + }, + { + "id": 10565, + "name": "RESTPostAPITemplateCreateGuildJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#create-guild-from-guild-template" + }, + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10566, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10568, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 1024x1024 png/jpeg image for the guild icon", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10567, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the guild (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10568, + 10567 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 12, + "character": 106 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10569, + "name": "RESTPostAPITemplateCreateGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#create-guild-from-guild-template" + }, + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 28, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8862, + "name": "APIGuild" + } + }, + { + "id": 10636, + "name": "RESTPostAPIWebhookWithTokenFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 152, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 10637, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10638, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 157, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10638 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 153, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 10625, + "name": "RESTPostAPIWebhookWithTokenJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 10647, + "name": "RESTPostAPIWebhookWithTokenGitHubQuery", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook-query-string-params" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 212, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10639, + "name": "RESTPostAPIWebhookWithTokenQuery" + } + }, + { + "id": 10648, + "name": "RESTPostAPIWebhookWithTokenGitHubResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 217, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10649, + "name": "RESTPostAPIWebhookWithTokenGitHubWaitResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives\nthe `wait` query parameter set to `true`", + "text": "See https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook-query-string-params\n" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 225, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + }, + { + "id": 10625, + "name": "RESTPostAPIWebhookWithTokenJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 102, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10626, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10632, + "name": "allowed_mentions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Allowed mentions for the message", + "text": "See https://discord.com/developers/docs/resources/channel#allowed-mentions-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 130, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8655, + "name": "APIAllowedMentions" + } + }, + { + "id": 10634, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Attachment objects with filename and description" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 142, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8635, + "name": "APIAttachment" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "description" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 8635, + "name": "APIAttachment" + }, + { + "type": "literal", + "value": "filename" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + } + }, + { + "id": 10629, + "name": "avatar_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Override the default avatar of the webhook" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 114, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10633, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The components to include with the message", + "text": "Requires an application-owned webhook\n\nSee https://discord.com/developers/docs/interactions/message-components#component-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 138, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8668, + "typeArguments": [ + { + "type": "reference", + "id": 8736, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + } + }, + { + "id": 10627, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The message contents (up to 2000 characters)" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 106, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10631, + "name": "embeds", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Embedded `rich` content", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object\n" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 124, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 8584, + "name": "APIEmbed" + } + } + }, + { + "id": 10635, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Message flags combined as a bitfield" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 146, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 8538, + "name": "MessageFlags" + } + }, + { + "id": 10630, + "name": "tts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if this is a TTS message" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 118, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10628, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Override the default username of the webhook" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 110, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10632, + 10634, + 10629, + 10633, + 10627, + 10631, + 10635, + 10630, + 10628 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 102, + "character": 103 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10642, + "name": "RESTPostAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 181, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10644, + "name": "RESTPostAPIWebhookWithTokenSlackQuery", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook-query-string-params" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 194, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10639, + "name": "RESTPostAPIWebhookWithTokenQuery" + } + }, + { + "id": 10645, + "name": "RESTPostAPIWebhookWithTokenSlackResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 199, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10646, + "name": "RESTPostAPIWebhookWithTokenSlackWaitResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives\nthe `wait` query parameter set to `true`", + "text": "See https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook-query-string-params\n" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 207, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + }, + { + "id": 10643, + "name": "RESTPostAPIWebhookWithTokenWaitResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives\nthe `wait` query parameter set to `true`", + "text": "See https://discord.com/developers/docs/resources/webhook#execute-webhook-query-string-params\n" + }, + "sources": [ + { + "fileName": "rest/v10/webhook.ts", + "line": 189, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 8468, + "name": "APIMessage" + } + }, + { + "id": 10532, + "name": "RESTPostOAuth2AccessTokenWithBotAndGuildsAndWebhookIncomingScopeResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 198, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 10518, + "name": "RESTPostOAuth2AccessTokenWithBotAndGuildsScopeResult" + }, + { + "type": "reference", + "id": 10525, + "name": "RESTPostOAuth2AccessTokenWithBotAndWebhookIncomingScopeResult" + } + ] + } + }, + { + "id": 10498, + "name": "RESTPostOAuth2ClientCredentialsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 110, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10494, + "name": "RESTOAuth2ImplicitAuthorizationURLFragmentResult" + } + }, + { + "id": 10486, + "name": "RESTPostOAuth2RefreshTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/oauth2.ts", + "line": 83, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 10475, + "name": "RESTPostOAuth2AccessTokenResult" + } + }, + { + "id": 10444, + "name": "RESTPutAPIApplicationCommandPermissionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-application-command-permissions" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 248, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9312, + "name": "APIGuildApplicationCommandPermissions" + } + }, + { + "id": 10411, + "name": "RESTPutAPIApplicationCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-global-application-commands" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 84, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 10407, + "name": "RESTPostAPIApplicationCommandsJSONBody" + } + } + }, + { + "id": 10412, + "name": "RESTPutAPIApplicationCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-global-application-commands" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 89, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9143, + "name": "APIApplicationCommand" + } + } + }, + { + "id": 10419, + "name": "RESTPutAPIApplicationGuildCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-guild-application-commands" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 129, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10394, + "name": "RESTPostAPIChatInputApplicationCommandsJSONBody" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10398, + "name": "RESTPostAPIContextMenuApplicationCommandsJSONBody" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + } + } + }, + { + "id": 10420, + "name": "RESTPutAPIApplicationGuildCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-guild-application-commands" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 137, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9143, + "name": "APIApplicationCommand" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + } + }, + { + "id": 10068, + "name": "RESTPutAPIChannelMessageReactionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-reaction" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 285, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10097, + "name": "RESTPutAPIChannelPermissionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-channel-permissions" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 439, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10115, + "name": "RESTPutAPIChannelPinResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#pin-message" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 533, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10117, + "name": "RESTPutAPIChannelRecipientJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#group-dm-add-recipient" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 543, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10118, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10119, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Access token of a user that has granted your app the `gdm.join` scope" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 547, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10120, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Nickname of the user being added" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 551, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10119, + 10120 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 543, + "character": 102 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10121, + "name": "RESTPutAPIChannelRecipientResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#group-dm-add-recipient" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 557, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 10140, + "name": "RESTPutAPIChannelThreadMembersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#join-thread" + }, + "sources": [ + { + "fileName": "rest/v10/channel.ts", + "line": 639, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10445, + "name": "RESTPutAPIGuildApplicationCommandsPermissionsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#batch-edit-application-command-permissions" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 253, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 9312, + "name": "APIGuildApplicationCommandPermissions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "permissions" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + } + }, + { + "id": 10446, + "name": "RESTPutAPIGuildApplicationCommandsPermissionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#batch-edit-application-command-permissions" + }, + "sources": [ + { + "fileName": "rest/v10/interactions.ts", + "line": 261, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 9312, + "name": "APIGuildApplicationCommandPermissions" + } + } + }, + { + "id": 10281, + "name": "RESTPutAPIGuildBanJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-ban" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 555, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10282, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10283, + "name": "delete_message_days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of days to delete messages for (0-7)" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 559, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10283 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 555, + "character": 94 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10284, + "name": "RESTPutAPIGuildBanResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-ban" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 565, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10248, + "name": "RESTPutAPIGuildMemberJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#add-guild-member" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 395, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 10249, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10250, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "An oauth2 access token granted with the `guilds.join` to the bot's application for the user you want to add to the guild" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 399, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10254, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is deafened in voice channels", + "text": "Requires `DEAFEN_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 423, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10253, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is muted in voice channels", + "text": "Requires `MUTE_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 417, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 10251, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value to set users nickname to", + "text": "Requires `MANAGE_NICKNAMES` permission\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 405, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10252, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of role ids the member is assigned", + "text": "Requires `MANAGE_ROLES` permission\n" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 411, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10250, + 10254, + 10253, + 10251, + 10252 + ] + } + ], + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 395, + "character": 97 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 10255, + "name": "RESTPutAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 426, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8982, + "name": "APIGuildMember" + }, + { + "type": "intrinsic", + "name": "never" + } + ] + } + }, + { + "id": 10272, + "name": "RESTPutAPIGuildMemberRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#add-guild-member-role" + }, + "sources": [ + { + "fileName": "rest/v10/guild.ts", + "line": 510, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 10576, + "name": "RESTPutAPIGuildTemplateSyncResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#sync-guild-template" + }, + "sources": [ + { + "fileName": "rest/v10/template.ts", + "line": 57, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 9584, + "name": "APITemplate" + } + }, + { + "id": 8355, + "name": "TextChannelType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/channel.ts", + "line": 44, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 8454, + "name": "ChannelType.DM" + }, + { + "type": "reference", + "id": 8456, + "name": "ChannelType.GroupDM" + }, + { + "type": "reference", + "id": 8458, + "name": "ChannelType.GuildNews" + }, + { + "type": "reference", + "id": 8460, + "name": "ChannelType.GuildPublicThread" + }, + { + "type": "reference", + "id": 8461, + "name": "ChannelType.GuildPrivateThread" + }, + { + "type": "reference", + "id": 8459, + "name": "ChannelType.GuildNewsThread" + }, + { + "type": "reference", + "id": 8453, + "name": "ChannelType.GuildText" + }, + { + "type": "reference", + "id": 8464, + "name": "ChannelType.GuildForum" + } + ] + } + }, + { + "id": 9325, + "name": "APIApplicationCommandPermissionsConstant", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-application-command-permissions-constants" + }, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 55, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 9326, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 9331, + "name": "AllChannels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 9332, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 9333, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 9334, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "bigint" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 9327, + "name": "Everyone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v10/_interactions/_applicationCommands/permissions.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 9328, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 9329, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 9330, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "bigint" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9331, + 9327 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 9698, + "name": "APIVersion", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 20, + "character": 13 + } + ], + "type": { + "type": "literal", + "value": "10" + }, + "defaultValue": "'10'" + }, + { + "id": 7724, + "name": "GatewayVersion", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "gateway/v10.ts", + "line": 36, + "character": 13 + } + ], + "type": { + "type": "literal", + "value": "10" + }, + "defaultValue": "'10'" + }, + { + "id": 10000, + "name": "OAuth2Routes", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 851, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 10001, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 10002, + "name": "authorizationURL", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 852, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/api/v10/oauth2/authorize" + }, + "defaultValue": "..." + }, + { + "id": 10004, + "name": "tokenRevocationURL", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "See https://tools.ietf.org/html/rfc7009" + }, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 857, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/api/v10/oauth2/token/revoke" + }, + "defaultValue": "..." + }, + { + "id": 10003, + "name": "tokenURL", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 853, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/api/v10/oauth2/token" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 10002, + 10004, + 10003 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 9992, + "name": "RouteBases", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 839, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 9993, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 9994, + "name": "api", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 840, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/api/v10" + }, + "defaultValue": "..." + }, + { + "id": 9995, + "name": "cdn", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 841, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://cdn.discordapp.com" + }, + "defaultValue": "'https://cdn.discordapp.com'" + }, + { + "id": 9998, + "name": "gift", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 844, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.gift" + }, + "defaultValue": "'https://discord.gift'" + }, + { + "id": 9996, + "name": "invite", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 842, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.gg" + }, + "defaultValue": "'https://discord.gg'" + }, + { + "id": 9999, + "name": "scheduledEvent", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 845, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/events" + }, + "defaultValue": "'https://discord.com/events'" + }, + { + "id": 9997, + "name": "template", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 843, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.new" + }, + "defaultValue": "'https://discord.new'" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 9994, + 9995, + 9998, + 9996, + 9999, + 9997 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 9699, + "name": "Routes", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 22, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 9700, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 9928, + "name": "applicationCommand", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 681, + "character": 1 + } + ], + "signatures": [ + { + "id": 9929, + "name": "applicationCommand", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/commands/{command.id}`\n- PATCH `/applications/{application.id}/commands/{command.id}`\n- DELETE `/applications/{application.id}/commands/{command.id}`" + }, + "parameters": [ + { + "id": 9930, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9931, + "name": "commandId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9956, + "name": "applicationCommandPermissions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 745, + "character": 1 + } + ], + "signatures": [ + { + "id": 9957, + "name": "applicationCommandPermissions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}/permissions`\n- PUT `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}/permissions`" + }, + "parameters": [ + { + "id": 9958, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9959, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9960, + "name": "commandId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/guilds/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/permissions" + ] + ] + } + } + ] + }, + { + "id": 9925, + "name": "applicationCommands", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 671, + "character": 1 + } + ], + "signatures": [ + { + "id": 9926, + "name": "applicationCommands", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/commands`\n- PUT `/applications/{application.id}/commands`\n- POST `/applications/{application.id}/commands`" + }, + "parameters": [ + { + "id": 9927, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands" + ] + ] + } + } + ] + }, + { + "id": 9936, + "name": "applicationGuildCommand", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 701, + "character": 1 + } + ], + "signatures": [ + { + "id": 9937, + "name": "applicationGuildCommand", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}`\n- PATCH `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}`\n- DELETE `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}`" + }, + "parameters": [ + { + "id": 9938, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9939, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9940, + "name": "commandId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/guilds/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9932, + "name": "applicationGuildCommands", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 691, + "character": 1 + } + ], + "signatures": [ + { + "id": 9933, + "name": "applicationGuildCommands", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/guilds/{guild.id}/commands`\n- PUT `/applications/{application.id}/guilds/{guild.id}/commands`\n- POST `/applications/{application.id}/guilds/{guild.id}/commands`" + }, + "parameters": [ + { + "id": 9934, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9935, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/guilds/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands" + ] + ] + } + } + ] + }, + { + "id": 9704, + "name": "channel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 37, + "character": 1 + } + ], + "signatures": [ + { + "id": 9705, + "name": "channel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}`\n- PATCH `/channels/{channel.id}`\n- DELETE `/channels/{channel.id}`" + }, + "parameters": [ + { + "id": 9706, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9738, + "name": "channelBulkDelete", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 112, + "character": 1 + } + ], + "signatures": [ + { + "id": 9739, + "name": "channelBulkDelete", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/messages/bulk-delete`" + }, + "parameters": [ + { + "id": 9740, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/bulk-delete" + ] + ] + } + } + ] + }, + { + "id": 9748, + "name": "channelFollowers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 138, + "character": 1 + } + ], + "signatures": [ + { + "id": 9749, + "name": "channelFollowers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/followers`" + }, + "parameters": [ + { + "id": 9750, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/followers" + ] + ] + } + } + ] + }, + { + "id": 9745, + "name": "channelInvites", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 130, + "character": 1 + } + ], + "signatures": [ + { + "id": 9746, + "name": "channelInvites", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/invites`\n- POST `/channels/{channel.id}/invites`" + }, + "parameters": [ + { + "id": 9747, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/invites" + ] + ] + } + } + ] + }, + { + "id": 9867, + "name": "channelJoinedArchivedThreads", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 461, + "character": 1 + } + ], + "signatures": [ + { + "id": 9868, + "name": "channelJoinedArchivedThreads", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/users/@me/threads/archived/prviate`" + }, + "parameters": [ + { + "id": 9869, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/users/@me/threads/archived/private" + ] + ] + } + } + ] + }, + { + "id": 9710, + "name": "channelMessage", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 56, + "character": 1 + } + ], + "signatures": [ + { + "id": 9711, + "name": "channelMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/messages/{message.id}`\n- PATCH `/channels/{channel.id}/messages/{message.id}`\n- DELETE `/channels/{channel.id}/messages/{message.id}`" + }, + "parameters": [ + { + "id": 9712, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9713, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9734, + "name": "channelMessageAllReactions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 104, + "character": 1 + } + ], + "signatures": [ + { + "id": 9735, + "name": "channelMessageAllReactions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions`" + }, + "parameters": [ + { + "id": 9736, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9737, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/reactions" + ] + ] + } + } + ] + }, + { + "id": 9714, + "name": "channelMessageCrosspost", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 64, + "character": 1 + } + ], + "signatures": [ + { + "id": 9715, + "name": "channelMessageCrosspost", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/messages/{message.id}/crosspost`" + }, + "parameters": [ + { + "id": 9716, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9717, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/crosspost" + ] + ] + } + } + ] + }, + { + "id": 9718, + "name": "channelMessageOwnReaction", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 75, + "character": 1 + } + ], + "signatures": [ + { + "id": 9719, + "name": "channelMessageOwnReaction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me`\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me`", + "text": "**Note**: You need to URL encode the emoji yourself\n" + }, + "parameters": [ + { + "id": 9720, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9721, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9722, + "name": "emoji", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/reactions/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/@me" + ] + ] + } + } + ] + }, + { + "id": 9729, + "name": "channelMessageReaction", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 96, + "character": 1 + } + ], + "signatures": [ + { + "id": 9730, + "name": "channelMessageReaction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}`\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}`", + "text": "**Note**: You need to URL encode the emoji yourself\n" + }, + "parameters": [ + { + "id": 9731, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9732, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9733, + "name": "emoji", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/reactions/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9723, + "name": "channelMessageUserReaction", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 85, + "character": 1 + } + ], + "signatures": [ + { + "id": 9724, + "name": "channelMessageUserReaction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/{user.id}`", + "text": "**Note**: You need to URL encode the emoji yourself\n" + }, + "parameters": [ + { + "id": 9725, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9726, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9727, + "name": "emoji", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9728, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/reactions/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9707, + "name": "channelMessages", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 46, + "character": 1 + } + ], + "signatures": [ + { + "id": 9708, + "name": "channelMessages", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/messages`\n- POST `/channels/{channel.id}/messages`" + }, + "parameters": [ + { + "id": 9709, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages" + ] + ] + } + } + ] + }, + { + "id": 9741, + "name": "channelPermission", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 121, + "character": 1 + } + ], + "signatures": [ + { + "id": 9742, + "name": "channelPermission", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/permissions/{overwrite.id}`\n- DELETE `/channels/{channel.id}/permissions/{overwrite.id}`" + }, + "parameters": [ + { + "id": 9743, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9744, + "name": "overwriteId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/permissions/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9757, + "name": "channelPin", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 163, + "character": 1 + } + ], + "signatures": [ + { + "id": 9758, + "name": "channelPin", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/pins/{message.id}`\n- DELETE `/channels/{channel.id}/pins/{message.id}`" + }, + "parameters": [ + { + "id": 9759, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9760, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/pins/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9754, + "name": "channelPins", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 154, + "character": 1 + } + ], + "signatures": [ + { + "id": 9755, + "name": "channelPins", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/pins`" + }, + "parameters": [ + { + "id": 9756, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/pins" + ] + ] + } + } + ] + }, + { + "id": 9761, + "name": "channelRecipient", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 172, + "character": 1 + } + ], + "signatures": [ + { + "id": 9762, + "name": "channelRecipient", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/recipients/{user.id}`\n- DELETE `/channels/{channel.id}/recipients/{user.id}`" + }, + "parameters": [ + { + "id": 9763, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9764, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/recipients/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9863, + "name": "channelThreads", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 453, + "character": 1 + } + ], + "signatures": [ + { + "id": 9864, + "name": "channelThreads", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/threads/archived/public`\n- GET `/channels/{channel.id}/threads/archived/private`" + }, + "parameters": [ + { + "id": 9865, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9866, + "name": "archivedStatus", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "public" + }, + { + "type": "literal", + "value": "private" + } + ] + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/threads/archived/public" + ] + ] + }, + { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/threads/archived/private" + ] + ] + } + ] + } + } + ] + }, + { + "id": 9751, + "name": "channelTyping", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 146, + "character": 1 + } + ], + "signatures": [ + { + "id": 9752, + "name": "channelTyping", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/typing`" + }, + "parameters": [ + { + "id": 9753, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/typing" + ] + ] + } + } + ] + }, + { + "id": 9891, + "name": "channelWebhooks", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 549, + "character": 1 + } + ], + "signatures": [ + { + "id": 9892, + "name": "channelWebhooks", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/webhooks`\n- POST `/channels/{channel.id}/webhooks`" + }, + "parameters": [ + { + "id": 9893, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/webhooks" + ] + ] + } + } + ] + }, + { + "id": 9911, + "name": "gateway", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 613, + "character": 1 + } + ], + "signatures": [ + { + "id": 9912, + "name": "gateway", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/gateway`" + }, + "type": { + "type": "literal", + "value": "/gateway" + } + } + ] + }, + { + "id": 9913, + "name": "gatewayBot", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 621, + "character": 1 + } + ], + "signatures": [ + { + "id": 9914, + "name": "gatewayBot", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/gateway/bot`" + }, + "type": { + "type": "literal", + "value": "/gateway/bot" + } + } + ] + }, + { + "id": 9774, + "name": "guild", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 209, + "character": 1 + } + ], + "signatures": [ + { + "id": 9775, + "name": "guild", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}`\n- PATCH `/guilds/{guild.id}`\n- DELETE `/guilds/{guild.id}`" + }, + "parameters": [ + { + "id": 9776, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9860, + "name": "guildActiveThreads", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 444, + "character": 1 + } + ], + "signatures": [ + { + "id": 9861, + "name": "guildActiveThreads", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/threads/active`" + }, + "parameters": [ + { + "id": 9862, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/threads/active" + ] + ] + } + } + ] + }, + { + "id": 9952, + "name": "guildApplicationCommandsPermissions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 736, + "character": 1 + } + ], + "signatures": [ + { + "id": 9953, + "name": "guildApplicationCommandsPermissions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/guilds/{guild.id}/commands/permissions`\n- PUT `/applications/{application.id}/guilds/{guild.id}/commands/permissions`" + }, + "parameters": [ + { + "id": 9954, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9955, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/guilds/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands/permissions" + ] + ] + } + } + ] + }, + { + "id": 9701, + "name": "guildAuditLog", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 27, + "character": 1 + } + ], + "signatures": [ + { + "id": 9702, + "name": "guildAuditLog", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/audit-logs`" + }, + "parameters": [ + { + "id": 9703, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/audit-logs" + ] + ] + } + } + ] + }, + { + "id": 9804, + "name": "guildBan", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 291, + "character": 1 + } + ], + "signatures": [ + { + "id": 9805, + "name": "guildBan", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/bans/{user.id}`\n- PUT `/guilds/{guild.id}/bans/{user.id}`\n- DELETE `/guilds/{guild.id}/bans/{user.id}`" + }, + "parameters": [ + { + "id": 9806, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9807, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/bans/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9801, + "name": "guildBans", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 281, + "character": 1 + } + ], + "signatures": [ + { + "id": 9802, + "name": "guildBans", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/bans`" + }, + "parameters": [ + { + "id": 9803, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/bans" + ] + ] + } + } + ] + }, + { + "id": 9780, + "name": "guildChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 227, + "character": 1 + } + ], + "signatures": [ + { + "id": 9781, + "name": "guildChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/channels`\n- POST `/guilds/{guild.id}/channels`\n- PATCH `/guilds/{guild.id}/channels`" + }, + "parameters": [ + { + "id": 9782, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/channels" + ] + ] + } + } + ] + }, + { + "id": 9793, + "name": "guildCurrentMemberNickname", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 264, + "character": 1 + } + ], + "signatures": [ + { + "id": 9794, + "name": "guildCurrentMemberNickname", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PATCH `/guilds/{guild.id}/members/@me/nick`", + "tags": [ + { + "tag": "deprecated", + "text": "Use {@link Routes.guildMember} instead.\n" + } + ] + }, + "parameters": [ + { + "id": 9795, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members/@me/nick" + ] + ] + } + } + ] + }, + { + "id": 9768, + "name": "guildEmoji", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 191, + "character": 1 + } + ], + "signatures": [ + { + "id": 9769, + "name": "guildEmoji", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/emojis/{emoji.id}`\n- PATCH `/guilds/{guild.id}/emojis/{emoji.id}`\n- DELETE `/guilds/{guild.id}/emojis/{emoji.id}`" + }, + "parameters": [ + { + "id": 9770, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9771, + "name": "emojiId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/emojis/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9765, + "name": "guildEmojis", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 181, + "character": 1 + } + ], + "signatures": [ + { + "id": 9766, + "name": "guildEmojis", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/emojis`\n- POST `/guilds/{guild.id}/emojis`" + }, + "parameters": [ + { + "id": 9767, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/emojis" + ] + ] + } + } + ] + }, + { + "id": 9827, + "name": "guildIntegration", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 351, + "character": 1 + } + ], + "signatures": [ + { + "id": 9828, + "name": "guildIntegration", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/guilds/{guild.id}/integrations/{integration.id}`" + }, + "parameters": [ + { + "id": 9829, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9830, + "name": "integrationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/integrations/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9824, + "name": "guildIntegrations", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 343, + "character": 1 + } + ], + "signatures": [ + { + "id": 9825, + "name": "guildIntegrations", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/integrations`" + }, + "parameters": [ + { + "id": 9826, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/integrations" + ] + ] + } + } + ] + }, + { + "id": 9821, + "name": "guildInvites", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 335, + "character": 1 + } + ], + "signatures": [ + { + "id": 9822, + "name": "guildInvites", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/invites`" + }, + "parameters": [ + { + "id": 9823, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/invites" + ] + ] + } + } + ] + }, + { + "id": 9783, + "name": "guildMember", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 239, + "character": 1 + } + ], + "signatures": [ + { + "id": 9784, + "name": "guildMember", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/members/{user.id}`\n- PUT `/guilds/{guild.id}/members/{user.id}`\n- PATCH `/guilds/{guild.id}/members/@me`\n- PATCH `/guilds/{guild.id}/members/{user.id}`\n- DELETE `/guilds/{guild.id}/members/{user.id}`" + }, + "parameters": [ + { + "id": 9785, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9786, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'@me'" + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9796, + "name": "guildMemberRole", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 273, + "character": 1 + } + ], + "signatures": [ + { + "id": 9797, + "name": "guildMemberRole", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/guilds/{guild.id}/members/{user.id}/roles/{role.id}`\n- DELETE `/guilds/{guild.id}/members/{user.id}/roles/{role.id}`" + }, + "parameters": [ + { + "id": 9798, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9799, + "name": "memberId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9800, + "name": "roleId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/roles/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9945, + "name": "guildMemberVerification", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 718, + "character": 1 + } + ], + "signatures": [ + { + "id": 9946, + "name": "guildMemberVerification", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/member-verification`\n- PATCH `/guilds/{guild.id}/member-verification`" + }, + "parameters": [ + { + "id": 9947, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/member-verification" + ] + ] + } + } + ] + }, + { + "id": 9787, + "name": "guildMembers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 247, + "character": 1 + } + ], + "signatures": [ + { + "id": 9788, + "name": "guildMembers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/members`" + }, + "parameters": [ + { + "id": 9789, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members" + ] + ] + } + } + ] + }, + { + "id": 9790, + "name": "guildMembersSearch", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 255, + "character": 1 + } + ], + "signatures": [ + { + "id": 9791, + "name": "guildMembersSearch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/members/search`" + }, + "parameters": [ + { + "id": 9792, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members/search" + ] + ] + } + } + ] + }, + { + "id": 9777, + "name": "guildPreview", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 217, + "character": 1 + } + ], + "signatures": [ + { + "id": 9778, + "name": "guildPreview", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/preview`" + }, + "parameters": [ + { + "id": 9779, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/preview" + ] + ] + } + } + ] + }, + { + "id": 9815, + "name": "guildPrune", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 319, + "character": 1 + } + ], + "signatures": [ + { + "id": 9816, + "name": "guildPrune", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/prune`\n- POST `/guilds/{guild.id}/prune`" + }, + "parameters": [ + { + "id": 9817, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/prune" + ] + ] + } + } + ] + }, + { + "id": 9811, + "name": "guildRole", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 310, + "character": 1 + } + ], + "signatures": [ + { + "id": 9812, + "name": "guildRole", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PATCH `/guilds/{guild.id}/roles/{role.id}`\n- DELETE `/guilds/{guild.id}/roles/{role.id}`" + }, + "parameters": [ + { + "id": 9813, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9814, + "name": "roleId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/roles/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9808, + "name": "guildRoles", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 301, + "character": 1 + } + ], + "signatures": [ + { + "id": 9809, + "name": "guildRoles", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/roles`\n- POST `/guilds/{guild.id}/roles`\n- PATCH `/guilds/{guild.id}/roles`" + }, + "parameters": [ + { + "id": 9810, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/roles" + ] + ] + } + } + ] + }, + { + "id": 9984, + "name": "guildScheduledEvent", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 826, + "character": 1 + } + ], + "signatures": [ + { + "id": 9985, + "name": "guildScheduledEvent", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}`\n- PATCH `/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}`\n- DELETE `/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}`" + }, + "parameters": [ + { + "id": 9986, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9987, + "name": "guildScheduledEventId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/scheduled-events/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9988, + "name": "guildScheduledEventUsers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 834, + "character": 1 + } + ], + "signatures": [ + { + "id": 9989, + "name": "guildScheduledEventUsers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}/users`" + }, + "parameters": [ + { + "id": 9990, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9991, + "name": "guildScheduledEventId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/scheduled-events/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/users" + ] + ] + } + } + ] + }, + { + "id": 9981, + "name": "guildScheduledEvents", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 816, + "character": 1 + } + ], + "signatures": [ + { + "id": 9982, + "name": "guildScheduledEvents", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/scheduled-events`\n- POST `/guilds/{guild.id}/scheduled-events`" + }, + "parameters": [ + { + "id": 9983, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/scheduled-events" + ] + ] + } + } + ] + }, + { + "id": 9977, + "name": "guildSticker", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 807, + "character": 1 + } + ], + "signatures": [ + { + "id": 9978, + "name": "guildSticker", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/stickers/{sticker.id}`\n- PATCH `/guilds/{guild.id}/stickers/{sticker.id}`\n- DELETE `/guilds/{guild.id}/stickers/{sticker.id}`" + }, + "parameters": [ + { + "id": 9979, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9980, + "name": "stickerId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/stickers/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9974, + "name": "guildStickers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 797, + "character": 1 + } + ], + "signatures": [ + { + "id": 9975, + "name": "guildStickers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/stickers`\n- POST `/guilds/{guild.id}/stickers`" + }, + "parameters": [ + { + "id": 9976, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/stickers" + ] + ] + } + } + ] + }, + { + "id": 9852, + "name": "guildTemplate", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 421, + "character": 1 + } + ], + "signatures": [ + { + "id": 9853, + "name": "guildTemplate", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/guilds/{guild.id}/templates/{template.code}`\n- PATCH `/guilds/{guild.id}/templates/{template.code}`\n- DELETE `/guilds/{guild.id}/templates/{template.code}`" + }, + "parameters": [ + { + "id": 9854, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9855, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/templates/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9849, + "name": "guildTemplates", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 411, + "character": 1 + } + ], + "signatures": [ + { + "id": 9850, + "name": "guildTemplates", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/templates`\n- POST `/guilds/{guild.id}/templates`" + }, + "parameters": [ + { + "id": 9851, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/templates" + ] + ] + } + } + ] + }, + { + "id": 9837, + "name": "guildVanityUrl", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 376, + "character": 1 + } + ], + "signatures": [ + { + "id": 9838, + "name": "guildVanityUrl", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/vanity-url`" + }, + "parameters": [ + { + "id": 9839, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/vanity-url" + ] + ] + } + } + ] + }, + { + "id": 9818, + "name": "guildVoiceRegions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 327, + "character": 1 + } + ], + "signatures": [ + { + "id": 9819, + "name": "guildVoiceRegions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/regions`" + }, + "parameters": [ + { + "id": 9820, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/regions" + ] + ] + } + } + ] + }, + { + "id": 9948, + "name": "guildVoiceState", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 727, + "character": 1 + } + ], + "signatures": [ + { + "id": 9949, + "name": "guildVoiceState", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PATCH `/guilds/{guild.id}/voice-states/@me`\n- PATCH `/guilds/{guild.id}/voice-states/{user.id}`" + }, + "parameters": [ + { + "id": 9950, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9951, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'@me'" + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/voice-states/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9894, + "name": "guildWebhooks", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 557, + "character": 1 + } + ], + "signatures": [ + { + "id": 9895, + "name": "guildWebhooks", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/webhooks`" + }, + "parameters": [ + { + "id": 9896, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/webhooks" + ] + ] + } + } + ] + }, + { + "id": 9961, + "name": "guildWelcomeScreen", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 754, + "character": 1 + } + ], + "signatures": [ + { + "id": 9962, + "name": "guildWelcomeScreen", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/welcome-screen`\n- PATCH `/guilds/{guild.id}/welcome-screen`" + }, + "parameters": [ + { + "id": 9963, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/welcome-screen" + ] + ] + } + } + ] + }, + { + "id": 9840, + "name": "guildWidgetImage", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 384, + "character": 1 + } + ], + "signatures": [ + { + "id": 9841, + "name": "guildWidgetImage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/widget.png`" + }, + "parameters": [ + { + "id": 9842, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/widget.png" + ] + ] + } + } + ] + }, + { + "id": 9834, + "name": "guildWidgetJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 368, + "character": 1 + } + ], + "signatures": [ + { + "id": 9835, + "name": "guildWidgetJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/widget.json`" + }, + "parameters": [ + { + "id": 9836, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/widget.json" + ] + ] + } + } + ] + }, + { + "id": 9831, + "name": "guildWidgetSettings", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 360, + "character": 1 + } + ], + "signatures": [ + { + "id": 9832, + "name": "guildWidgetSettings", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/widget`\n- PATCH `/guilds/{guild.id}/widget`" + }, + "parameters": [ + { + "id": 9833, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/widget" + ] + ] + } + } + ] + }, + { + "id": 9772, + "name": "guilds", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 199, + "character": 1 + } + ], + "signatures": [ + { + "id": 9773, + "name": "guilds", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/guilds`" + }, + "type": { + "type": "literal", + "value": "/guilds" + } + } + ] + }, + { + "id": 9941, + "name": "interactionCallback", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 709, + "character": 1 + } + ], + "signatures": [ + { + "id": 9942, + "name": "interactionCallback", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/interactions/{interaction.id}/{interaction.token}/callback`" + }, + "parameters": [ + { + "id": 9943, + "name": "interactionId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9944, + "name": "interactionToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/interactions/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/callback" + ] + ] + } + } + ] + }, + { + "id": 9843, + "name": "invite", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 393, + "character": 1 + } + ], + "signatures": [ + { + "id": 9844, + "name": "invite", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/invites/{invite.code}`\n- DELETE `/invites/{invite.code}`" + }, + "parameters": [ + { + "id": 9845, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/invites/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9972, + "name": "nitroStickerPacks", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 788, + "character": 1 + } + ], + "signatures": [ + { + "id": 9973, + "name": "nitroStickerPacks", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/sticker-packs`" + }, + "type": { + "type": "literal", + "value": "/sticker-packs" + } + } + ] + }, + { + "id": 9919, + "name": "oauth2Authorization", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 645, + "character": 1 + } + ], + "signatures": [ + { + "id": 9920, + "name": "oauth2Authorization", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/oauth2/authorize`" + }, + "type": { + "type": "literal", + "value": "/oauth2/authorize" + } + } + ] + }, + { + "id": 9915, + "name": "oauth2CurrentApplication", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 629, + "character": 1 + } + ], + "signatures": [ + { + "id": 9916, + "name": "oauth2CurrentApplication", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/oauth2/applications/@me`" + }, + "type": { + "type": "literal", + "value": "/oauth2/applications/@me" + } + } + ] + }, + { + "id": 9917, + "name": "oauth2CurrentAuthorization", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 637, + "character": 1 + } + ], + "signatures": [ + { + "id": 9918, + "name": "oauth2CurrentAuthorization", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/oauth2/@me`" + }, + "type": { + "type": "literal", + "value": "/oauth2/@me" + } + } + ] + }, + { + "id": 9921, + "name": "oauth2TokenExchange", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 653, + "character": 1 + } + ], + "signatures": [ + { + "id": 9922, + "name": "oauth2TokenExchange", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/oauth2/token`" + }, + "type": { + "type": "literal", + "value": "/oauth2/token" + } + } + ] + }, + { + "id": 9923, + "name": "oauth2TokenRevocation", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 661, + "character": 1 + } + ], + "signatures": [ + { + "id": 9924, + "name": "oauth2TokenRevocation", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/oauth2/token/revoke`" + }, + "type": { + "type": "literal", + "value": "/oauth2/token/revoke" + } + } + ] + }, + { + "id": 9966, + "name": "stageInstance", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 772, + "character": 1 + } + ], + "signatures": [ + { + "id": 9967, + "name": "stageInstance", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/stage-instances/{channel.id}`\n- PATCH `/stage-instances/{channel.id}`\n- DELETE `/stage-instances/{channel.id}`" + }, + "parameters": [ + { + "id": 9968, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/stage-instances/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9964, + "name": "stageInstances", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 762, + "character": 1 + } + ], + "signatures": [ + { + "id": 9965, + "name": "stageInstances", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/stage-instances`" + }, + "type": { + "type": "literal", + "value": "/stage-instances" + } + } + ] + }, + { + "id": 9969, + "name": "sticker", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 780, + "character": 1 + } + ], + "signatures": [ + { + "id": 9970, + "name": "sticker", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/stickers/{sticker.id}`" + }, + "parameters": [ + { + "id": 9971, + "name": "stickerId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/stickers/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9846, + "name": "template", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 402, + "character": 1 + } + ], + "signatures": [ + { + "id": 9847, + "name": "template", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/templates/{template.code}`\n- POST `/guilds/templates/{template.code}`" + }, + "parameters": [ + { + "id": 9848, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/templates/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9870, + "name": "threadMembers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 474, + "character": 1 + } + ], + "signatures": [ + { + "id": 9871, + "name": "threadMembers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{thread.id}/thread-members`\n- GET `/channels/{thread.id}/thread-members/{user.id}`\n- PUT `/channels/{thread.id}/thread-members/@me`\n- PUT `/channels/{thread.id}/thread-members/{user.id}`\n- DELETE `/channels/{thread.id}/thread-members/@me`\n- DELETE `/channels/{thread.id}/thread-members/{user.id}`" + }, + "parameters": [ + { + "id": 9872, + "name": "threadId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9873, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/thread-members" + ] + ] + }, + { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/thread-members/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + ] + } + } + ] + }, + { + "id": 9856, + "name": "threads", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 430, + "character": 1 + } + ], + "signatures": [ + { + "id": 9857, + "name": "threads", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/threads`\n- POST `/channels/{channel.id}/messages/{message.id}/threads`" + }, + "parameters": [ + { + "id": 9858, + "name": "parentId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9859, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/threads" + ] + ] + }, + { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/threads" + ] + ] + } + ] + } + } + ] + }, + { + "id": 9874, + "name": "user", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 492, + "character": 1 + } + ], + "signatures": [ + { + "id": 9875, + "name": "user", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me`\n- GET `/users/{user.id}`\n- PATCH `/users/@me`" + }, + "parameters": [ + { + "id": 9876, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'@me'" + } + ], + "type": { + "type": "template-literal", + "head": "/users/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9885, + "name": "userChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 524, + "character": 1 + } + ], + "signatures": [ + { + "id": 9886, + "name": "userChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/users/@me/channels`" + }, + "type": { + "type": "literal", + "value": "/users/@me/channels" + } + } + ] + }, + { + "id": 9887, + "name": "userConnections", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 532, + "character": 1 + } + ], + "signatures": [ + { + "id": 9888, + "name": "userConnections", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me/connections`" + }, + "type": { + "type": "literal", + "value": "/users/@me/connections" + } + } + ] + }, + { + "id": 9882, + "name": "userGuild", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 516, + "character": 1 + } + ], + "signatures": [ + { + "id": 9883, + "name": "userGuild", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/users/@me/guilds/{guild.id}`" + }, + "parameters": [ + { + "id": 9884, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/users/@me/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9879, + "name": "userGuildMember", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 508, + "character": 1 + } + ], + "signatures": [ + { + "id": 9880, + "name": "userGuildMember", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me/guilds/{guild.id}/member`" + }, + "parameters": [ + { + "id": 9881, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/users/@me/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/member" + ] + ] + } + } + ] + }, + { + "id": 9877, + "name": "userGuilds", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 500, + "character": 1 + } + ], + "signatures": [ + { + "id": 9878, + "name": "userGuilds", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me/guilds`" + }, + "type": { + "type": "literal", + "value": "/users/@me/guilds" + } + } + ] + }, + { + "id": 9889, + "name": "voiceRegions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 540, + "character": 1 + } + ], + "signatures": [ + { + "id": 9890, + "name": "voiceRegions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/voice/regions`" + }, + "type": { + "type": "literal", + "value": "/voice/regions" + } + } + ] + }, + { + "id": 9897, + "name": "webhook", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 573, + "character": 1 + } + ], + "signatures": [ + { + "id": 9898, + "name": "webhook", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/webhooks/{webhook.id}`\n- GET `/webhooks/{webhook.id}/{webhook.token}`\n- PATCH `/webhooks/{webhook.id}`\n- PATCH `/webhooks/{webhook.id}/{webhook.token}`\n- DELETE `/webhooks/{webhook.id}`\n- DELETE `/webhooks/{webhook.id}/{webhook.token}`\n- POST `/webhooks/{webhook.id}/{webhook.token}`", + "text": "- POST `/webhooks/{application.id}/{interaction.token}`\n" + }, + "parameters": [ + { + "id": 9899, + "name": "webhookId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9900, + "name": "webhookToken", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + ] + } + } + ] + }, + { + "id": 9901, + "name": "webhookMessage", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 596, + "character": 1 + } + ], + "signatures": [ + { + "id": 9902, + "name": "webhookMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/webhooks/{webhook.id}/{webhook.token}/messages/@original`\n- GET `/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}`\n- PATCH `/webhooks/{webhook.id}/{webhook.token}/messages/@original`\n- PATCH `/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}`\n- DELETE `/webhooks/{webhook.id}/{webhook.token}/messages/@original`\n- DELETE `/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}`", + "text": "- PATCH `/webhooks/{application.id}/{interaction.token}/messages/@original`\n- PATCH `/webhooks/{application.id}/{interaction.token}/messages/{message.id}`\n- DELETE `/webhooks/{application.id}/{interaction.token}/messages/{message.id}`\n" + }, + "parameters": [ + { + "id": 9903, + "name": "webhookId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9904, + "name": "webhookToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9905, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'@original'" + } + ], + "type": { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 9906, + "name": "webhookPlatform", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v10/index.ts", + "line": 605, + "character": 1 + } + ], + "signatures": [ + { + "id": 9907, + "name": "webhookPlatform", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/webhooks/{webhook.id}/{webhook.token}/github`\n- POST `/webhooks/{webhook.id}/{webhook.token}/slack`" + }, + "parameters": [ + { + "id": 9908, + "name": "webhookId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9909, + "name": "webhookToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9910, + "name": "platform", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "github" + }, + { + "type": "literal", + "value": "slack" + } + ] + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/github" + ] + ] + }, + { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/slack" + ] + ] + } + ] + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "kind": 2048, + "children": [ + 9928, + 9956, + 9925, + 9936, + 9932, + 9704, + 9738, + 9748, + 9745, + 9867, + 9710, + 9734, + 9714, + 9718, + 9729, + 9723, + 9707, + 9741, + 9757, + 9754, + 9761, + 9863, + 9751, + 9891, + 9911, + 9913, + 9774, + 9860, + 9952, + 9701, + 9804, + 9801, + 9780, + 9793, + 9768, + 9765, + 9827, + 9824, + 9821, + 9783, + 9796, + 9945, + 9787, + 9790, + 9777, + 9815, + 9811, + 9808, + 9984, + 9988, + 9981, + 9977, + 9974, + 9852, + 9849, + 9837, + 9818, + 9948, + 9894, + 9961, + 9840, + 9834, + 9831, + 9772, + 9941, + 9843, + 9972, + 9919, + 9915, + 9917, + 9921, + 9923, + 9966, + 9964, + 9969, + 9846, + 9870, + 9856, + 9874, + 9885, + 9887, + 9882, + 9879, + 9877, + 9889, + 9897, + 9901, + 9906 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "References", + "kind": 16777216, + "children": [ + 8155, + 8152, + 10006, + 10007, + 8157, + 8156, + 10005, + 10660, + 10659, + 8153, + 7723 + ] + }, + { + "title": "Enumerations", + "kind": 8, + "children": [ + 8823, + 8798, + 8807, + 8651, + 9234, + 9321, + 9159, + 8183, + 8213, + 8271, + 8698, + 8731, + 8452, + 8663, + 9658, + 8598, + 7737, + 7770, + 7752, + 7725, + 8906, + 8909, + 8941, + 8932, + 8913, + 8916, + 8927, + 9125, + 9134, + 9129, + 8936, + 8921, + 9046, + 9010, + 9432, + 9406, + 9463, + 9069, + 8533, + 8538, + 8502, + 9484, + 8560, + 8768, + 9533, + 9557, + 9554, + 9581, + 8704, + 8570, + 8580, + 9628, + 9644, + 8465, + 9694 + ] + }, + { + "title": "Interfaces", + "kind": 256, + "children": [ + 8668, + 8655, + 8158, + 9143, + 9415, + 9209, + 9219, + 9227, + 9252, + 9277, + 9265, + 9246, + 9317, + 9269, + 9257, + 8180, + 8635, + 8197, + 8205, + 8262, + 9022, + 8660, + 9357, + 8672, + 8683, + 8690, + 8349, + 8646, + 10014, + 9189, + 9196, + 9443, + 9648, + 8584, + 8622, + 8631, + 8627, + 8614, + 8619, + 8605, + 8610, + 8742, + 9466, + 9105, + 8548, + 8753, + 8751, + 8757, + 8423, + 8862, + 9312, + 8364, + 10163, + 10175, + 8993, + 9016, + 8982, + 9060, + 9064, + 8967, + 9123, + 9136, + 8376, + 9052, + 9055, + 9025, + 9032, + 9036, + 8979, + 9013, + 9164, + 9171, + 9345, + 9421, + 9424, + 9427, + 9413, + 9429, + 9450, + 9536, + 8468, + 8526, + 9293, + 9300, + 9381, + 8679, + 9339, + 8529, + 9386, + 9418, + 9445, + 9399, + 8555, + 8345, + 8738, + 8850, + 8551, + 9509, + 9521, + 8707, + 8715, + 9525, + 9071, + 9541, + 9562, + 9570, + 9576, + 9584, + 9596, + 8357, + 8391, + 8721, + 8433, + 8581, + 8575, + 8563, + 8847, + 9612, + 9283, + 9290, + 8408, + 9088, + 9675, + 9681, + 8778, + 8833, + 8818, + 8814, + 7876, + 7900, + 7908, + 7916, + 7919, + 7932, + 7940, + 7957, + 7949, + 7967, + 7972, + 7912, + 8099, + 7842, + 7837, + 7830, + 7835, + 8103, + 8106, + 8114, + 7985, + 7847, + 7992, + 8006, + 8023, + 8018, + 8034, + 8774, + 8762, + 8146, + 7859, + 7853, + 8125, + 8128, + 8118, + 8121, + 8057, + 8836, + 8841, + 8080, + 8143, + 8091, + 9661, + 8135, + 8138, + 8096, + 9396, + 9392, + 10592, + 10008, + 10071, + 10041, + 10143, + 10588, + 10276, + 10240, + 10244, + 10313, + 10316, + 10200, + 10376, + 10386, + 10361, + 10333, + 10336, + 10447, + 10454, + 10547, + 10505, + 10513, + 10459, + 10466, + 10499, + 10487, + 10110, + 10090, + 10398, + 10601, + 10323, + 10551, + 10533, + 10639, + 10475, + 10469, + 10518, + 10525, + 10495, + 10481, + 10442, + 10093 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 8735, + 9205, + 9336, + 9337, + 9335, + 9185, + 9207, + 9183, + 9184, + 9218, + 9182, + 9163, + 9206, + 9188, + 9208, + 9217, + 9225, + 9187, + 9233, + 9282, + 9180, + 9224, + 9226, + 9186, + 9232, + 9251, + 9281, + 8274, + 8294, + 8295, + 8285, + 8286, + 8312, + 8305, + 8337, + 8334, + 8339, + 8335, + 8324, + 8281, + 8302, + 8315, + 8314, + 8308, + 8344, + 8321, + 8340, + 8292, + 8313, + 8276, + 8280, + 8327, + 8341, + 8328, + 8329, + 8291, + 8333, + 8336, + 8310, + 8277, + 8325, + 8278, + 8316, + 8343, + 8338, + 8289, + 8319, + 8317, + 8311, + 8322, + 8304, + 8275, + 8323, + 8282, + 8303, + 8307, + 8300, + 8284, + 8331, + 8296, + 8288, + 8306, + 8283, + 8287, + 8309, + 8279, + 8342, + 8299, + 8332, + 8320, + 8301, + 8326, + 8330, + 8318, + 8293, + 8290, + 8298, + 8297, + 8697, + 8451, + 9203, + 9204, + 9202, + 9310, + 9311, + 9309, + 9302, + 8422, + 9141, + 9373, + 8407, + 10168, + 10169, + 8450, + 9009, + 9142, + 9375, + 9122, + 9140, + 9412, + 9440, + 9449, + 8736, + 9307, + 9308, + 9306, + 9385, + 8733, + 9378, + 9390, + 9391, + 9377, + 9380, + 9379, + 10048, + 8737, + 8734, + 9403, + 9404, + 9402, + 8406, + 9405, + 9561, + 9304, + 9305, + 9303, + 8821, + 8817, + 8822, + 8151, + 7869, + 7870, + 7873, + 7874, + 7867, + 7868, + 7875, + 7871, + 7872, + 7829, + 7903, + 7904, + 7899, + 7905, + 7906, + 7882, + 7883, + 7897, + 7898, + 7907, + 7915, + 7918, + 7931, + 7935, + 7936, + 7939, + 7880, + 7881, + 7952, + 7953, + 7956, + 7948, + 7954, + 7955, + 7960, + 7961, + 7964, + 7965, + 7962, + 7963, + 7966, + 7971, + 7911, + 7895, + 7896, + 8102, + 7976, + 7977, + 7984, + 7980, + 7981, + 7989, + 7990, + 7852, + 7991, + 8005, + 8010, + 8011, + 8022, + 8017, + 8027, + 8028, + 8031, + 8032, + 8029, + 8030, + 8033, + 8012, + 8013, + 8039, + 8040, + 7858, + 7828, + 7866, + 7827, + 8041, + 8042, + 8043, + 8044, + 8045, + 8046, + 8056, + 8077, + 8078, + 8047, + 8048, + 8051, + 8052, + 8049, + 8050, + 8055, + 8075, + 8076, + 8079, + 8086, + 8087, + 8090, + 8088, + 8089, + 8095, + 10605, + 8356, + 8375, + 9338, + 10075, + 10069, + 10076, + 10089, + 10070, + 10109, + 10116, + 10122, + 10040, + 10141, + 10600, + 10285, + 10160, + 10328, + 10274, + 10273, + 10227, + 10312, + 10385, + 10563, + 10579, + 10439, + 10429, + 10452, + 10545, + 10623, + 10658, + 10624, + 10441, + 10393, + 10392, + 10414, + 10413, + 10013, + 10098, + 10074, + 10047, + 10046, + 10114, + 10019, + 10142, + 10146, + 10611, + 10604, + 10599, + 10580, + 10162, + 10161, + 10440, + 10280, + 10275, + 10228, + 10148, + 10147, + 10327, + 10326, + 10239, + 10339, + 10243, + 10247, + 10203, + 10202, + 10286, + 10378, + 10391, + 10363, + 10550, + 10549, + 10570, + 10238, + 10325, + 10612, + 10356, + 10338, + 10332, + 10329, + 10435, + 10425, + 10451, + 10453, + 10539, + 10546, + 10564, + 10581, + 10613, + 10650, + 10614, + 10582, + 10494, + 10409, + 10410, + 10417, + 10418, + 10020, + 10085, + 10077, + 10088, + 10039, + 10268, + 10265, + 10271, + 10583, + 10587, + 10231, + 10237, + 10155, + 10159, + 10204, + 10256, + 10264, + 10340, + 10345, + 10226, + 10302, + 10297, + 10301, + 10311, + 10379, + 10384, + 10557, + 10562, + 10577, + 10578, + 10346, + 10351, + 10352, + 10357, + 10360, + 10330, + 10331, + 10437, + 10436, + 10438, + 10427, + 10426, + 10428, + 10540, + 10544, + 10615, + 10620, + 10621, + 10654, + 10651, + 10657, + 10622, + 10407, + 10408, + 10415, + 10416, + 10112, + 10099, + 10108, + 10067, + 10063, + 10051, + 10066, + 10092, + 10123, + 10134, + 10135, + 10139, + 10113, + 10606, + 10610, + 10394, + 10603, + 10229, + 10230, + 10149, + 10154, + 10131, + 10128, + 10318, + 10287, + 10296, + 10364, + 10375, + 10556, + 10571, + 10575, + 10184, + 10199, + 10422, + 10421, + 10431, + 10430, + 10434, + 10538, + 10565, + 10569, + 10636, + 10647, + 10648, + 10649, + 10625, + 10642, + 10644, + 10645, + 10646, + 10643, + 10532, + 10498, + 10486, + 10444, + 10411, + 10412, + 10419, + 10420, + 10068, + 10097, + 10115, + 10117, + 10121, + 10140, + 10445, + 10446, + 10281, + 10284, + 10248, + 10255, + 10272, + 10576, + 8355 + ] + }, + { + "title": "Variables", + "kind": 32, + "children": [ + 9325, + 9698, + 7724, + 10000, + 9992, + 9699 + ] + } + ], + "sources": [ + { + "fileName": "v10.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 284, + "name": "v6", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 731, + "name": "FormattingPatterns", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 4 + }, + { + "id": 728, + "name": "GatewayURLQuery", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 18 + }, + { + "id": 1649, + "name": "Locale", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 227 + }, + { + "id": 1650, + "name": "LocaleString", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 258 + }, + { + "id": 1648, + "name": "RESTJSONErrorCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 68 + }, + { + "id": 729, + "name": "Snowflake", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 2 + }, + { + "id": 1101, + "name": "ActivityFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-flags", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1102, + "name": "INSTANCE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 147, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 1103, + "name": "JOIN", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 148, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 1105, + "name": "JOIN_REQUEST", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 150, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 1107, + "name": "PLAY", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 152, + "character": 1 + } + ], + "defaultValue": "32" + }, + { + "id": 1104, + "name": "SPECTATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 149, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 1106, + "name": "SYNC", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 151, + "character": 1 + } + ], + "defaultValue": "16" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1102, + 1103, + 1105, + 1107, + 1104, + 1106 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 146, + "character": 12 + } + ] + }, + { + "id": 1086, + "name": "ActivityType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1091, + "name": "Competing", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 101, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 1090, + "name": "Custom", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 100, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 1087, + "name": "Game", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 96, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 1089, + "name": "Listening", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 98, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 1088, + "name": "Streaming", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 97, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1091, + 1090, + 1087, + 1089, + 1088 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 95, + "character": 12 + } + ] + }, + { + "id": 1662, + "name": "AllowedMentionsTypes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mention-types", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1663, + "name": "Everyone", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 34, + "character": 1 + } + ], + "defaultValue": "\"everyone\"" + }, + { + "id": 1664, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 35, + "character": 1 + } + ], + "defaultValue": "\"roles\"" + }, + { + "id": 1665, + "name": "User", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 36, + "character": 1 + } + ], + "defaultValue": "\"users\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1663, + 1664, + 1665 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 33, + "character": 12 + } + ] + }, + { + "id": 745, + "name": "AuditLogEvent", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 761, + "name": "BOT_ADD", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 65, + "character": 1 + } + ], + "defaultValue": "28" + }, + { + "id": 747, + "name": "CHANNEL_CREATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 50, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 749, + "name": "CHANNEL_DELETE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 52, + "character": 1 + } + ], + "defaultValue": "12" + }, + { + "id": 750, + "name": "CHANNEL_OVERWRITE_CREATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 53, + "character": 1 + } + ], + "defaultValue": "13" + }, + { + "id": 752, + "name": "CHANNEL_OVERWRITE_DELETE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 55, + "character": 1 + } + ], + "defaultValue": "15" + }, + { + "id": 751, + "name": "CHANNEL_OVERWRITE_UPDATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 54, + "character": 1 + } + ], + "defaultValue": "14" + }, + { + "id": 748, + "name": "CHANNEL_UPDATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 51, + "character": 1 + } + ], + "defaultValue": "11" + }, + { + "id": 771, + "name": "EMOJI_CREATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 79, + "character": 1 + } + ], + "defaultValue": "60" + }, + { + "id": 773, + "name": "EMOJI_DELETE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 81, + "character": 1 + } + ], + "defaultValue": "62" + }, + { + "id": 772, + "name": "EMOJI_UPDATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 80, + "character": 1 + } + ], + "defaultValue": "61" + }, + { + "id": 746, + "name": "GUILD_UPDATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 48, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 778, + "name": "INTEGRATION_CREATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 88, + "character": 1 + } + ], + "defaultValue": "80" + }, + { + "id": 780, + "name": "INTEGRATION_DELETE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 90, + "character": 1 + } + ], + "defaultValue": "82" + }, + { + "id": 779, + "name": "INTEGRATION_UPDATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 89, + "character": 1 + } + ], + "defaultValue": "81" + }, + { + "id": 765, + "name": "INVITE_CREATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 71, + "character": 1 + } + ], + "defaultValue": "40" + }, + { + "id": 767, + "name": "INVITE_DELETE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 73, + "character": 1 + } + ], + "defaultValue": "42" + }, + { + "id": 766, + "name": "INVITE_UPDATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 72, + "character": 1 + } + ], + "defaultValue": "41" + }, + { + "id": 755, + "name": "MEMBER_BAN_ADD", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 59, + "character": 1 + } + ], + "defaultValue": "22" + }, + { + "id": 756, + "name": "MEMBER_BAN_REMOVE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 60, + "character": 1 + } + ], + "defaultValue": "23" + }, + { + "id": 760, + "name": "MEMBER_DISCONNECT", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 64, + "character": 1 + } + ], + "defaultValue": "27" + }, + { + "id": 753, + "name": "MEMBER_KICK", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 57, + "character": 1 + } + ], + "defaultValue": "20" + }, + { + "id": 759, + "name": "MEMBER_MOVE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 63, + "character": 1 + } + ], + "defaultValue": "26" + }, + { + "id": 754, + "name": "MEMBER_PRUNE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 58, + "character": 1 + } + ], + "defaultValue": "21" + }, + { + "id": 758, + "name": "MEMBER_ROLE_UPDATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 62, + "character": 1 + } + ], + "defaultValue": "25" + }, + { + "id": 757, + "name": "MEMBER_UPDATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 61, + "character": 1 + } + ], + "defaultValue": "24" + }, + { + "id": 775, + "name": "MESSAGE_BULK_DELETE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 84, + "character": 1 + } + ], + "defaultValue": "73" + }, + { + "id": 774, + "name": "MESSAGE_DELETE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 83, + "character": 1 + } + ], + "defaultValue": "72" + }, + { + "id": 776, + "name": "MESSAGE_PIN", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 85, + "character": 1 + } + ], + "defaultValue": "74" + }, + { + "id": 777, + "name": "MESSAGE_UNPIN", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 86, + "character": 1 + } + ], + "defaultValue": "75" + }, + { + "id": 762, + "name": "ROLE_CREATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 67, + "character": 1 + } + ], + "defaultValue": "30" + }, + { + "id": 764, + "name": "ROLE_DELETE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 69, + "character": 1 + } + ], + "defaultValue": "32" + }, + { + "id": 763, + "name": "ROLE_UPDATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 68, + "character": 1 + } + ], + "defaultValue": "31" + }, + { + "id": 768, + "name": "WEBHOOK_CREATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 75, + "character": 1 + } + ], + "defaultValue": "50" + }, + { + "id": 770, + "name": "WEBHOOK_DELETE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 77, + "character": 1 + } + ], + "defaultValue": "52" + }, + { + "id": 769, + "name": "WEBHOOK_UPDATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 76, + "character": 1 + } + ], + "defaultValue": "51" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 761, + 747, + 749, + 750, + 752, + 751, + 748, + 771, + 773, + 772, + 746, + 778, + 780, + 779, + 765, + 767, + 766, + 755, + 756, + 760, + 753, + 759, + 754, + 758, + 757, + 775, + 774, + 776, + 777, + 762, + 764, + 763, + 768, + 770, + 769 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 47, + "character": 12 + } + ] + }, + { + "id": 790, + "name": "AuditLogOptionsType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 791, + "name": "Member", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 165, + "character": 1 + } + ], + "defaultValue": "\"member\"" + }, + { + "id": 792, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 166, + "character": 1 + } + ], + "defaultValue": "\"role\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 791, + 792 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 164, + "character": 12 + } + ] + }, + { + "id": 870, + "name": "ChannelType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-object-channel-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 872, + "name": "DM", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 48, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 874, + "name": "GROUP_DM", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 50, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 875, + "name": "GUILD_CATEGORY", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 51, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 876, + "name": "GUILD_NEWS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 52, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 877, + "name": "GUILD_STORE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 53, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 871, + "name": "GUILD_TEXT", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 47, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 873, + "name": "GUILD_VOICE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 49, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 872, + 874, + 875, + 876, + 877, + 871, + 873 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 46, + "character": 12 + } + ] + }, + { + "id": 1423, + "name": "ConnectionVisibility", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1425, + "name": "Everyone", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 79, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 1424, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 78, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1425, + 1424 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 77, + "character": 12 + } + ] + }, + { + "id": 976, + "name": "EmbedType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-types", + "tags": [ + { + "tag": "deprecated", + "text": "*Embed types should be considered deprecated and might be removed in a future API version*" + }, + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 981, + "name": "Article", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 236, + "character": 1 + } + ], + "defaultValue": "\"article\"" + }, + { + "id": 980, + "name": "GifV", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 235, + "character": 1 + } + ], + "defaultValue": "\"gifv\"" + }, + { + "id": 978, + "name": "Image", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 233, + "character": 1 + } + ], + "defaultValue": "\"image\"" + }, + { + "id": 982, + "name": "Link", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 237, + "character": 1 + } + ], + "defaultValue": "\"link\"" + }, + { + "id": 977, + "name": "Rich", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 232, + "character": 1 + } + ], + "defaultValue": "\"rich\"" + }, + { + "id": 979, + "name": "Video", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 234, + "character": 1 + } + ], + "defaultValue": "\"video\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 981, + 980, + 978, + 982, + 977, + 979 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 231, + "character": 12 + } + ] + }, + { + "id": 437, + "name": "GatewayCloseCodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 443, + "name": "AlreadyAuthenticated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 57, + "character": 1 + } + ], + "defaultValue": "4005" + }, + { + "id": 442, + "name": "AuthenticationFailed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 56, + "character": 1 + } + ], + "defaultValue": "4004" + }, + { + "id": 440, + "name": "DecodeError", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 54, + "character": 1 + } + ], + "defaultValue": "4002" + }, + { + "id": 451, + "name": "DisallowedIntents", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 66, + "character": 1 + } + ], + "defaultValue": "4014" + }, + { + "id": 449, + "name": "InvalidAPIVersion", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 64, + "character": 1 + } + ], + "defaultValue": "4012" + }, + { + "id": 450, + "name": "InvalidIntents", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 65, + "character": 1 + } + ], + "defaultValue": "4013" + }, + { + "id": 444, + "name": "InvalidSeq", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 59, + "character": 1 + } + ], + "defaultValue": "4007" + }, + { + "id": 447, + "name": "InvalidShard", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 62, + "character": 1 + } + ], + "defaultValue": "4010" + }, + { + "id": 441, + "name": "NotAuthenticated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 55, + "character": 1 + } + ], + "defaultValue": "4003" + }, + { + "id": 445, + "name": "RateLimited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 60, + "character": 1 + } + ], + "defaultValue": "4008" + }, + { + "id": 446, + "name": "SessionTimedOut", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 61, + "character": 1 + } + ], + "defaultValue": "4009" + }, + { + "id": 448, + "name": "ShardingRequired", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 63, + "character": 1 + } + ], + "defaultValue": "4011" + }, + { + "id": 438, + "name": "UnknownError", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 52, + "character": 1 + } + ], + "defaultValue": "4000" + }, + { + "id": 439, + "name": "UnknownOpCode", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 53, + "character": 1 + } + ], + "defaultValue": "4001" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 443, + 442, + 440, + 451, + 449, + 450, + 444, + 447, + 441, + 445, + 446, + 448, + 438, + 439 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 51, + "character": 12 + } + ] + }, + { + "id": 492, + "name": "GatewayDispatchEvents", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#commands-and-events-gateway-events", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 495, + "name": "ChannelCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 139, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_CREATE\"" + }, + { + "id": 497, + "name": "ChannelDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 141, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_DELETE\"" + }, + { + "id": 498, + "name": "ChannelPinsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 142, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_PINS_UPDATE\"" + }, + { + "id": 496, + "name": "ChannelUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 140, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_UPDATE\"" + }, + { + "id": 502, + "name": "GuildBanAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 146, + "character": 1 + } + ], + "defaultValue": "\"GUILD_BAN_ADD\"" + }, + { + "id": 503, + "name": "GuildBanRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 147, + "character": 1 + } + ], + "defaultValue": "\"GUILD_BAN_REMOVE\"" + }, + { + "id": 499, + "name": "GuildCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 143, + "character": 1 + } + ], + "defaultValue": "\"GUILD_CREATE\"" + }, + { + "id": 501, + "name": "GuildDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 145, + "character": 1 + } + ], + "defaultValue": "\"GUILD_DELETE\"" + }, + { + "id": 504, + "name": "GuildEmojisUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 148, + "character": 1 + } + ], + "defaultValue": "\"GUILD_EMOJIS_UPDATE\"" + }, + { + "id": 505, + "name": "GuildIntegrationsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 149, + "character": 1 + } + ], + "defaultValue": "\"GUILD_INTEGRATIONS_UPDATE\"" + }, + { + "id": 506, + "name": "GuildMemberAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 150, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBER_ADD\"" + }, + { + "id": 507, + "name": "GuildMemberRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 151, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBER_REMOVE\"" + }, + { + "id": 508, + "name": "GuildMemberUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 152, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBER_UPDATE\"" + }, + { + "id": 509, + "name": "GuildMembersChunk", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 153, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBERS_CHUNK\"" + }, + { + "id": 510, + "name": "GuildRoleCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 154, + "character": 1 + } + ], + "defaultValue": "\"GUILD_ROLE_CREATE\"" + }, + { + "id": 512, + "name": "GuildRoleDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 156, + "character": 1 + } + ], + "defaultValue": "\"GUILD_ROLE_DELETE\"" + }, + { + "id": 511, + "name": "GuildRoleUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 155, + "character": 1 + } + ], + "defaultValue": "\"GUILD_ROLE_UPDATE\"" + }, + { + "id": 500, + "name": "GuildUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 144, + "character": 1 + } + ], + "defaultValue": "\"GUILD_UPDATE\"" + }, + { + "id": 513, + "name": "InviteCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 157, + "character": 1 + } + ], + "defaultValue": "\"INVITE_CREATE\"" + }, + { + "id": 514, + "name": "InviteDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 158, + "character": 1 + } + ], + "defaultValue": "\"INVITE_DELETE\"" + }, + { + "id": 515, + "name": "MessageCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 159, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_CREATE\"" + }, + { + "id": 517, + "name": "MessageDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 161, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_DELETE\"" + }, + { + "id": 518, + "name": "MessageDeleteBulk", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 162, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_DELETE_BULK\"" + }, + { + "id": 519, + "name": "MessageReactionAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 163, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_ADD\"" + }, + { + "id": 520, + "name": "MessageReactionRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 164, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_REMOVE\"" + }, + { + "id": 521, + "name": "MessageReactionRemoveAll", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 165, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_REMOVE_ALL\"" + }, + { + "id": 522, + "name": "MessageReactionRemoveEmoji", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 166, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_REMOVE_EMOJI\"" + }, + { + "id": 516, + "name": "MessageUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 160, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_UPDATE\"" + }, + { + "id": 523, + "name": "PresenceUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 167, + "character": 1 + } + ], + "defaultValue": "\"PRESENCE_UPDATE\"" + }, + { + "id": 493, + "name": "Ready", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 137, + "character": 1 + } + ], + "defaultValue": "\"READY\"" + }, + { + "id": 494, + "name": "Resumed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 138, + "character": 1 + } + ], + "defaultValue": "\"RESUMED\"" + }, + { + "id": 524, + "name": "TypingStart", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 168, + "character": 1 + } + ], + "defaultValue": "\"TYPING_START\"" + }, + { + "id": 525, + "name": "UserUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 169, + "character": 1 + } + ], + "defaultValue": "\"USER_UPDATE\"" + }, + { + "id": 527, + "name": "VoiceServerUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 171, + "character": 1 + } + ], + "defaultValue": "\"VOICE_SERVER_UPDATE\"" + }, + { + "id": 526, + "name": "VoiceStateUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 170, + "character": 1 + } + ], + "defaultValue": "\"VOICE_STATE_UPDATE\"" + }, + { + "id": 528, + "name": "WebhooksUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 172, + "character": 1 + } + ], + "defaultValue": "\"WEBHOOKS_UPDATE\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 495, + 497, + 498, + 496, + 502, + 503, + 499, + 501, + 504, + 505, + 506, + 507, + 508, + 509, + 510, + 512, + 511, + 500, + 513, + 514, + 515, + 517, + 518, + 519, + 520, + 521, + 522, + 516, + 523, + 493, + 494, + 524, + 525, + 527, + 526, + 528 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 136, + "character": 12 + } + ] + }, + { + "id": 476, + "name": "GatewayIntentBits", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#list-of-intents", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 489, + "name": "DIRECT_MESSAGES", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 127, + "character": 1 + } + ], + "defaultValue": "4096" + }, + { + "id": 490, + "name": "DIRECT_MESSAGE_REACTIONS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 128, + "character": 1 + } + ], + "defaultValue": "8192" + }, + { + "id": 491, + "name": "DIRECT_MESSAGE_TYPING", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 129, + "character": 1 + } + ], + "defaultValue": "16384" + }, + { + "id": 477, + "name": "GUILDS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 115, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 479, + "name": "GUILD_BANS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 117, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 480, + "name": "GUILD_EMOJIS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 118, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 481, + "name": "GUILD_INTEGRATIONS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 119, + "character": 1 + } + ], + "defaultValue": "16" + }, + { + "id": 483, + "name": "GUILD_INVITES", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 121, + "character": 1 + } + ], + "defaultValue": "64" + }, + { + "id": 478, + "name": "GUILD_MEMBERS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 116, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 486, + "name": "GUILD_MESSAGES", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 124, + "character": 1 + } + ], + "defaultValue": "512" + }, + { + "id": 487, + "name": "GUILD_MESSAGE_REACTIONS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 125, + "character": 1 + } + ], + "defaultValue": "1024" + }, + { + "id": 488, + "name": "GUILD_MESSAGE_TYPING", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 126, + "character": 1 + } + ], + "defaultValue": "2048" + }, + { + "id": 485, + "name": "GUILD_PRESENCES", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 123, + "character": 1 + } + ], + "defaultValue": "256" + }, + { + "id": 484, + "name": "GUILD_VOICE_STATES", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 122, + "character": 1 + } + ], + "defaultValue": "128" + }, + { + "id": 482, + "name": "GUILD_WEBHOOKS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 120, + "character": 1 + } + ], + "defaultValue": "32" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 489, + 490, + 491, + 477, + 479, + 480, + 481, + 483, + 478, + 486, + 487, + 488, + 485, + 484, + 482 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 114, + "character": 12 + } + ] + }, + { + "id": 425, + "name": "GatewayOPCodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 426, + "name": "Dispatch", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 33, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 427, + "name": "Heartbeat", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 34, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 436, + "name": "HeartbeatAck", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 44, + "character": 1 + } + ], + "defaultValue": "11" + }, + { + "id": 435, + "name": "Hello", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 43, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 428, + "name": "Identify", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 35, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 434, + "name": "InvalidSession", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 42, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 429, + "name": "PresenceUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 36, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 432, + "name": "Reconnect", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 40, + "character": 1 + } + ], + "defaultValue": "7" + }, + { + "id": 433, + "name": "RequestGuildMembers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 41, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 431, + "name": "Resume", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 39, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 430, + "name": "VoiceStateUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 37, + "character": 1 + } + ], + "defaultValue": "4" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 426, + 427, + 436, + 435, + 428, + 434, + 429, + 432, + 433, + 431, + 430 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 32, + "character": 12 + } + ] + }, + { + "id": 1172, + "name": "GuildDefaultMessageNotifications", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1173, + "name": "ALL_MESSAGES", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 105, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 1174, + "name": "ONLY_MENTIONS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 106, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1173, + 1174 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 104, + "character": 12 + } + ] + }, + { + "id": 1175, + "name": "GuildExplicitContentFilter", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1178, + "name": "ALL_MEMBERS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 116, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 1176, + "name": "DISABLED", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 114, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 1177, + "name": "MEMBERS_WITHOUT_ROLES", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 115, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1178, + 1176, + 1177 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 113, + "character": 12 + } + ] + }, + { + "id": 1196, + "name": "GuildFeature", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-guild-features", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1197, + "name": "ANIMATED_ICON", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 165, + "character": 1 + } + ], + "defaultValue": "\"ANIMATED_ICON\"" + }, + { + "id": 1198, + "name": "BANNER", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 166, + "character": 1 + } + ], + "defaultValue": "\"BANNER\"" + }, + { + "id": 1199, + "name": "COMMERCE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 167, + "character": 1 + } + ], + "defaultValue": "\"COMMERCE\"" + }, + { + "id": 1200, + "name": "COMMUNITY", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 168, + "character": 1 + } + ], + "defaultValue": "\"COMMUNITY\"" + }, + { + "id": 1201, + "name": "DISCOVERABLE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 169, + "character": 1 + } + ], + "defaultValue": "\"DISCOVERABLE\"" + }, + { + "id": 1202, + "name": "FEATURABLE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 170, + "character": 1 + } + ], + "defaultValue": "\"FEATURABLE\"" + }, + { + "id": 1203, + "name": "INVITE_SPLASH", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 171, + "character": 1 + } + ], + "defaultValue": "\"INVITE_SPLASH\"" + }, + { + "id": 1204, + "name": "NEWS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 172, + "character": 1 + } + ], + "defaultValue": "\"NEWS\"" + }, + { + "id": 1205, + "name": "PARTNERED", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 173, + "character": 1 + } + ], + "defaultValue": "\"PARTNERED\"" + }, + { + "id": 1206, + "name": "RELAY_ENABLED", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 174, + "character": 1 + } + ], + "defaultValue": "\"RELAY_ENABLED\"" + }, + { + "id": 1207, + "name": "VANITY_URL", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 175, + "character": 1 + } + ], + "defaultValue": "\"VANITY_URL\"" + }, + { + "id": 1208, + "name": "VERIFIED", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 176, + "character": 1 + } + ], + "defaultValue": "\"VERIFIED\"" + }, + { + "id": 1209, + "name": "VIP_REGIONS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 177, + "character": 1 + } + ], + "defaultValue": "\"VIP_REGIONS\"" + }, + { + "id": 1210, + "name": "WELCOME_SCREEN_ENABLED", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 178, + "character": 1 + } + ], + "defaultValue": "\"WELCOME_SCREEN_ENABLED\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1197, + 1198, + 1199, + 1200, + 1201, + 1202, + 1203, + 1204, + 1205, + 1206, + 1207, + 1208, + 1209, + 1210 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 164, + "character": 12 + } + ] + }, + { + "id": 1179, + "name": "GuildMFALevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-mfa-level", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1181, + "name": "ELEVATED", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 125, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 1180, + "name": "NONE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 124, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1181, + 1180 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 123, + "character": 12 + } + ] + }, + { + "id": 1188, + "name": "GuildPremiumTier", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-premium-tier", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1189, + "name": "NONE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 145, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 1190, + "name": "TIER_1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 146, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 1191, + "name": "TIER_2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 147, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 1192, + "name": "TIER_3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 148, + "character": 1 + } + ], + "defaultValue": "3" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1189, + 1190, + 1191, + 1192 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 144, + "character": 12 + } + ] + }, + { + "id": 1193, + "name": "GuildSystemChannelFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1194, + "name": "SUPPRESS_JOIN_NOTIFICATIONS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 156, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 1195, + "name": "SUPPRESS_PREMIUM_SUBSCRIPTIONS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 157, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1194, + 1195 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 155, + "character": 12 + } + ] + }, + { + "id": 1182, + "name": "GuildVerificationLevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-verification-level", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1186, + "name": "HIGH", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 136, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 1184, + "name": "LOW", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 134, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 1185, + "name": "MEDIUM", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 135, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 1183, + "name": "NONE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 133, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 1187, + "name": "VERY_HIGH", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 137, + "character": 1 + } + ], + "defaultValue": "4" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1186, + 1184, + 1185, + 1183, + 1187 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 132, + "character": 12 + } + ] + }, + { + "id": 1265, + "name": "GuildWidgetStyle", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-image-widget-style-options", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1266, + "name": "Banner1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 293, + "character": 1 + } + ], + "defaultValue": "\"banner1\"" + }, + { + "id": 1267, + "name": "Banner2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 294, + "character": 1 + } + ], + "defaultValue": "\"banner2\"" + }, + { + "id": 1268, + "name": "Banner3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 295, + "character": 1 + } + ], + "defaultValue": "\"banner3\"" + }, + { + "id": 1269, + "name": "Banner4", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 296, + "character": 1 + } + ], + "defaultValue": "\"banner4\"" + }, + { + "id": 1270, + "name": "Shield", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 297, + "character": 1 + } + ], + "defaultValue": "\"shield\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1266, + 1267, + 1268, + 1269, + 1270 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 292, + "character": 12 + } + ] + }, + { + "id": 1249, + "name": "IntegrationExpireBehavior", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1251, + "name": "Kick", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 254, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 1250, + "name": "RemoveRole", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 253, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1251, + 1250 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 252, + "character": 12 + } + ] + }, + { + "id": 1287, + "name": "InviteTargetUserType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-object-target-user-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1288, + "name": "STREAM", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 29, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1288 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 28, + "character": 12 + } + ] + }, + { + "id": 937, + "name": "MessageActivityType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-activity-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 938, + "name": "JOIN", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 148, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 941, + "name": "JOIN_REQUEST", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 151, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 940, + "name": "LISTEN", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 150, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 939, + "name": "SPECTATE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 149, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 938, + 941, + 940, + 939 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 147, + "character": 12 + } + ] + }, + { + "id": 942, + "name": "MessageFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-flags", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 943, + "name": "CROSSPOSTED", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 159, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 944, + "name": "IS_CROSSPOST", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 160, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 946, + "name": "SOURCE_MESSAGE_DELETED", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 162, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 945, + "name": "SUPPRESS_EMBEDS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 161, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 947, + "name": "URGENT", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 163, + "character": 1 + } + ], + "defaultValue": "16" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 943, + 944, + 946, + 945, + 947 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 158, + "character": 12 + } + ] + }, + { + "id": 906, + "name": "MessageType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 910, + "name": "CALL", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 96, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 919, + "name": "CHANNEL_FOLLOW_ADD", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 105, + "character": 1 + } + ], + "defaultValue": "12" + }, + { + "id": 912, + "name": "CHANNEL_ICON_CHANGE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 98, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 911, + "name": "CHANNEL_NAME_CHANGE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 97, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 913, + "name": "CHANNEL_PINNED_MESSAGE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 99, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 907, + "name": "DEFAULT", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 93, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 920, + "name": "GUILD_DISCOVERY_DISQUALIFIED", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 106, + "character": 1 + } + ], + "defaultValue": "14" + }, + { + "id": 923, + "name": "GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 109, + "character": 1 + } + ], + "defaultValue": "17" + }, + { + "id": 922, + "name": "GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 108, + "character": 1 + } + ], + "defaultValue": "16" + }, + { + "id": 921, + "name": "GUILD_DISCOVERY_REQUALIFIED", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 107, + "character": 1 + } + ], + "defaultValue": "15" + }, + { + "id": 914, + "name": "GUILD_MEMBER_JOIN", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 100, + "character": 1 + } + ], + "defaultValue": "7" + }, + { + "id": 908, + "name": "RECIPIENT_ADD", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 94, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 909, + "name": "RECIPIENT_REMOVE", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 95, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 915, + "name": "USER_PREMIUM_GUILD_SUBSCRIPTION", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 101, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 916, + "name": "USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 102, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 917, + "name": "USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 103, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 918, + "name": "USER_PREMIUM_GUILD_SUBSCRIPTION_TIER_3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 104, + "character": 1 + } + ], + "defaultValue": "11" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 910, + 919, + 912, + 911, + 913, + 907, + 920, + 923, + 922, + 921, + 914, + 908, + 909, + 915, + 916, + 917, + 918 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 92, + "character": 12 + } + ] + }, + { + "id": 959, + "name": "OverwriteType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 960, + "name": "Member", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 199, + "character": 1 + } + ], + "defaultValue": "\"member\"" + }, + { + "id": 961, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 200, + "character": 1 + } + ], + "defaultValue": "\"role\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 960, + 961 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 198, + "character": 12 + } + ] + }, + { + "id": 1064, + "name": "PresenceUpdateStatus", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1065, + "name": "DoNotDisturb", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 57, + "character": 1 + } + ], + "defaultValue": "\"dnd\"" + }, + { + "id": 1066, + "name": "Idle", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 58, + "character": 1 + } + ], + "defaultValue": "\"idle\"" + }, + { + "id": 1067, + "name": "Invisible", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 59, + "character": 1 + } + ], + "defaultValue": "\"invisible\"" + }, + { + "id": 1068, + "name": "Offline", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 60, + "character": 1 + } + ], + "defaultValue": "\"offline\"" + }, + { + "id": 1069, + "name": "Online", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 61, + "character": 1 + } + ], + "defaultValue": "\"online\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1065, + 1066, + 1067, + 1068, + 1069 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 56, + "character": 12 + } + ] + }, + { + "id": 1377, + "name": "TeamMemberMembershipState", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/teams#data-models-membership-state-enum", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1379, + "name": "ACCEPTED", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/teams.ts", + "line": 35, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 1378, + "name": "INVITED", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/teams.ts", + "line": 34, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1379, + 1378 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/teams.ts", + "line": 33, + "character": 12 + } + ] + }, + { + "id": 1394, + "name": "UserFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#user-object-user-flags", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1399, + "name": "BugHunterLevel1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 36, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 1406, + "name": "BugHunterLevel2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 43, + "character": 1 + } + ], + "defaultValue": "16384" + }, + { + "id": 1396, + "name": "DiscordEmployee", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 33, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 1398, + "name": "DiscordHypeSquadEvents", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 35, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 1403, + "name": "EarlySupporter", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 40, + "character": 1 + } + ], + "defaultValue": "512" + }, + { + "id": 1408, + "name": "EarlyVerifiedBotDeveloper", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 45, + "character": 1 + } + ], + "defaultValue": "131072" + }, + { + "id": 1402, + "name": "HypeSquadHouseBalance", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 39, + "character": 1 + } + ], + "defaultValue": "256" + }, + { + "id": 1400, + "name": "HypeSquadHouseBravery", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 37, + "character": 1 + } + ], + "defaultValue": "64" + }, + { + "id": 1401, + "name": "HypeSquadHouseBrilliance", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 38, + "character": 1 + } + ], + "defaultValue": "128" + }, + { + "id": 1395, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 32, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 1397, + "name": "PartneredServerOwner", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 34, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 1405, + "name": "System", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 42, + "character": 1 + } + ], + "defaultValue": "4096" + }, + { + "id": 1404, + "name": "TeamUser", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 41, + "character": 1 + } + ], + "defaultValue": "1024" + }, + { + "id": 1407, + "name": "VerifiedBot", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 44, + "character": 1 + } + ], + "defaultValue": "65536" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1399, + 1406, + 1396, + 1398, + 1403, + 1408, + 1402, + 1400, + 1401, + 1395, + 1397, + 1405, + 1404, + 1407 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 31, + "character": 12 + } + ] + }, + { + "id": 1409, + "name": "UserPremiumType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#user-object-premium-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1412, + "name": "Nitro", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 55, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 1411, + "name": "NitroClassic", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 54, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 1410, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 53, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1412, + 1411, + 1410 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 52, + "character": 12 + } + ] + }, + { + "id": 464, + "name": "VoiceCloseCodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#voice-voice-close-event-codes", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 468, + "name": "AlreadyAuthenticated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 97, + "character": 1 + } + ], + "defaultValue": "4005" + }, + { + "id": 467, + "name": "AuthenticationFailed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 96, + "character": 1 + } + ], + "defaultValue": "4004" + }, + { + "id": 473, + "name": "Disconnected", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 105, + "character": 1 + } + ], + "defaultValue": "4014" + }, + { + "id": 466, + "name": "NotAuthenticated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 95, + "character": 1 + } + ], + "defaultValue": "4003" + }, + { + "id": 471, + "name": "ServerNotFound", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 102, + "character": 1 + } + ], + "defaultValue": "4011" + }, + { + "id": 469, + "name": "SessionNoLongerValid", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 98, + "character": 1 + } + ], + "defaultValue": "4006" + }, + { + "id": 470, + "name": "SessionTimeout", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 100, + "character": 1 + } + ], + "defaultValue": "4009" + }, + { + "id": 475, + "name": "UnknownEncryptionMode", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 107, + "character": 1 + } + ], + "defaultValue": "4016" + }, + { + "id": 465, + "name": "UnknownOpCode", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 93, + "character": 1 + } + ], + "defaultValue": "4001" + }, + { + "id": 472, + "name": "UnknownProtocol", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 103, + "character": 1 + } + ], + "defaultValue": "4012" + }, + { + "id": 474, + "name": "VoiceServerCrashed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 106, + "character": 1 + } + ], + "defaultValue": "4015" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 468, + 467, + 473, + 466, + 471, + 469, + 470, + 475, + 465, + 472, + 474 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 92, + "character": 12 + } + ] + }, + { + "id": 452, + "name": "VoiceOPCodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#voice-voice-opcodes", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 463, + "name": "ClientDisconnect", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 85, + "character": 1 + } + ], + "defaultValue": "13" + }, + { + "id": 456, + "name": "Heartbeat", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 77, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 459, + "name": "HeartbeatAck", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 80, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 461, + "name": "Hello", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 82, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 453, + "name": "Identify", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 74, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 455, + "name": "Ready", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 76, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 460, + "name": "Resume", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 81, + "character": 1 + } + ], + "defaultValue": "7" + }, + { + "id": 462, + "name": "Resumed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 83, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 454, + "name": "SelectProtocol", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 75, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 457, + "name": "SessionDescription", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 78, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 458, + "name": "Speaking", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 79, + "character": 1 + } + ], + "defaultValue": "5" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 463, + 456, + 459, + 461, + 453, + 455, + 460, + 462, + 454, + 457, + 458 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 73, + "character": 12 + } + ] + }, + { + "id": 1458, + "name": "WebhookType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1460, + "name": "ChannelFollower", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 32, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 1459, + "name": "Incoming", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 31, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 1460, + 1459 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 30, + "character": 12 + } + ] + }, + { + "id": 1666, + "name": "APIAllowedMentionsSend", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mentions-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1667, + "name": "parse", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1662, + "name": "AllowedMentionsTypes" + } + } + }, + { + "id": 1668, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1669, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1667, + 1668, + 1669 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 43, + "character": 17 + } + ] + }, + { + "id": 1303, + "name": "APIApplication", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#get-current-application-information-response-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1309, + "name": "bot_public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1310, + "name": "bot_require_code_grant", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1318, + "name": "cover_image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1307, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1315, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1306, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1304, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1305, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1311, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + }, + { + "id": 1316, + "name": "primary_sku_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1308, + "name": "rpc_origins", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1317, + "name": "slug", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1312, + "name": "summary", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1314, + "name": "team", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 1367, + "name": "APITeam" + } + ] + } + }, + { + "id": 1313, + "name": "verify_key", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1309, + 1310, + 1318, + 1307, + 1315, + 1306, + 1304, + 1305, + 1311, + 1316, + 1308, + 1317, + 1312, + 1314, + 1313 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/oauth2.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 1013, + "name": "APIAttachment", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1015, + "name": "filename", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 318, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1019, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 322, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1014, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 317, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1018, + "name": "proxy_url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 321, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1016, + "name": "size", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 319, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1017, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 320, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1020, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 323, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1015, + 1019, + 1014, + 1018, + 1016, + 1017, + 1020 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 316, + "character": 17 + } + ] + }, + { + "id": 732, + "name": "APIAuditLog", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-object-audit-log-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 735, + "name": "audit_log_entries", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 737, + "name": "APIAuditLogEntry" + } + } + }, + { + "id": 736, + "name": "integrations", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1233, + "name": "APIGuildIntegration" + } + } + }, + { + "id": 734, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + } + }, + { + "id": 733, + "name": "webhooks", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1446, + "name": "APIWebhook" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 735, + 736, + 734, + 733 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 22, + "character": 17 + } + ] + }, + { + "id": 839, + "name": "APIAuditLogChangeKeyID", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "The ID of the changed entity - sometimes used in conjunction with other keys", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 840, + "name": "key", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 510, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "id" + } + }, + { + "id": 841, + "name": "new_value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 511, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 842, + "name": "old_value", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 512, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 840, + 841, + 842 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 509, + "character": 17 + } + ] + }, + { + "id": 737, + "name": "APIAuditLogEntry", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-entry-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 742, + "name": "action_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 745, + "name": "AuditLogEvent" + } + }, + { + "id": 739, + "name": "changes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 793, + "name": "APIAuditLogChange" + } + } + }, + { + "id": 741, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 743, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 781, + "name": "APIAuditLogOptions" + } + }, + { + "id": 744, + "name": "reason", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 738, + "name": "target_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 740, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 742, + 739, + 741, + 743, + 744, + 738, + 740 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 33, + "character": 17 + } + ] + }, + { + "id": 781, + "name": "APIAuditLogOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 784, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Present from:\n- MEMBER_MOVE\n- MESSAGE_PIN\n- MESSAGE_UNPIN\n- MESSAGE_DELETE" + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 116, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 786, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Present from:\n- MESSAGE_DELETE\n- MESSAGE_BULK_DELETE\n- MEMBER_DISCONNECT\n- MEMBER_MOVE" + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 132, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 782, + "name": "delete_member_days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Present from:\n- MEMBER_PRUNE" + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 102, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 787, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Present from:\n- CHANNEL_OVERWRITE_CREATE\n- CHANNEL_OVERWRITE_UPDATE\n- CHANNEL_OVERWRITE_DELETE" + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 140, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 783, + "name": "members_removed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Present from:\n- MEMBER_PRUNE" + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 785, + "name": "message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Present from:\n- MESSAGE_PIN\n- MESSAGE_UNPIN" + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 123, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 789, + "name": "role_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Present from:\n- CHANNEL_OVERWRITE_CREATE\n- CHANNEL_OVERWRITE_UPDATE\n- CHANNEL_OVERWRITE_DELETE", + "text": "**Present only if the {@link APIAuditLogOptions#type entry type} is \"role\"**\n" + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 158, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 788, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Present from:\n- CHANNEL_OVERWRITE_CREATE\n- CHANNEL_OVERWRITE_UPDATE\n- CHANNEL_OVERWRITE_DELETE" + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 148, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 790, + "name": "AuditLogOptionsType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 784, + 786, + 782, + 787, + 783, + 785, + 789, + 788 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 97, + "character": 17 + } + ] + }, + { + "id": 1262, + "name": "APIBan", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#ban-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1263, + "name": "reason", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 284, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1264, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 285, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1263, + 1264 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 283, + "character": 17 + } + ] + }, + { + "id": 851, + "name": "APIChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-object-channel-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 865, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 859, + "name": "bitrate", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 852, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 863, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 868, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 848, + "name": "APIPartialChannel.id" + } + }, + { + "id": 858, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 867, + "name": "last_pin_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 855, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "id": 850, + "name": "APIPartialChannel.name" + } + }, + { + "id": 857, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 864, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 866, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 854, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 952, + "name": "APIOverwrite" + } + } + }, + { + "id": 853, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 861, + "name": "rate_limit_per_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 862, + "name": "recipients", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + } + }, + { + "id": 856, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 869, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 870, + "name": "ChannelType" + }, + "inheritedFrom": { + "type": "reference", + "id": 849, + "name": "APIPartialChannel.type" + } + }, + { + "id": 860, + "name": "user_limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 865, + 859, + 852, + 863, + 868, + 858, + 867, + 855, + 857, + 864, + 866, + 854, + 853, + 861, + 862, + 856, + 869, + 860 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 23, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 847, + "name": "APIPartialChannel" + } + ] + }, + { + "id": 1021, + "name": "APIChannelMention", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-mention-object-channel-mention-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1023, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 332, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1022, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 331, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1025, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 334, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1024, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 333, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 870, + "name": "ChannelType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1023, + 1022, + 1025, + 1024 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 330, + "character": 17 + } + ] + }, + { + "id": 1413, + "name": "APIConnection", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#connection-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1420, + "name": "friend_sync", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1414, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1418, + "name": "integrations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1233, + "name": "APIGuildIntegration" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + } + }, + { + "id": 1415, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1417, + "name": "revoked", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1421, + "name": "show_activity", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1416, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1419, + "name": "verified", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1422, + "name": "visibility", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1423, + "name": "ConnectionVisibility" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1420, + 1414, + 1418, + 1415, + 1417, + 1421, + 1416, + 1419, + 1422 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 62, + "character": 17 + } + ] + }, + { + "id": 962, + "name": "APIEmbed", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 974, + "name": "author", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 222, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1000, + "name": "APIEmbedAuthor" + } + }, + { + "id": 968, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 216, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 965, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 213, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 975, + "name": "fields", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 223, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1009, + "name": "APIEmbedField" + } + } + }, + { + "id": 969, + "name": "footer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 217, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1005, + "name": "APIEmbedFooter" + } + }, + { + "id": 970, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 218, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 992, + "name": "APIEmbedImage" + } + }, + { + "id": 973, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 221, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 997, + "name": "APIEmbedProvider" + } + }, + { + "id": 971, + "name": "thumbnail", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 219, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 983, + "name": "APIEmbedThumbnail" + } + }, + { + "id": 967, + "name": "timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 215, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 963, + "name": "title", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 208, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 964, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "*Embed types should be considered deprecated and might be removed in a future API version*\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 212, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 976, + "name": "EmbedType" + } + }, + { + "id": 966, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 214, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 972, + "name": "video", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 220, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 988, + "name": "APIEmbedVideo" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 974, + 968, + 965, + 975, + 969, + 970, + 973, + 971, + 967, + 963, + 964, + 966, + 972 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 207, + "character": 17 + } + ] + }, + { + "id": 1000, + "name": "APIEmbedAuthor", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1003, + "name": "icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 288, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1001, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 286, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1004, + "name": "proxy_icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 289, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1002, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 287, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1003, + 1001, + 1004, + 1002 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 285, + "character": 17 + } + ] + }, + { + "id": 1009, + "name": "APIEmbedField", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1012, + "name": "inline", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 309, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1010, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 307, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1011, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 308, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1012, + 1010, + 1011 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 306, + "character": 17 + } + ] + }, + { + "id": 1005, + "name": "APIEmbedFooter", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1007, + "name": "icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 298, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1008, + "name": "proxy_icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 299, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1006, + "name": "text", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 297, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1007, + 1008, + 1006 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 296, + "character": 17 + } + ] + }, + { + "id": 992, + "name": "APIEmbedImage", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 995, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 268, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 994, + "name": "proxy_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 267, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 993, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 266, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 996, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 269, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 995, + 994, + 993, + 996 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 265, + "character": 17 + } + ] + }, + { + "id": 997, + "name": "APIEmbedProvider", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-provider-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 998, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 277, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 999, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 278, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 998, + 999 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 276, + "character": 17 + } + ] + }, + { + "id": 983, + "name": "APIEmbedThumbnail", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 986, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 247, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 985, + "name": "proxy_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 246, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 984, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 245, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 987, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 248, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 986, + 985, + 984, + 987 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 244, + "character": 17 + } + ] + }, + { + "id": 988, + "name": "APIEmbedVideo", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-video-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 990, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 257, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 989, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 256, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 991, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 258, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 990, + 989, + 991 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 255, + "character": 17 + } + ] + }, + { + "id": 1033, + "name": "APIEmoji", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#emoji-object-emoji-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1041, + "name": "animated", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/emoji.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 1032, + "name": "APIPartialEmoji.animated" + } + }, + { + "id": 1038, + "name": "available", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/emoji.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1039, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/emoji.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1030, + "name": "APIPartialEmoji.id" + } + }, + { + "id": 1037, + "name": "managed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/emoji.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1040, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/emoji.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1031, + "name": "APIPartialEmoji.name" + } + }, + { + "id": 1036, + "name": "require_colons", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/emoji.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1034, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/emoji.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1035, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/emoji.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1041, + 1038, + 1039, + 1037, + 1040, + 1036, + 1034, + 1035 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/emoji.ts", + "line": 21, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1029, + "name": "APIPartialEmoji" + } + ] + }, + { + "id": 1289, + "name": "APIExtendedInvite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-metadata-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1302, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1286, + "name": "APIInvite.approximate_member_count" + } + }, + { + "id": 1301, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1285, + "name": "APIInvite.approximate_presence_count" + } + }, + { + "id": 1297, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 847, + "name": "APIPartialChannel" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + }, + "inheritedFrom": { + "type": "reference", + "id": 1281, + "name": "APIInvite.channel" + } + }, + { + "id": 1295, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1279, + "name": "APIInvite.code" + } + }, + { + "id": 1294, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1296, + "name": "guild", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1111, + "name": "APIPartialGuild" + }, + "inheritedFrom": { + "type": "reference", + "id": 1280, + "name": "APIInvite.guild" + } + }, + { + "id": 1298, + "name": "inviter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "id": 1282, + "name": "APIInvite.inviter" + } + }, + { + "id": 1292, + "name": "max_age", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1291, + "name": "max_uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1299, + "name": "target_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "id": 1283, + "name": "APIInvite.target_user" + } + }, + { + "id": 1300, + "name": "target_user_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1288, + "name": "STREAM" + }, + "inheritedFrom": { + "type": "reference", + "id": 1284, + "name": "APIInvite.target_user_type" + } + }, + { + "id": 1293, + "name": "temporary", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1290, + "name": "uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1302, + 1301, + 1297, + 1295, + 1294, + 1296, + 1298, + 1292, + 1291, + 1299, + 1300, + 1293, + 1290 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 36, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1278, + "name": "APIInvite" + } + ] + }, + { + "id": 1026, + "name": "APIFollowedChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1027, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 341, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1028, + "name": "webhook_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 342, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1027, + 1028 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 340, + "character": 17 + } + ] + }, + { + "id": 1044, + "name": "APIGatewayBotInfo", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway-bot", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1046, + "name": "session_start_limit", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1048, + "name": "APIGatewaySessionStartLimit" + } + }, + { + "id": 1045, + "name": "shards", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1047, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1043, + "name": "APIGatewayInfo.url" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1046, + 1045, + 1047 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 20, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1042, + "name": "APIGatewayInfo" + } + ] + }, + { + "id": 1042, + "name": "APIGatewayInfo", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1043, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1043 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 12, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 1044, + "name": "APIGatewayBotInfo" + } + ] + }, + { + "id": 1048, + "name": "APIGatewaySessionStartLimit", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#session-start-limit-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1050, + "name": "remaining", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1051, + "name": "reset_after", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1049, + "name": "total", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1050, + 1051, + 1049 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 29, + "character": 17 + } + ] + }, + { + "id": 1123, + "name": "APIGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1130, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1131, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1141, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1164, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Returned by calling GET `/guilds/{guild.id}` with the query `with_counts` set to `true`" + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1165, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Returned by calling GET `/guilds/{guild.id}` with the query `with_counts` set to `true`" + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 96, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1158, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "id": 1115, + "name": "APIPartialGuild.banner" + } + }, + { + "id": 1152, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 851, + "name": "APIChannel" + } + } + }, + { + "id": 1135, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1172, + "name": "GuildDefaultMessageNotifications" + } + }, + { + "id": 1157, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 82, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "id": 1116, + "name": "APIPartialGuild.description" + } + }, + { + "id": 1124, + "name": "discovery_splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1133, + "name": "embed_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Use `widget_channel_id` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1132, + "name": "embed_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Use `widget_enabled` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 54, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1138, + "name": "emojis", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1033, + "name": "APIEmoji" + } + } + }, + { + "id": 1136, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1175, + "name": "GuildExplicitContentFilter" + } + }, + { + "id": 1139, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1196, + "name": "GuildFeature" + } + }, + "overwrites": { + "type": "reference", + "id": 1117, + "name": "APIPartialGuild.features" + } + }, + { + "id": 1168, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1113, + "name": "APIPartialGuild.icon" + } + }, + { + "id": 1171, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1121, + "name": "APIPartialGuild.id" + } + }, + { + "id": 1147, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1148, + "name": "large", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 73, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1155, + "name": "max_members", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1154, + "name": "max_presences", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1163, + "name": "max_video_channel_users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1149, + "name": "member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1151, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1225, + "name": "APIGuildMember" + } + } + }, + { + "id": 1140, + "name": "mfa_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1179, + "name": "GuildMFALevel" + } + }, + { + "id": 1167, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1112, + "name": "APIPartialGuild.name" + } + }, + { + "id": 1125, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1126, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1127, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Use `permissions_new` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1128, + "name": "permissions_new", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1161, + "name": "preferred_locale", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 86, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1160, + "name": "premium_subscription_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1159, + "name": "premium_tier", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 84, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1188, + "name": "GuildPremiumTier" + } + }, + { + "id": 1153, + "name": "presences", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 78, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1052, + "name": "GatewayPresenceUpdate" + } + } + }, + { + "id": 1162, + "name": "public_updates_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1129, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1137, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1352, + "name": "APIRole" + } + } + }, + { + "id": 1146, + "name": "rules_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1169, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1114, + "name": "APIPartialGuild.splash" + } + }, + { + "id": 1145, + "name": "system_channel_flags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1193, + "name": "GuildSystemChannelFlags" + } + }, + { + "id": 1144, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1170, + "name": "unavailable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 1120, + "name": "APIPartialGuild.unavailable" + } + }, + { + "id": 1156, + "name": "vanity_url_code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "id": 1119, + "name": "APIPartialGuild.vanity_url_code" + } + }, + { + "id": 1134, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1182, + "name": "GuildVerificationLevel" + }, + "overwrites": { + "type": "reference", + "id": 1118, + "name": "APIPartialGuild.verification_level" + } + }, + { + "id": 1150, + "name": "voice_states", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1426, + "name": "GatewayVoiceState" + }, + { + "type": "literal", + "value": "guild_id" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + } + }, + { + "id": 1166, + "name": "welcome_screen", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 97, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1271, + "name": "APIGuildWelcomeScreen" + }, + "overwrites": { + "type": "reference", + "id": 1122, + "name": "APIPartialGuild.welcome_screen" + } + }, + { + "id": 1143, + "name": "widget_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1142, + "name": "widget_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1130, + 1131, + 1141, + 1164, + 1165, + 1158, + 1152, + 1135, + 1157, + 1124, + 1133, + 1132, + 1138, + 1136, + 1139, + 1168, + 1171, + 1147, + 1148, + 1155, + 1154, + 1163, + 1149, + 1151, + 1140, + 1167, + 1125, + 1126, + 1127, + 1128, + 1161, + 1160, + 1159, + 1153, + 1162, + 1129, + 1137, + 1146, + 1169, + 1145, + 1144, + 1170, + 1156, + 1134, + 1150, + 1166, + 1143, + 1142 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 39, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1111, + "name": "APIPartialGuild" + } + ] + }, + { + "id": 1769, + "name": "APIGuildCreateOverwrite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1771, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 218, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1729, + "name": "RESTPutAPIChannelPermissionsJSONBody.allow" + } + }, + { + "id": 1772, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 219, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1730, + "name": "RESTPutAPIChannelPermissionsJSONBody.deny" + } + }, + { + "id": 1770, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1773, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 220, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 959, + "name": "OverwriteType" + }, + "inheritedFrom": { + "type": "reference", + "id": 1731, + "name": "RESTPutAPIChannelPermissionsJSONBody.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1771, + 1772, + 1770, + 1773 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 24, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1728, + "name": "RESTPutAPIChannelPermissionsJSONBody" + } + ] + }, + { + "id": 1780, + "name": "APIGuildCreateRole", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1784, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 307, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1875, + "name": "RESTPostAPIGuildRoleJSONBody.color" + } + }, + { + "id": 1785, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 308, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1876, + "name": "RESTPostAPIGuildRoleJSONBody.hoist" + } + }, + { + "id": 1781, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1786, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 309, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1877, + "name": "RESTPostAPIGuildRoleJSONBody.mentionable" + } + }, + { + "id": 1782, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 305, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1873, + "name": "RESTPostAPIGuildRoleJSONBody.name" + } + }, + { + "id": 1783, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 306, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1874, + "name": "RESTPostAPIGuildRoleJSONBody.permissions" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1784, + 1785, + 1781, + 1786, + 1782, + 1783 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 43, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1872, + "name": "RESTPostAPIGuildRoleJSONBody" + } + ] + }, + { + "id": 1233, + "name": "APIGuildIntegration", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1244, + "name": "account", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 241, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1252, + "name": "APIIntegrationAccount" + } + }, + { + "id": 1248, + "name": "application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 245, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1255, + "name": "APIGuildIntegrationApplication" + } + }, + { + "id": 1240, + "name": "enable_emoticons", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 237, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1237, + "name": "enabled", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 234, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1241, + "name": "expire_behavior", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 238, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1249, + "name": "IntegrationExpireBehavior" + } + }, + { + "id": 1242, + "name": "expire_grace_period", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 239, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1234, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 231, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1235, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 232, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1247, + "name": "revoked", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 244, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1239, + "name": "role_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 236, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1246, + "name": "subscriber_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 243, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1245, + "name": "synced_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 242, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1238, + "name": "syncing", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 235, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1236, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 233, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1243, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 240, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1244, + 1248, + 1240, + 1237, + 1241, + 1242, + 1234, + 1235, + 1247, + 1239, + 1246, + 1245, + 1238, + 1236, + 1243 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 230, + "character": 17 + } + ] + }, + { + "id": 1255, + "name": "APIGuildIntegrationApplication", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-application-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1261, + "name": "bot", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 276, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + }, + { + "id": 1259, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 274, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1258, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 273, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1256, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 271, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1257, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 272, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1260, + "name": "summary", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 275, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1261, + 1259, + 1258, + 1256, + 1257, + 1260 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 270, + "character": 17 + } + ] + }, + { + "id": 1225, + "name": "APIGuildMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-member-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1231, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 222, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1229, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 220, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1232, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 223, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1227, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 218, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1230, + "name": "premium_since", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 221, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1228, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 219, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1226, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 217, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1231, + 1229, + 1232, + 1227, + 1230, + 1228, + 1226 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 216, + "character": 17 + } + ] + }, + { + "id": 1211, + "name": "APIGuildPreview", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-preview-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1219, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 193, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1220, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 194, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1216, + "name": "discovery_splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 190, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1217, + "name": "emojis", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 191, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1033, + "name": "APIEmoji" + } + } + }, + { + "id": 1218, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 192, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1196, + "name": "GuildFeature" + } + } + }, + { + "id": 1214, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 188, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1212, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 186, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1213, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 187, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1215, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 189, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1219, + 1220, + 1216, + 1217, + 1218, + 1214, + 1212, + 1213, + 1215 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 185, + "character": 17 + } + ] + }, + { + "id": 1271, + "name": "APIGuildWelcomeScreen", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1272, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 304, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1273, + "name": "welcome_channels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 305, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1274, + "name": "APIGuildWelcomeScreenChannel" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1272, + 1273 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 303, + "character": 17 + } + ] + }, + { + "id": 1274, + "name": "APIGuildWelcomeScreenChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1275, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 312, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1276, + "name": "emoji_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 313, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1277, + "name": "emoji_name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 314, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1275, + 1276, + 1277 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 311, + "character": 17 + } + ] + }, + { + "id": 1222, + "name": "APIGuildWidgetSettings", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-widget-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1224, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 209, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1223, + "name": "enabled", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 208, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1224, + 1223 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 207, + "character": 17 + } + ] + }, + { + "id": 1252, + "name": "APIIntegrationAccount", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-account-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1253, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 262, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1254, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 263, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1253, + 1254 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 261, + "character": 17 + } + ] + }, + { + "id": 1278, + "name": "APIInvite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1286, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1285, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1281, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 847, + "name": "APIPartialChannel" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + }, + { + "id": 1279, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1280, + "name": "guild", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1111, + "name": "APIPartialGuild" + } + }, + { + "id": 1282, + "name": "inviter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + }, + { + "id": 1283, + "name": "target_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + }, + { + "id": 1284, + "name": "target_user_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1288, + "name": "STREAM" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1286, + 1285, + 1281, + 1279, + 1280, + 1282, + 1283, + 1284 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/invite.ts", + "line": 13, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 1289, + "name": "APIExtendedInvite" + } + ] + }, + { + "id": 878, + "name": "APIMessage", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 901, + "name": "activity", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 924, + "name": "APIMessageActivity" + } + }, + { + "id": 902, + "name": "application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 82, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 927, + "name": "APIMessageApplication" + } + }, + { + "id": 894, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1013, + "name": "APIAttachment" + } + } + }, + { + "id": 882, + "name": "author", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + }, + { + "id": 880, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 884, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 886, + "name": "edited_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 895, + "name": "embeds", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 962, + "name": "APIEmbed" + } + } + }, + { + "id": 904, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 84, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 942, + "name": "MessageFlags" + } + }, + { + "id": 881, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 879, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 883, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1225, + "name": "APIGuildMember" + } + }, + { + "id": 893, + "name": "mention_channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 73, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1021, + "name": "APIChannelMention" + } + } + }, + { + "id": 888, + "name": "mention_everyone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 892, + "name": "mention_roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 889, + "name": "mentions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 1380, + "name": "APIUser" + }, + { + "type": "reflection", + "declaration": { + "id": 890, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 891, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 71, + "character": 24 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1225, + "name": "APIGuildMember" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 891 + ] + } + ] + } + } + ] + } + } + }, + { + "id": 903, + "name": "message_reference", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 933, + "name": "APIMessageReference" + } + }, + { + "id": 897, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 898, + "name": "pinned", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 78, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 896, + "name": "reactions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 948, + "name": "APIReaction" + } + } + }, + { + "id": 905, + "name": "referenced_message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 878, + "name": "APIMessage" + } + ] + } + }, + { + "id": 885, + "name": "timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 887, + "name": "tts", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 900, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 906, + "name": "MessageType" + } + }, + { + "id": 899, + "name": "webhook_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 901, + 902, + 894, + 882, + 880, + 884, + 886, + 895, + 904, + 881, + 879, + 883, + 893, + 888, + 892, + 889, + 903, + 897, + 898, + 896, + 905, + 885, + 887, + 900, + 899 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 60, + "character": 17 + } + ] + }, + { + "id": 924, + "name": "APIMessageActivity", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-activity-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 926, + "name": "party_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 118, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 925, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 117, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 937, + "name": "MessageActivityType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 926, + 925 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 116, + "character": 17 + } + ] + }, + { + "id": 927, + "name": "APIMessageApplication", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-application-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 929, + "name": "cover_image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 127, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 930, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 128, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 931, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 129, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 928, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 126, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 932, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 130, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 929, + 930, + 931, + 928, + 932 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 125, + "character": 17 + } + ] + }, + { + "id": 933, + "name": "APIMessageReference", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-reference-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 935, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 139, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 936, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 140, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 934, + "name": "message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 138, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 935, + 936, + 934 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 137, + "character": 17 + } + ] + }, + { + "id": 952, + "name": "APIOverwrite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#overwrite-object-overwrite-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 955, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Use `allow_new` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 186, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 956, + "name": "allow_new", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 187, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 957, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Use `deny_new` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 191, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 958, + "name": "deny_new", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 192, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 953, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 181, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 954, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 182, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 959, + "name": "OverwriteType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 955, + 956, + 957, + 958, + 953, + 954 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 180, + "character": 17 + } + ] + }, + { + "id": 1657, + "name": "APIOverwriteSend", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#overwrite-object-overwrite-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1660, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1661, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1658, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1659, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 959, + "name": "OverwriteType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1660, + 1661, + 1658, + 1659 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 22, + "character": 17 + } + ] + }, + { + "id": 847, + "name": "APIPartialChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "Not documented, but partial only includes id, name, and type", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 848, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 850, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 849, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 870, + "name": "ChannelType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 848, + 850, + 849 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 13, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 851, + "name": "APIChannel" + } + ] + }, + { + "id": 1029, + "name": "APIPartialEmoji", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "Not documented but mentioned", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1032, + "name": "animated", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/emoji.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1030, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/emoji.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1031, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/emoji.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1032, + 1030, + 1031 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/emoji.ts", + "line": 11, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 1033, + "name": "APIEmoji" + } + ] + }, + { + "id": 1111, + "name": "APIPartialGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1115, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1116, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1117, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1196, + "name": "GuildFeature" + } + } + }, + { + "id": 1113, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1121, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.id" + } + }, + { + "id": 1112, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1114, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1120, + "name": "unavailable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1119, + "name": "vanity_url_code", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1118, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1182, + "name": "GuildVerificationLevel" + } + }, + { + "id": 1122, + "name": "welcome_screen", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 97, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1271, + "name": "APIGuildWelcomeScreen" + }, + "inheritedFrom": { + "type": "reference", + "name": "Pick.welcome_screen" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1115, + 1116, + 1117, + 1113, + 1121, + 1112, + 1114, + 1120, + 1119, + 1118, + 1122 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 24, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1108, + "name": "APIUnavailableGuild" + }, + { + "type": "literal", + "value": "unavailable" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1123, + "name": "APIGuild" + }, + { + "type": "literal", + "value": "welcome_screen" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 1123, + "name": "APIGuild" + } + ] + }, + { + "id": 948, + "name": "APIReaction", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#reaction-object-reaction-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 949, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 171, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 951, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 173, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1029, + "name": "APIPartialEmoji" + } + }, + { + "id": 950, + "name": "me", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 172, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 949, + 951, + 950 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/channel.ts", + "line": 170, + "character": 17 + } + ] + }, + { + "id": 1352, + "name": "APIRole", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/permissions#role-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1355, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1356, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1353, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1360, + "name": "managed", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1361, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1354, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1358, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Use `permissions_new` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1359, + "name": "permissions_new", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1357, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1362, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1363, + "name": "APIRoleTags" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1355, + 1356, + 1353, + 1360, + 1361, + 1354, + 1358, + 1359, + 1357, + 1362 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 58, + "character": 17 + } + ] + }, + { + "id": 1363, + "name": "APIRoleTags", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1364, + "name": "bot_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 78, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1366, + "name": "integration_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1365, + "name": "premium_subscriber", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1364, + 1366, + 1365 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 77, + "character": 17 + } + ] + }, + { + "id": 1367, + "name": "APITeam", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/teams#data-models-team-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1369, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/teams.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1368, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/teams.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1370, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/teams.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1372, + "name": "APITeamMember" + } + } + }, + { + "id": 1371, + "name": "owner_user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/teams.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1369, + 1368, + 1370, + 1371 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/teams.ts", + "line": 11, + "character": 17 + } + ] + }, + { + "id": 1372, + "name": "APITeamMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/teams#data-models-team-members-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1373, + "name": "membership_state", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/teams.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1377, + "name": "TeamMemberMembershipState" + } + }, + { + "id": 1374, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/teams.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1375, + "name": "team_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/teams.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1376, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/teams.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1373, + 1374, + 1375, + 1376 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/teams.ts", + "line": 22, + "character": 17 + } + ] + }, + { + "id": 1108, + "name": "APIUnavailableGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#unavailable-guild-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1109, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1110, + "name": "unavailable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1109, + 1110 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 16, + "character": 17 + } + ] + }, + { + "id": 1380, + "name": "APIUser", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#user-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1384, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1385, + "name": "bot", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1383, + "name": "discriminator", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1390, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1391, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1394, + "name": "UserFlags" + } + }, + { + "id": 1381, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1388, + "name": "locale", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1387, + "name": "mfa_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1392, + "name": "premium_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1409, + "name": "UserPremiumType" + } + }, + { + "id": 1393, + "name": "public_flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1394, + "name": "UserFlags" + } + }, + { + "id": 1386, + "name": "system", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1382, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1389, + "name": "verified", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1384, + 1385, + 1383, + 1390, + 1391, + 1381, + 1388, + 1387, + 1392, + 1393, + 1386, + 1382, + 1389 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/user.ts", + "line": 11, + "character": 17 + } + ] + }, + { + "id": 1439, + "name": "APIVoiceRegion", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/voice#voice-region-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1445, + "name": "custom", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1444, + "name": "deprecated", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1440, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1441, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1443, + "name": "optimal", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1442, + "name": "vip", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1445, + 1444, + 1440, + 1441, + 1443, + 1442 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 30, + "character": 17 + } + ] + }, + { + "id": 1446, + "name": "APIWebhook", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#webhook-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1457, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1453, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1450, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1449, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1447, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1452, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1456, + "name": "source_channel", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 847, + "name": "APIPartialChannel" + } + }, + { + "id": 1455, + "name": "source_guild", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1111, + "name": "APIPartialGuild" + } + }, + { + "id": 1454, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1448, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1458, + "name": "WebhookType" + } + }, + { + "id": 1451, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1457, + 1453, + 1450, + 1449, + 1447, + 1452, + 1456, + 1455, + 1454, + 1448, + 1451 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/webhook.ts", + "line": 13, + "character": 17 + } + ] + }, + { + "id": 1071, + "name": "GatewayActivity", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1077, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1082, + "name": "assets", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "large_image" + }, + { + "type": "literal", + "value": "large_text" + }, + { + "type": "literal", + "value": "small_image" + }, + { + "type": "literal", + "value": "small_text" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 1075, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 78, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1078, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1080, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1095, + "name": "GatewayActivityEmoji" + } + }, + { + "id": 1085, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1101, + "name": "ActivityFlags" + } + }, + { + "id": 1084, + "name": "instance", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1072, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1081, + "name": "party", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 84, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1096, + "name": "GatewayActivityParty" + } + }, + { + "id": 1083, + "name": "secrets", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 86, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "join" + }, + { + "type": "literal", + "value": "spectate" + }, + { + "type": "literal", + "value": "match" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 1079, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 82, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1076, + "name": "timestamps", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1092, + "name": "GatewayActivityTimestamps" + } + }, + { + "id": 1073, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1086, + "name": "ActivityType" + } + }, + { + "id": 1074, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1077, + 1082, + 1075, + 1078, + 1080, + 1085, + 1084, + 1072, + 1081, + 1083, + 1079, + 1076, + 1073, + 1074 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 74, + "character": 17 + } + ] + }, + { + "id": 1096, + "name": "GatewayActivityParty", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-party", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1097, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 124, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1098, + "name": "size", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 125, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "named-tuple-member", + "name": "currentSize", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + }, + { + "type": "named-tuple-member", + "name": "maxSize", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1097, + 1098 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 123, + "character": 17 + } + ] + }, + { + "id": 1092, + "name": "GatewayActivityTimestamps", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-timestamps", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1094, + "name": "end", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 110, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1093, + "name": "start", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 109, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1094, + 1093 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 108, + "character": 17 + } + ] + }, + { + "id": 676, + "name": "GatewayHeartbeat", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 678, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 673, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 677, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 672, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 427, + "name": "Heartbeat" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 678, + 677 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 671, + "character": 17 + } + ] + }, + { + "id": 542, + "name": "GatewayHeartbeatAck", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating-example-gateway-heartbeat-ack", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 544, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 260, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 543, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 259, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 436, + "name": "HeartbeatAck" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 545, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 775, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 544, + 543, + 545 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 258, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 538, + "name": "GatewayHeartbeatRequest", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 540, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 251, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 539, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 250, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 427, + "name": "Heartbeat" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 541, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 775, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 540, + 539, + 541 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 249, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 532, + "name": "GatewayHello", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#hello", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 534, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 240, + "character": 1 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 535, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 536, + "name": "heartbeat_interval", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 241, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 536 + ] + } + ] + } + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 533, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 239, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 435, + "name": "Hello" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 537, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 775, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 534, + 533, + 537 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 238, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 683, + "name": "GatewayIdentify", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#identify", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 685, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 692, + "character": 1 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 686, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 689, + "name": "compress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 695, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 693, + "name": "guild_subscriptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 699, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 694, + "name": "intents", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 700, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 690, + "name": "large_threshold", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 696, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 692, + "name": "presence", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 698, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1052, + "name": "GatewayPresenceUpdate" + } + }, + { + "id": 688, + "name": "properties", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 694, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 679, + "name": "GatewayIdentifyProperties" + } + }, + { + "id": 691, + "name": "shard", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 697, + "character": 2 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "named-tuple-member", + "name": "shard_id", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + }, + { + "type": "named-tuple-member", + "name": "shard_count", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + } + ] + } + }, + { + "id": 687, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 693, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 689, + 693, + 694, + 690, + 692, + 688, + 691, + 687 + ] + } + ] + } + } + }, + { + "id": 684, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 691, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 428, + "name": "Identify" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 685, + 684 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 690, + "character": 17 + } + ] + }, + { + "id": 679, + "name": "GatewayIdentifyProperties", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#identify-identify-connection-properties", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 681, + "name": "$browser", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 682, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 682, + "name": "$device", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 683, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 680, + "name": "$os", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 681, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 681, + 682, + 680 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 680, + "character": 17 + } + ] + }, + { + "id": 546, + "name": "GatewayInvalidSession", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invalid-session", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 548, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 269, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 547, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 268, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 434, + "name": "InvalidSession" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 549, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 775, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 548, + 547, + 549 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 267, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 1052, + "name": "GatewayPresenceUpdate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#presence-update-presence-update-event-fields", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1060, + "name": "activities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1071, + "name": "GatewayActivity" + } + } + }, + { + "id": 1061, + "name": "client_status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "desktop" + }, + { + "type": "literal", + "value": "mobile" + }, + { + "type": "literal", + "value": "web" + } + ] + }, + { + "type": "reference", + "id": 1064, + "name": "PresenceUpdateStatus" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 1057, + "name": "game", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 1071, + "name": "GatewayActivity" + } + ] + } + }, + { + "id": 1058, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1063, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1062, + "name": "premium_since", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1056, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 43, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1059, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1064, + "name": "PresenceUpdateStatus" + } + }, + { + "id": 1053, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + { + "type": "reflection", + "declaration": { + "id": 1054, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1055, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 41, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1055 + ] + } + ] + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1060, + 1061, + 1057, + 1058, + 1063, + 1062, + 1056, + 1059, + 1053 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 39, + "character": 17 + } + ] + }, + { + "id": 723, + "name": "GatewayPresenceUpdateData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-status-gateway-status-update-structure", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 727, + "name": "afk", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 764, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 725, + "name": "game", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 762, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 1071, + "name": "GatewayActivity" + } + ] + } + }, + { + "id": 724, + "name": "since", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 761, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 726, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 763, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1064, + "name": "PresenceUpdateStatus" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 727, + 725, + 724, + 726 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 760, + "character": 17 + } + ] + }, + { + "id": 550, + "name": "GatewayReconnect", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#reconnect", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 552, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 278, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 551, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 277, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 432, + "name": "Reconnect" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 553, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 775, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 552, + 551, + 553 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 276, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 702, + "name": "GatewayRequestGuildMembers", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#request-guild-members", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 704, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 723, + "character": 1 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 705, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 706, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 724, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 708, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 726, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 711, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 729, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 709, + "name": "presences", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 727, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 707, + "name": "query", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 725, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 710, + "name": "user_ids", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 728, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 706, + 708, + 711, + 709, + 707, + 710 + ] + } + ] + } + } + }, + { + "id": 703, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 722, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 433, + "name": "RequestGuildMembers" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 704, + 703 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 721, + "character": 17 + } + ] + }, + { + "id": 695, + "name": "GatewayResume", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#resume", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 697, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 710, + "character": 1 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 698, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 701, + "name": "seq", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 713, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 700, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 712, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 699, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 711, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 701, + 700, + 699 + ] + } + ] + } + } + }, + { + "id": 696, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 709, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 431, + "name": "Resume" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 697, + 696 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 708, + "character": 17 + } + ] + }, + { + "id": 720, + "name": "GatewayUpdatePresence", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-status", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 722, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 753, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 723, + "name": "GatewayPresenceUpdateData" + } + }, + { + "id": 721, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 752, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 429, + "name": "PresenceUpdate" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 722, + 721 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 751, + "character": 17 + } + ] + }, + { + "id": 1426, + "name": "GatewayVoiceState", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/voice#voice-state-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1428, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1432, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1427, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1430, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1225, + "name": "APIGuildMember" + } + }, + { + "id": 1433, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1434, + "name": "self_deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1435, + "name": "self_mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1436, + "name": "self_stream", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1437, + "name": "self_video", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1431, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1438, + "name": "suppress", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1429, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1428, + 1432, + 1427, + 1430, + 1433, + 1434, + 1435, + 1436, + 1437, + 1431, + 1438, + 1429 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v6/voice.ts", + "line": 11, + "character": 17 + } + ] + }, + { + "id": 712, + "name": "GatewayVoiceStateUpdate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-voice-state", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 714, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 739, + "character": 1 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 715, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 717, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 741, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 716, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 740, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 719, + "name": "self_deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 743, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 718, + "name": "self_mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 742, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 717, + 716, + 719, + 718 + ] + } + ] + } + } + }, + { + "id": 713, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 738, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 430, + "name": "VoiceStateUpdate" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 714, + 713 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 737, + "character": 17 + } + ] + }, + { + "id": 2025, + "name": "RESTAPIPartialCurrentUserGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 2030, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1196, + "name": "GuildFeature" + } + } + }, + { + "id": 2028, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2026, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 43, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2027, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2029, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2031, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Use `permissions_new` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2032, + "name": "permissions_new", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2030, + 2028, + 2026, + 2027, + 2029, + 2031, + 2032 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 42, + "character": 17 + } + ] + }, + { + "id": 1651, + "name": "RESTGetAPIAuditLogQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#get-guild-audit-log", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1653, + "name": "action_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/auditLog.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 745, + "name": "AuditLogEvent" + } + }, + { + "id": 1654, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/auditLog.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1655, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/auditLog.ts", + "line": 11, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1652, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/auditLog.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1653, + 1654, + 1655, + 1652 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/auditLog.ts", + "line": 7, + "character": 17 + } + ] + }, + { + "id": 1717, + "name": "RESTGetAPIChannelMessageReactionsQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-reactions", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1719, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 176, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1718, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 175, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1720, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 177, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1719, + 1718, + 1720 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 174, + "character": 17 + } + ] + }, + { + "id": 1683, + "name": "RESTGetAPIChannelMessagesQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel-messages", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1686, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1684, + "name": "around", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1685, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1687, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 90, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1686, + 1684, + 1685, + 1687 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 86, + "character": 17 + } + ] + }, + { + "id": 2021, + "name": "RESTGetAPICurrentUserGuildsQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-current-user-guilds", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 2023, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2022, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2024, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2023, + 2022, + 2024 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 33, + "character": 17 + } + ] + }, + { + "id": 1905, + "name": "RESTGetAPIGuildIntegrationsQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-integrations", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1906, + "name": "include_applications", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 410, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1906 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 409, + "character": 17 + } + ] + }, + { + "id": 1836, + "name": "RESTGetAPIGuildMembersQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#list-guild-members", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1838, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 176, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1837, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 175, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1838, + 1837 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 174, + "character": 17 + } + ] + }, + { + "id": 1840, + "name": "RESTGetAPIGuildMembersSearchQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1842, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 189, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1841, + "name": "query", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 188, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1842, + 1841 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 187, + "character": 17 + } + ] + }, + { + "id": 1892, + "name": "RESTGetAPIGuildPruneCountQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-prune-count", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1893, + "name": "days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 359, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1894, + "name": "include_roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "While this is typed as a string, it represents an array of\nrole IDs delimited by commas.", + "tags": [ + { + "tag": "see", + "text": "https://discord.com/developers/docs/resources/guild#get-guild-prune-count-query-string-params\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 366, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1893, + 1894 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 358, + "character": 17 + } + ] + }, + { + "id": 1895, + "name": "RESTGetAPIGuildPruneCountResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1896, + "name": "pruned", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 373, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1896 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 372, + "character": 17 + } + ] + }, + { + "id": 1800, + "name": "RESTGetAPIGuildQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1801, + "name": "with_counts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1801 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 74, + "character": 17 + } + ] + }, + { + "id": 1925, + "name": "RESTGetAPIGuildVanityUrlResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-vanity-url", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1926, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 499, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1927, + "name": "uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 500, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1926, + 1927 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 498, + "character": 17 + } + ] + }, + { + "id": 1928, + "name": "RESTGetAPIGuildWidgetImageQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-image", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1929, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 508, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1265, + "name": "GuildWidgetStyle" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1929 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 507, + "character": 17 + } + ] + }, + { + "id": 1931, + "name": "RESTGetAPIInviteQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#get-invite", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1932, + "name": "with_counts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/invite.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1932 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/invite.ts", + "line": 7, + "character": 17 + } + ] + }, + { + "id": 1987, + "name": "RESTOAuth2AdvancedBotAuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorization", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1988, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 126, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1992, + "name": "disable_guild_select", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 136, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1991, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 135, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1990, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The required permissions bitfield, stringified" + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 134, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1994, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 138, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1993, + "name": "response_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 137, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1989, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "This assumes you include the `bot` scope alongside others (like `identify` for example)" + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 130, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1988, + 1992, + 1991, + 1990, + 1994, + 1993, + 1989 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 125, + "character": 17 + } + ] + }, + { + "id": 1995, + "name": "RESTOAuth2AdvancedBotAuthorizationQueryResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1996, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 145, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1998, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 147, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1999, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 148, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1997, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 146, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1996, + 1998, + 1999, + 1997 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 144, + "character": 17 + } + ] + }, + { + "id": 1936, + "name": "RESTOAuth2AuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1938, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1942, + "name": "prompt", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "consent" + }, + { + "type": "literal", + "value": "none" + } + ] + } + }, + { + "id": 1940, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1937, + "name": "response_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "code" + } + }, + { + "id": 1939, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1941, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1938, + 1942, + 1940, + 1937, + 1939, + 1941 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 13, + "character": 17 + } + ] + }, + { + "id": 1943, + "name": "RESTOAuth2AuthorizationQueryResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-example", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1944, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1945, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1944, + 1945 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 26, + "character": 17 + } + ] + }, + { + "id": 1981, + "name": "RESTOAuth2BotAuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#bot-authorization-flow-bot-auth-parameters", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1982, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 111, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1986, + "name": "disable_guild_select", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 118, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1985, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 117, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1984, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The required permissions bitfield, stringified" + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 116, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1983, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 112, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1982, + 1986, + 1985, + 1984, + 1983 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 110, + "character": 17 + } + ] + }, + { + "id": 1967, + "name": "RESTOAuth2ImplicitAuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#implicit-grant", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1969, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1973, + "name": "prompt", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "consent" + }, + { + "type": "literal", + "value": "none" + } + ] + } + }, + { + "id": 1971, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1968, + "name": "response_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "token" + } + }, + { + "id": 1970, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 78, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1972, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1969, + 1973, + 1971, + 1968, + 1970, + 1972 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 75, + "character": 17 + } + ] + }, + { + "id": 1670, + "name": "RESTPatchAPIChannelJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#modify-channel", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1671, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1675, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 1679, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1678, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 952, + "name": "APIOverwrite" + } + } + ] + } + }, + { + "id": 1673, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1676, + "name": "rate_limit_per_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1674, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1672, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 871, + "name": "GUILD_TEXT" + }, + { + "type": "reference", + "id": 876, + "name": "GUILD_NEWS" + } + ] + } + }, + { + "id": 1677, + "name": "user_limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1671, + 1675, + 1679, + 1678, + 1673, + 1676, + 1674, + 1672, + 1677 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 55, + "character": 17 + } + ] + }, + { + "id": 1708, + "name": "RESTPatchAPIChannelMessageJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-message", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1711, + "name": "allowed_mentions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 146, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 1666, + "name": "APIAllowedMentionsSend" + } + ] + } + }, + { + "id": 1709, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 144, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1710, + "name": "embed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 145, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 962, + "name": "APIEmbed" + } + ] + } + }, + { + "id": 1712, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 147, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 942, + "name": "MessageFlags" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1711, + 1709, + 1710, + 1712 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 143, + "character": 17 + } + ] + }, + { + "id": 1858, + "name": "RESTPatchAPICurrentGuildMemberNicknameJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-current-user-nick", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1859, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 236, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1859 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 235, + "character": 17 + } + ] + }, + { + "id": 2017, + "name": "RESTPatchAPICurrentUserJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#modify-current-user", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 2019, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2018, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2019, + 2018 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 19, + "character": 17 + } + ] + }, + { + "id": 1762, + "name": "RESTPatchAPIGuildEmojiJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#modify-guild-emoji", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1763, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/emoji.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1764, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/emoji.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1763, + 1764 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/emoji.ts", + "line": 37, + "character": 17 + } + ] + }, + { + "id": 1912, + "name": "RESTPatchAPIGuildIntegrationJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-integration", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1915, + "name": "enable_emoticons", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 439, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 1913, + "name": "expire_behavior", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 437, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 1249, + "name": "IntegrationExpireBehavior" + } + ] + } + }, + { + "id": 1914, + "name": "expire_grace_period", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 438, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1915, + 1913, + 1914 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 436, + "character": 17 + } + ] + }, + { + "id": 1804, + "name": "RESTPatchAPIGuildJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1810, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 99, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1811, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 100, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1816, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 105, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1808, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 97, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1172, + "name": "GuildDefaultMessageNotifications" + } + }, + { + "id": 1822, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 111, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1815, + "name": "discovery_splash", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 104, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1809, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 98, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1175, + "name": "GuildExplicitContentFilter" + } + }, + { + "id": 1821, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 110, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1196, + "name": "GuildFeature" + } + } + }, + { + "id": 1812, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 101, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1805, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 94, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1813, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 102, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1820, + "name": "preferred_locale", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 109, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1819, + "name": "public_updates_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 108, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1806, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 95, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1818, + "name": "rules_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1814, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 103, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1817, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 106, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1807, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 96, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1182, + "name": "GuildVerificationLevel" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1810, + 1811, + 1816, + 1808, + 1822, + 1815, + 1809, + 1821, + 1812, + 1805, + 1813, + 1820, + 1819, + 1806, + 1818, + 1814, + 1817, + 1807 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 93, + "character": 17 + } + ] + }, + { + "id": 1851, + "name": "RESTPatchAPIGuildMemberJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-member", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1856, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 223, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1855, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 222, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 1854, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 221, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 1852, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 219, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1853, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 220, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1856, + 1855, + 1854, + 1852, + 1853 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 218, + "character": 17 + } + ] + }, + { + "id": 1884, + "name": "RESTPatchAPIGuildRoleJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-role", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1887, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 338, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1888, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 339, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1889, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 340, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1885, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 336, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1886, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 337, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1887, + 1888, + 1889, + 1885, + 1886 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 335, + "character": 17 + } + ] + }, + { + "id": 2048, + "name": "RESTPatchAPIWebhookJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#modify-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 2050, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2051, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2049, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2050, + 2051, + 2049 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 46, + "character": 17 + } + ] + }, + { + "id": 1752, + "name": "RESTPostAPIChannelFollowersJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1753, + "name": "webhook_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 304, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1753 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 303, + "character": 17 + } + ] + }, + { + "id": 1735, + "name": "RESTPostAPIChannelInviteJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1736, + "name": "max_age", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 243, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1737, + "name": "max_uses", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 244, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1740, + "name": "target_user_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 247, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1741, + "name": "target_user_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 248, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1288, + "name": "STREAM" + } + }, + { + "id": 1738, + "name": "temporary", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 245, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1739, + "name": "unique", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 246, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1736, + 1737, + 1740, + 1741, + 1738, + 1739 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 242, + "character": 17 + } + ] + }, + { + "id": 1689, + "name": "RESTPostAPIChannelMessageJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-message", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1694, + "name": "allowed_mentions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1666, + "name": "APIAllowedMentionsSend" + } + }, + { + "id": 1690, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 103, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1693, + "name": "embed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 106, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 962, + "name": "APIEmbed" + } + }, + { + "id": 1695, + "name": "message_reference", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 108, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 933, + "name": "APIMessageReference" + } + }, + { + "id": 1691, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 104, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1692, + "name": "tts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 105, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1694, + 1690, + 1693, + 1695, + 1691, + 1692 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 102, + "character": 17 + } + ] + }, + { + "id": 1725, + "name": "RESTPostAPIChannelMessagesBulkDeleteJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#bulk-delete-messages", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1726, + "name": "messages", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 205, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1726 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 204, + "character": 17 + } + ] + }, + { + "id": 2040, + "name": "RESTPostAPIChannelWebhookJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#create-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 2042, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2041, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2042, + 2041 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 8, + "character": 17 + } + ] + }, + { + "id": 2035, + "name": "RESTPostAPICurrentUserCreateDMChannelJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#create-dm", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 2036, + "name": "recipient_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2036 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 70, + "character": 17 + } + ] + }, + { + "id": 1757, + "name": "RESTPostAPIGuildEmojiJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#create-guild-emoji-json-params", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1759, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The image data, read more [here](https://discord.com/developers/docs/reference#image-data)" + }, + "sources": [ + { + "fileName": "rest/v6/emoji.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1758, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/emoji.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1760, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/emoji.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1759, + 1758, + 1760 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/emoji.ts", + "line": 19, + "character": 17 + } + ] + }, + { + "id": 1908, + "name": "RESTPostAPIGuildIntegrationJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-integration", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1910, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 424, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1909, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 423, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1910, + 1909 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 422, + "character": 17 + } + ] + }, + { + "id": 1897, + "name": "RESTPostAPIGuildPruneJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#begin-guild-prune", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1899, + "name": "compute_prune_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 382, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1898, + "name": "days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 381, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1900, + "name": "include_roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 383, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1899, + 1898, + 1900 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 380, + "character": 17 + } + ] + }, + { + "id": 1901, + "name": "RESTPostAPIGuildPruneResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1902, + "name": "pruned", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 390, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1902 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 389, + "character": 17 + } + ] + }, + { + "id": 1872, + "name": "RESTPostAPIGuildRoleJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-role", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1875, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 307, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1876, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 308, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 1877, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 309, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 1873, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 305, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1874, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 306, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1875, + 1876, + 1877, + 1873, + 1874 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 304, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 1780, + "name": "APIGuildCreateRole" + } + ] + }, + { + "id": 1787, + "name": "RESTPostAPIGuildsJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1796, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1797, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1795, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1774, + "name": "APIGuildCreatePartialChannel" + } + } + }, + { + "id": 1792, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1172, + "name": "GuildDefaultMessageNotifications" + } + }, + { + "id": 1793, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1175, + "name": "GuildExplicitContentFilter" + } + }, + { + "id": 1790, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 54, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1788, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1789, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1794, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1780, + "name": "APIGuildCreateRole" + } + } + }, + { + "id": 1798, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1791, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1182, + "name": "GuildVerificationLevel" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1796, + 1797, + 1795, + 1792, + 1793, + 1790, + 1788, + 1789, + 1794, + 1798, + 1791 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 51, + "character": 17 + } + ] + }, + { + "id": 2057, + "name": "RESTPostAPIWebhookWithTokenJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 2063, + "name": "allowed_mentions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1666, + "name": "APIAllowedMentionsSend" + } + }, + { + "id": 2060, + "name": "avatar_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 86, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2058, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 84, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2062, + "name": "embeds", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 962, + "name": "APIEmbed" + } + } + }, + { + "id": 2061, + "name": "tts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2059, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2063, + 2060, + 2058, + 2062, + 2061, + 2059 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 83, + "character": 17 + } + ] + }, + { + "id": 2070, + "name": "RESTPostAPIWebhookWithTokenQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook-querystring-params", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 2071, + "name": "wait", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 119, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2071 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 118, + "character": 17 + } + ] + }, + { + "id": 1953, + "name": "RESTPostOAuth2AccessTokenResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-access-token-response", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1954, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1956, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1957, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1958, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1955, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1954, + 1956, + 1957, + 1958, + 1955 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 48, + "character": 17 + } + ] + }, + { + "id": 1946, + "name": "RESTPostOAuth2AccessTokenURIEncodedData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-example", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1947, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1948, + "name": "client_secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1950, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1949, + "name": "grant_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "authorization_code" + } + }, + { + "id": 1951, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1952, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1947, + 1948, + 1950, + 1949, + 1951, + 1952 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 35, + "character": 17 + } + ] + }, + { + "id": 2000, + "name": "RESTPostOAuth2AccessTokenWithBotAndGuildsScopeResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorization-extended-bot-authorization-access-token-example", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 2001, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 156, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2003, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 158, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2006, + "name": "guild", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 161, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1123, + "name": "APIGuild" + } + }, + { + "id": 2004, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 159, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2005, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 160, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2002, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 157, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2001, + 2003, + 2006, + 2004, + 2005, + 2002 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 155, + "character": 17 + } + ] + }, + { + "id": 2007, + "name": "RESTPostOAuth2AccessTokenWithBotAndWebhookIncomingScopeResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#webhooks-webhook-token-response-example", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 2008, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 169, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2010, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 171, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2011, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 172, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2012, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 173, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2009, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 170, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2013, + "name": "webhook", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 174, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 1446, + "name": "APIWebhook" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2008, + 2010, + 2011, + 2012, + 2009, + 2013 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 168, + "character": 17 + } + ] + }, + { + "id": 1975, + "name": "RESTPostOAuth2ClientCredentialsURIEncodedData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#client-credentials-grant", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1976, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 95, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1977, + "name": "client_secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 96, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1978, + "name": "grant_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 97, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "client_credentials" + } + }, + { + "id": 1979, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 98, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1976, + 1977, + 1978, + 1979 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 94, + "character": 17 + } + ] + }, + { + "id": 1959, + "name": "RESTPostOAuth2RefreshTokenURIEncodedData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-refresh-token-exchange-example", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1960, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1961, + "name": "client_secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1962, + "name": "grant_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "refresh_token" + } + }, + { + "id": 1964, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1963, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1965, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1960, + 1961, + 1962, + 1964, + 1963, + 1965 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 60, + "character": 17 + } + ] + }, + { + "id": 1728, + "name": "RESTPutAPIChannelPermissionsJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-channel-permissions", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1729, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 218, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1730, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 219, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1731, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 220, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 959, + "name": "OverwriteType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1729, + 1730, + 1731 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 217, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 1769, + "name": "APIGuildCreateOverwrite" + } + ] + }, + { + "id": 1746, + "name": "RESTPutAPIChannelRecipientJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#group-dm-add-recipient", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1747, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 279, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1748, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 280, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1747, + 1748 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 278, + "character": 17 + } + ] + }, + { + "id": 1866, + "name": "RESTPutAPIGuildBanJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-ban", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1867, + "name": "delete_message_days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 279, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1868, + "name": "reason", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 280, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1867, + 1868 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 278, + "character": 17 + } + ] + }, + { + "id": 1844, + "name": "RESTPutAPIGuildMemberJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#add-guild-member", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "children": [ + { + "id": 1845, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 202, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1849, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 206, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1848, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 205, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1846, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 203, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1847, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 204, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1845, + 1849, + 1848, + 1846, + 1847 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 201, + "character": 17 + } + ] + }, + { + "id": 793, + "name": "APIAuditLogChange", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-change-object-audit-log-change-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 173, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 794, + "name": "APIAuditLogChangeKeyName" + }, + { + "type": "reference", + "id": 795, + "name": "APIAuditLogChangeKeyIconHash" + }, + { + "type": "reference", + "id": 796, + "name": "APIAuditLogChangeKeySplashHash" + }, + { + "type": "reference", + "id": 797, + "name": "APIAuditLogChangeKeyOwnerID" + }, + { + "type": "reference", + "id": 798, + "name": "APIAuditLogChangeKeyRegion" + }, + { + "type": "reference", + "id": 799, + "name": "APIAuditLogChangeKeyAFKChannelID" + }, + { + "type": "reference", + "id": 800, + "name": "APIAuditLogChangeKeyAFKTimeout" + }, + { + "type": "reference", + "id": 801, + "name": "APIAuditLogChangeKeyMFALevel" + }, + { + "type": "reference", + "id": 802, + "name": "APIAuditLogChangeKeyVerificationLevel" + }, + { + "type": "reference", + "id": 803, + "name": "APIAuditLogChangeKeyExplicitContentFilter" + }, + { + "type": "reference", + "id": 804, + "name": "APIAuditLogChangeKeyDefaultMessageNotifications" + }, + { + "type": "reference", + "id": 805, + "name": "APIAuditLogChangeKeyVanityURLCode" + }, + { + "type": "reference", + "id": 806, + "name": "APIAuditLogChangeKey$Add" + }, + { + "type": "reference", + "id": 807, + "name": "APIAuditLogChangeKey$Remove" + }, + { + "type": "reference", + "id": 808, + "name": "APIAuditLogChangeKeyPruneDeleteDays" + }, + { + "type": "reference", + "id": 809, + "name": "APIAuditLogChangeKeyWidgetEnabled" + }, + { + "type": "reference", + "id": 810, + "name": "APIAuditLogChangeKeyWidgetChannelID" + }, + { + "type": "reference", + "id": 811, + "name": "APIAuditLogChangeKeySystemChannelID" + }, + { + "type": "reference", + "id": 812, + "name": "APIAuditLogChangeKeyPosition" + }, + { + "type": "reference", + "id": 813, + "name": "APIAuditLogChangeKeyTopic" + }, + { + "type": "reference", + "id": 814, + "name": "APIAuditLogChangeKeyBitrate" + }, + { + "type": "reference", + "id": 815, + "name": "APIAuditLogChangeKeyPermissionOverwrites" + }, + { + "type": "reference", + "id": 816, + "name": "APIAuditLogChangeKeyNSFW" + }, + { + "type": "reference", + "id": 817, + "name": "APIAuditLogChangeKeyApplicationID" + }, + { + "type": "reference", + "id": 818, + "name": "APIAuditLogChangeKeyRateLimitPerUser" + }, + { + "type": "reference", + "id": 819, + "name": "APIAuditLogChangeKeyPermissions" + }, + { + "type": "reference", + "id": 820, + "name": "APIAuditLogChangeKeyPermissionsNew" + }, + { + "type": "reference", + "id": 821, + "name": "APIAuditLogChangeKeyColor" + }, + { + "type": "reference", + "id": 822, + "name": "APIAuditLogChangeKeyHoist" + }, + { + "type": "reference", + "id": 823, + "name": "APIAuditLogChangeKeyMentionable" + }, + { + "type": "reference", + "id": 824, + "name": "APIAuditLogChangeKeyAllow" + }, + { + "type": "reference", + "id": 825, + "name": "APIAuditLogChangeKeyAllowNew" + }, + { + "type": "reference", + "id": 826, + "name": "APIAuditLogChangeKeyDeny" + }, + { + "type": "reference", + "id": 827, + "name": "APIAuditLogChangeKeyDenyNew" + }, + { + "type": "reference", + "id": 828, + "name": "APIAuditLogChangeKeyCode" + }, + { + "type": "reference", + "id": 829, + "name": "APIAuditLogChangeKeyChannelID" + }, + { + "type": "reference", + "id": 830, + "name": "APIAuditLogChangeKeyInviterID" + }, + { + "type": "reference", + "id": 831, + "name": "APIAuditLogChangeKeyMaxUses" + }, + { + "type": "reference", + "id": 832, + "name": "APIAuditLogChangeKeyUses" + }, + { + "type": "reference", + "id": 833, + "name": "APIAuditLogChangeKeyMaxAge" + }, + { + "type": "reference", + "id": 834, + "name": "APIAuditLogChangeKeyTemporary" + }, + { + "type": "reference", + "id": 835, + "name": "APIAuditLogChangeKeyDeaf" + }, + { + "type": "reference", + "id": 836, + "name": "APIAuditLogChangeKeyMute" + }, + { + "type": "reference", + "id": 837, + "name": "APIAuditLogChangeKeyNick" + }, + { + "type": "reference", + "id": 838, + "name": "APIAuditLogChangeKeyAvatarHash" + }, + { + "type": "reference", + "id": 839, + "name": "APIAuditLogChangeKeyID" + }, + { + "type": "reference", + "id": 843, + "name": "APIAuditLogChangeKeyType" + }, + { + "type": "reference", + "id": 844, + "name": "APIAuditLogChangeKeyEnableEmoticons" + }, + { + "type": "reference", + "id": 845, + "name": "APIAuditLogChangeKeyExpireBehavior" + }, + { + "type": "reference", + "id": 846, + "name": "APIAuditLogChangeKeyExpireGracePeriod" + } + ] + } + }, + { + "id": 806, + "name": "APIAuditLogChangeKey$Add", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when new role(s) are added", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 307, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "$add" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 1352, + "name": "APIRole" + } + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 807, + "name": "APIAuditLogChangeKey$Remove", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when role(s) are removed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 313, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "$remove" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 1352, + "name": "APIRole" + } + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 799, + "name": "APIAuditLogChangeKeyAFKChannelID", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's afk_channel_id is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 259, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "afk_channel_id" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 800, + "name": "APIAuditLogChangeKeyAFKTimeout", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's afk_timeout is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 265, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "afk_timeout" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 824, + "name": "APIAuditLogChangeKeyAllow", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an overwrite's allowed permissions bitfield is changed", + "tags": [ + { + "tag": "deprecated", + "text": "Use `allow_new` instead" + }, + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 418, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "allow" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 825, + "name": "APIAuditLogChangeKeyAllowNew", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an overwrite's allowed permissions bitfield is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 424, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "allow_new" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 817, + "name": "APIAuditLogChangeKeyApplicationID", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "The application ID of the added or removed Webhook or Bot", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 373, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "application_id" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 838, + "name": "APIAuditLogChangeKeyAvatarHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's avatar_hash is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 503, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "avatar_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 814, + "name": "APIAuditLogChangeKeyBitrate", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a voice channel's bitrate is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 355, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "bitrate" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 829, + "name": "APIAuditLogChangeKeyChannelID", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's channel_id is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 449, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "channel_id" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 828, + "name": "APIAuditLogChangeKeyCode", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's code is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 443, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "code" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 821, + "name": "APIAuditLogChangeKeyColor", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a role's color is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 399, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "color" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 835, + "name": "APIAuditLogChangeKeyDeaf", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's deaf status is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 485, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "deaf" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 804, + "name": "APIAuditLogChangeKeyDefaultMessageNotifications", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's default_message_notifications is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 292, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "default_message_notifications" + }, + { + "type": "reference", + "id": 1172, + "name": "GuildDefaultMessageNotifications" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 826, + "name": "APIAuditLogChangeKeyDeny", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an overwrite's denied permissions bitfield is changed", + "tags": [ + { + "tag": "deprecated", + "text": "Use `deny_new` instead" + }, + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 431, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "deny" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 827, + "name": "APIAuditLogChangeKeyDenyNew", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an overwrite's denied permissions bitfield is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 437, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "deny_new" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 844, + "name": "APIAuditLogChangeKeyEnableEmoticons", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an integration's enable_emoticons is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 525, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "enable_emoticons" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 845, + "name": "APIAuditLogChangeKeyExpireBehavior", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an integration's expire_behavior is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 531, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "expire_behavior" + }, + { + "type": "reference", + "id": 1249, + "name": "IntegrationExpireBehavior" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 846, + "name": "APIAuditLogChangeKeyExpireGracePeriod", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an integration's expire_grace_period is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 537, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "expire_grace_period" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 803, + "name": "APIAuditLogChangeKeyExplicitContentFilter", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's explicit_content_filter is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 283, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "explicit_content_filter" + }, + { + "type": "reference", + "id": 1175, + "name": "GuildExplicitContentFilter" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 822, + "name": "APIAuditLogChangeKeyHoist", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a role's hoist status is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 405, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "hoist" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 795, + "name": "APIAuditLogChangeKeyIconHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's icon is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 235, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "icon_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 830, + "name": "APIAuditLogChangeKeyInviterID", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's inviter_id is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 455, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "inviter_id" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 801, + "name": "APIAuditLogChangeKeyMFALevel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's mfa_level is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 271, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "mfa_level" + }, + { + "type": "reference", + "id": 1179, + "name": "GuildMFALevel" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 833, + "name": "APIAuditLogChangeKeyMaxAge", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's max_age is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 473, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "max_age" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 831, + "name": "APIAuditLogChangeKeyMaxUses", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's max_uses is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 461, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "max_uses" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 823, + "name": "APIAuditLogChangeKeyMentionable", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a role's mentionable status is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 411, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "mentionable" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 836, + "name": "APIAuditLogChangeKeyMute", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's mute status is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 491, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "mute" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 816, + "name": "APIAuditLogChangeKeyNSFW", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's NSFW restriction is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 367, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "nsfw" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 794, + "name": "APIAuditLogChangeKeyName", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's name is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 229, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "name" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 837, + "name": "APIAuditLogChangeKeyNick", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's nick is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 497, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "mute" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 797, + "name": "APIAuditLogChangeKeyOwnerID", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's owner ID is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 247, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "owner_id" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 815, + "name": "APIAuditLogChangeKeyPermissionOverwrites", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's permission overwrites is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 361, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "permission_overwrites" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 952, + "name": "APIOverwrite" + } + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 819, + "name": "APIAuditLogChangeKeyPermissions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a permission bitfield is changed", + "tags": [ + { + "tag": "deprecated", + "text": "Use `permissions_new` instead" + }, + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 387, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "permissions" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 820, + "name": "APIAuditLogChangeKeyPermissionsNew", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a permission bitfield is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 393, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "permissions_new" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 812, + "name": "APIAuditLogChangeKeyPosition", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's position is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 343, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "position" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 808, + "name": "APIAuditLogChangeKeyPruneDeleteDays", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when there is a change in number of days after which inactive and role-unassigned members are kicked", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 319, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "prune_delete_days" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 818, + "name": "APIAuditLogChangeKeyRateLimitPerUser", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's amount of seconds a user has to wait before sending another message\nis changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 380, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "rate_limit_per_user" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 798, + "name": "APIAuditLogChangeKeyRegion", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's region is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 253, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "region" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 796, + "name": "APIAuditLogChangeKeySplashHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's splash is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 241, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "splash_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 811, + "name": "APIAuditLogChangeKeySystemChannelID", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's system_channel_id is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 337, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "system_channel_id" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 834, + "name": "APIAuditLogChangeKeyTemporary", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's temporary status is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 479, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "temporary" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 813, + "name": "APIAuditLogChangeKeyTopic", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's topic is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 349, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "topic" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 843, + "name": "APIAuditLogChangeKeyType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "The type of entity created", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 519, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "type" + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 870, + "name": "ChannelType" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 832, + "name": "APIAuditLogChangeKeyUses", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's uses is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 467, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "uses" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 805, + "name": "APIAuditLogChangeKeyVanityURLCode", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's vanity_url_code is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 301, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "vanity_url_code" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 802, + "name": "APIAuditLogChangeKeyVerificationLevel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's verification_level is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 277, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "verification_level" + }, + { + "type": "reference", + "id": 1182, + "name": "GuildVerificationLevel" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 810, + "name": "APIAuditLogChangeKeyWidgetChannelID", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's widget_channel_id is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 331, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "widget_channel_id" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 809, + "name": "APIAuditLogChangeKeyWidgetEnabled", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's widget is enabled", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/auditLog.ts", + "line": 325, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "widget_enabled" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 1774, + "name": "APIGuildCreatePartialChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 851, + "name": "APIChannel" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "type" + }, + { + "type": "literal", + "value": "topic" + }, + { + "type": "literal", + "value": "nsfw" + }, + { + "type": "literal", + "value": "bitrate" + }, + { + "type": "literal", + "value": "user_limit" + }, + { + "type": "literal", + "value": "rate_limit_per_user" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + { + "type": "reflection", + "declaration": { + "id": 1775, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1777, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1776, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1778, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1779, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1769, + "name": "APIGuildCreateOverwrite" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1777, + 1776, + 1778, + 1779 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 33, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1221, + "name": "APIGuildWidget", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Use `APIGuildWidgetSettings` instead" + }, + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/guild.ts", + "line": 201, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1222, + "name": "APIGuildWidgetSettings" + } + }, + { + "id": 1099, + "name": "GatewayActivityAssets", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-assets", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 132, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "large_image" + }, + { + "type": "literal", + "value": "large_text" + }, + { + "type": "literal", + "value": "small_image" + }, + { + "type": "literal", + "value": "small_text" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 1095, + "name": "GatewayActivityEmoji", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-emoji", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 117, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1033, + "name": "APIEmoji" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "name" + }, + { + "type": "literal", + "value": "animated" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1033, + "name": "APIEmoji" + }, + { + "type": "literal", + "value": "id" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ] + } + }, + { + "id": 1100, + "name": "GatewayActivitySecrets", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-secrets", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 140, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "join" + }, + { + "type": "literal", + "value": "spectate" + }, + { + "type": "literal", + "value": "match" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 564, + "name": "GatewayChannelCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 319, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 566, + "name": "GatewayChannelDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 329, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 563, + "name": "GatewayChannelModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-create\nhttps://discord.com/developers/docs/topics/gateway#channel-update\nhttps://discord.com/developers/docs/topics/gateway#channel-delete", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 310, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 495, + "name": "GatewayDispatchEvents.ChannelCreate" + }, + { + "type": "reference", + "id": 497, + "name": "GatewayDispatchEvents.ChannelDelete" + }, + { + "type": "reference", + "id": 496, + "name": "GatewayDispatchEvents.ChannelUpdate" + } + ] + }, + { + "type": "reference", + "id": 851, + "name": "APIChannel" + } + ], + "name": "DataPayload" + } + }, + { + "id": 567, + "name": "GatewayChannelPinsUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-pins-update", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 335, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 498, + "name": "GatewayDispatchEvents.ChannelPinsUpdate" + }, + { + "type": "reflection", + "declaration": { + "id": 568, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 570, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 339, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 569, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 338, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 571, + "name": "last_pin_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 340, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 570, + 569, + 571 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 337, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 565, + "name": "GatewayChannelUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 324, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 531, + "name": "GatewayDispatchPayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 200, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 554, + "name": "GatewayReadyDispatch" + }, + { + "type": "reference", + "id": 562, + "name": "GatewayResumedDispatch" + }, + { + "type": "reference", + "id": 563, + "name": "GatewayChannelModifyDispatch" + }, + { + "type": "reference", + "id": 567, + "name": "GatewayChannelPinsUpdateDispatch" + }, + { + "type": "reference", + "id": 572, + "name": "GatewayGuildModifyDispatch" + }, + { + "type": "reference", + "id": 575, + "name": "GatewayGuildDeleteDispatch" + }, + { + "type": "reference", + "id": 576, + "name": "GatewayGuildBanModifyDispatch" + }, + { + "type": "reference", + "id": 582, + "name": "GatewayGuildEmojisUpdateDispatch" + }, + { + "type": "reference", + "id": 586, + "name": "GatewayGuildIntegrationsUpdateDispatch" + }, + { + "type": "reference", + "id": 589, + "name": "GatewayGuildMemberAddDispatch" + }, + { + "type": "reference", + "id": 592, + "name": "GatewayGuildMemberRemoveDispatch" + }, + { + "type": "reference", + "id": 596, + "name": "GatewayGuildMemberUpdateDispatch" + }, + { + "type": "reference", + "id": 599, + "name": "GatewayGuildMembersChunkDispatch" + }, + { + "type": "reference", + "id": 608, + "name": "GatewayGuildRoleModifyDispatch" + }, + { + "type": "reference", + "id": 614, + "name": "GatewayGuildRoleDeleteDispatch" + }, + { + "type": "reference", + "id": 618, + "name": "GatewayInviteCreateDispatch" + }, + { + "type": "reference", + "id": 631, + "name": "GatewayInviteDeleteDispatch" + }, + { + "type": "reference", + "id": 636, + "name": "GatewayMessageCreateDispatch" + }, + { + "type": "reference", + "id": 637, + "name": "GatewayMessageUpdateDispatch" + }, + { + "type": "reference", + "id": 641, + "name": "GatewayMessageDeleteDispatch" + }, + { + "type": "reference", + "id": 646, + "name": "GatewayMessageDeleteBulkDispatch" + }, + { + "type": "reference", + "id": 651, + "name": "GatewayMessageReactionAddDispatch" + }, + { + "type": "reference", + "id": 652, + "name": "GatewayMessageReactionRemoveDispatch" + }, + { + "type": "reference", + "id": 653, + "name": "GatewayMessageReactionRemoveAllDispatch" + }, + { + "type": "reference", + "id": 654, + "name": "GatewayMessageReactionRemoveEmojiDispatch" + }, + { + "type": "reference", + "id": 657, + "name": "GatewayPresenceUpdateDispatch" + }, + { + "type": "reference", + "id": 658, + "name": "GatewayTypingStartDispatch" + }, + { + "type": "reference", + "id": 665, + "name": "GatewayUserUpdateDispatch" + }, + { + "type": "reference", + "id": 666, + "name": "GatewayVoiceStateUpdateDispatch" + }, + { + "type": "reference", + "id": 667, + "name": "GatewayVoiceServerUpdateDispatch" + }, + { + "type": "reference", + "id": 672, + "name": "GatewayWebhooksUpdateDispatch" + } + ] + } + }, + { + "id": 580, + "name": "GatewayGuildBanAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 386, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 576, + "name": "GatewayGuildBanModifyDispatch" + } + }, + { + "id": 576, + "name": "GatewayGuildBanModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-add\nhttps://discord.com/developers/docs/topics/gateway#guild-ban-remove", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 375, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 502, + "name": "GatewayDispatchEvents.GuildBanAdd" + }, + { + "type": "reference", + "id": 503, + "name": "GatewayDispatchEvents.GuildBanRemove" + } + ] + }, + { + "type": "reflection", + "declaration": { + "id": 577, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 578, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 378, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 579, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 379, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 578, + 579 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 377, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 581, + "name": "GatewayGuildBanRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 391, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 576, + "name": "GatewayGuildBanModifyDispatch" + } + }, + { + "id": 573, + "name": "GatewayGuildCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 357, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 572, + "name": "GatewayGuildModifyDispatch" + } + }, + { + "id": 575, + "name": "GatewayGuildDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-delete", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 368, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 501, + "name": "GatewayDispatchEvents.GuildDelete" + }, + { + "type": "reference", + "id": 1108, + "name": "APIUnavailableGuild" + } + ], + "name": "DataPayload" + } + }, + { + "id": 582, + "name": "GatewayGuildEmojisUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-emojis-update", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 397, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 504, + "name": "GatewayDispatchEvents.GuildEmojisUpdate" + }, + { + "type": "reflection", + "declaration": { + "id": 583, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 585, + "name": "emojis", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 401, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1033, + "name": "APIEmoji" + } + } + }, + { + "id": 584, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 400, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 585, + 584 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 399, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 586, + "name": "GatewayGuildIntegrationsUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-integrations-update", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 409, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 505, + "name": "GatewayDispatchEvents.GuildIntegrationsUpdate" + }, + { + "type": "reflection", + "declaration": { + "id": 587, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 588, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 411, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 588 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 411, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 589, + "name": "GatewayGuildMemberAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-add", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 418, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 506, + "name": "GatewayDispatchEvents.GuildMemberAdd" + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 1225, + "name": "APIGuildMember" + }, + { + "type": "reflection", + "declaration": { + "id": 590, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 591, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 420, + "character": 20 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 591 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 420, + "character": 18 + } + ] + } + } + ] + } + ], + "name": "DataPayload" + } + }, + { + "id": 592, + "name": "GatewayGuildMemberRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-remove", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 427, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 507, + "name": "GatewayDispatchEvents.GuildMemberRemove" + }, + { + "type": "reflection", + "declaration": { + "id": 593, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 594, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 430, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 595, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 431, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 594, + 595 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 429, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 596, + "name": "GatewayGuildMemberUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-update", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 439, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 508, + "name": "GatewayDispatchEvents.GuildMemberUpdate" + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1225, + "name": "APIGuildMember" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "deaf" + }, + { + "type": "literal", + "value": "mute" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reflection", + "declaration": { + "id": 597, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 598, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 442, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 598 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 441, + "character": 41 + } + ] + } + } + ] + } + ], + "name": "DataPayload" + } + }, + { + "id": 599, + "name": "GatewayGuildMembersChunkDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-members-chunk", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 450, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 509, + "name": "GatewayDispatchEvents.GuildMembersChunk" + }, + { + "type": "reflection", + "declaration": { + "id": 600, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 604, + "name": "chunk_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 456, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 603, + "name": "chunk_index", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 455, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 601, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 453, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 602, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 454, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1225, + "name": "APIGuildMember" + } + } + }, + { + "id": 607, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 459, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 605, + "name": "not_found", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 457, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + }, + { + "id": 606, + "name": "presences", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 458, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1052, + "name": "RawGatewayPresenceUpdate" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 604, + 603, + 601, + 602, + 607, + 605, + 606 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 452, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 572, + "name": "GatewayGuildModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-create\nhttps://discord.com/developers/docs/topics/gateway#guild-update", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 349, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 499, + "name": "GatewayDispatchEvents.GuildCreate" + }, + { + "type": "reference", + "id": 500, + "name": "GatewayDispatchEvents.GuildUpdate" + } + ] + }, + { + "type": "reference", + "id": 1123, + "name": "APIGuild" + } + ], + "name": "DataPayload" + } + }, + { + "id": 612, + "name": "GatewayGuildRoleCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 479, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 608, + "name": "GatewayGuildRoleModifyDispatch" + } + }, + { + "id": 614, + "name": "GatewayGuildRoleDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-delete", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 490, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 512, + "name": "GatewayDispatchEvents.GuildRoleDelete" + }, + { + "type": "reflection", + "declaration": { + "id": 615, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 616, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 493, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 617, + "name": "role_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 494, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 616, + 617 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 492, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 608, + "name": "GatewayGuildRoleModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-create\nhttps://discord.com/developers/docs/topics/gateway#guild-role-update", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 468, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 510, + "name": "GatewayDispatchEvents.GuildRoleCreate" + }, + { + "type": "reference", + "id": 511, + "name": "GatewayDispatchEvents.GuildRoleUpdate" + } + ] + }, + { + "type": "reflection", + "declaration": { + "id": 609, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 610, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 471, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 611, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 472, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1352, + "name": "APIRole" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 610, + 611 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 470, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 613, + "name": "GatewayGuildRoleUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 484, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 608, + "name": "GatewayGuildRoleModifyDispatch" + } + }, + { + "id": 574, + "name": "GatewayGuildUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 362, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 572, + "name": "GatewayGuildModifyDispatch" + } + }, + { + "id": 618, + "name": "GatewayInviteCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invite-create", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 502, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 513, + "name": "GatewayDispatchEvents.InviteCreate" + }, + { + "type": "reflection", + "declaration": { + "id": 619, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 620, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 505, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 621, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 506, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 622, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 507, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 623, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 508, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 624, + "name": "inviter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 509, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + }, + { + "id": 625, + "name": "max_age", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 510, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 626, + "name": "max_uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 511, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 627, + "name": "target_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 512, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + }, + { + "id": 628, + "name": "target_user_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 513, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1287, + "name": "InviteTargetUserType" + } + }, + { + "id": 629, + "name": "temporary", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 514, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 630, + "name": "uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 515, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": 0 + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 620, + 621, + 622, + 623, + 624, + 625, + 626, + 627, + 628, + 629, + 630 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 504, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 631, + "name": "GatewayInviteDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invite-delete", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 523, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 514, + "name": "GatewayDispatchEvents.InviteDelete" + }, + { + "type": "reflection", + "declaration": { + "id": 632, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 633, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 526, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 635, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 528, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 634, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 527, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 633, + 635, + 634 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 525, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 636, + "name": "GatewayMessageCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-create", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 536, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 515, + "name": "GatewayDispatchEvents.MessageCreate" + }, + { + "type": "reference", + "id": 878, + "name": "APIMessage" + } + ], + "name": "DataPayload" + } + }, + { + "id": 646, + "name": "GatewayMessageDeleteBulkDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-delete-bulk", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 564, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 518, + "name": "GatewayDispatchEvents.MessageDeleteBulk" + }, + { + "type": "reflection", + "declaration": { + "id": 647, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 649, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 568, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 650, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 569, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 648, + "name": "ids", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 567, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 649, + 650, + 648 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 566, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 641, + "name": "GatewayMessageDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-delete", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 551, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 517, + "name": "GatewayDispatchEvents.MessageDelete" + }, + { + "type": "reflection", + "declaration": { + "id": 642, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 644, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 555, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 645, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 556, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 643, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 554, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 644, + 645, + 643 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 553, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 651, + "name": "GatewayMessageReactionAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-add", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 577, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 519, + "name": "GatewayDispatchEvents.MessageReactionAdd" + } + ], + "name": "ReactionData" + } + }, + { + "id": 653, + "name": "GatewayMessageReactionRemoveAllDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove-all", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 589, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "name": "GatewayDispatchEvents.MessageReactionRemoveAll" + }, + { + "type": "reference", + "name": "MessageReactionRemoveData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 652, + "name": "GatewayMessageReactionRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 583, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 520, + "name": "GatewayDispatchEvents.MessageReactionRemove" + }, + { + "type": "literal", + "value": "member" + } + ], + "name": "ReactionData" + } + }, + { + "id": 654, + "name": "GatewayMessageReactionRemoveEmojiDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 598, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 522, + "name": "GatewayDispatchEvents.MessageReactionRemoveEmoji" + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "name": "MessageReactionRemoveData" + }, + { + "type": "reflection", + "declaration": { + "id": 655, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 656, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 601, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1033, + "name": "APIEmoji" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 656 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 600, + "character": 29 + } + ] + } + } + ] + } + ], + "name": "DataPayload" + } + }, + { + "id": 637, + "name": "GatewayMessageUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-update", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 542, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 516, + "name": "GatewayDispatchEvents.MessageUpdate" + }, + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 638, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 640, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 544, + "character": 15 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 639, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 544, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 640, + 639 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 544, + "character": 1 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 878, + "name": "APIMessage" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + ], + "name": "DataPayload" + } + }, + { + "id": 1070, + "name": "GatewayPresenceClientStatus", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#client-status-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/gateway.ts", + "line": 68, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "desktop" + }, + { + "type": "literal", + "value": "mobile" + }, + { + "type": "literal", + "value": "web" + } + ] + }, + { + "type": "reference", + "id": 1064, + "name": "PresenceUpdateStatus" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 657, + "name": "GatewayPresenceUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#presence-update", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 609, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 523, + "name": "GatewayDispatchEvents.PresenceUpdate" + }, + { + "type": "reference", + "id": 1052, + "name": "RawGatewayPresenceUpdate" + } + ], + "name": "DataPayload" + } + }, + { + "id": 554, + "name": "GatewayReadyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#ready", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 285, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 493, + "name": "GatewayDispatchEvents.Ready" + }, + { + "type": "reflection", + "declaration": { + "id": 555, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 560, + "name": "guilds", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 292, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1108, + "name": "APIUnavailableGuild" + } + } + }, + { + "id": 559, + "name": "private_channels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 291, + "character": 2 + } + ], + "type": { + "type": "tuple" + } + }, + { + "id": 558, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 290, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 561, + "name": "shard", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 293, + "character": 2 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 557, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 289, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + }, + { + "id": 556, + "name": "v", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 288, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 560, + 559, + 558, + 561, + 557, + 556 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 287, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 530, + "name": "GatewayReceivePayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 189, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 532, + "name": "GatewayHello" + }, + { + "type": "reference", + "id": 538, + "name": "GatewayHeartbeatRequest" + }, + { + "type": "reference", + "id": 542, + "name": "GatewayHeartbeatAck" + }, + { + "type": "reference", + "id": 546, + "name": "GatewayInvalidSession" + }, + { + "type": "reference", + "id": 550, + "name": "GatewayReconnect" + }, + { + "type": "reference", + "id": 531, + "name": "GatewayDispatchPayload" + } + ] + } + }, + { + "id": 562, + "name": "GatewayResumedDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#resumed", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 301, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 494, + "name": "GatewayDispatchEvents.Resumed" + }, + { + "type": "intrinsic", + "name": "never" + } + ], + "name": "DataPayload" + } + }, + { + "id": 529, + "name": "GatewaySendPayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 178, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 676, + "name": "GatewayHeartbeat" + }, + { + "type": "reference", + "id": 683, + "name": "GatewayIdentify" + }, + { + "type": "reference", + "id": 720, + "name": "GatewayUpdatePresence" + }, + { + "type": "reference", + "id": 712, + "name": "GatewayVoiceStateUpdate" + }, + { + "type": "reference", + "id": 695, + "name": "GatewayResume" + }, + { + "type": "reference", + "id": 702, + "name": "GatewayRequestGuildMembers" + } + ] + } + }, + { + "id": 658, + "name": "GatewayTypingStartDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#typing-start", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 615, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 524, + "name": "GatewayDispatchEvents.TypingStart" + }, + { + "type": "reflection", + "declaration": { + "id": 659, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 660, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 618, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 661, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 619, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 664, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 622, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1225, + "name": "APIGuildMember" + } + }, + { + "id": 663, + "name": "timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 621, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 662, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 620, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 660, + 661, + 664, + 663, + 662 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 617, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 665, + "name": "GatewayUserUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#user-update", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 630, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 525, + "name": "GatewayDispatchEvents.UserUpdate" + }, + { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + ], + "name": "DataPayload" + } + }, + { + "id": 667, + "name": "GatewayVoiceServerUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#voice-server-update", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 642, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 527, + "name": "GatewayDispatchEvents.VoiceServerUpdate" + }, + { + "type": "reflection", + "declaration": { + "id": 668, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 671, + "name": "endpoint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 647, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 670, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 646, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 669, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 645, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 671, + 670, + 669 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 644, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 666, + "name": "GatewayVoiceStateUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#voice-state-update", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 636, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 526, + "name": "GatewayDispatchEvents.VoiceStateUpdate" + }, + { + "type": "reference", + "id": 1426, + "name": "GatewayVoiceState" + } + ], + "name": "DataPayload" + } + }, + { + "id": 672, + "name": "GatewayWebhooksUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#webhooks-update", + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 655, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 528, + "name": "GatewayDispatchEvents.WebhooksUpdate" + }, + { + "type": "reflection", + "declaration": { + "id": 673, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 675, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 659, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 674, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 658, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 675, + 674 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 657, + "character": 1 + } + ] + } + } + ], + "name": "DataPayload" + } + }, + { + "id": 2039, + "name": "GetAPIVoiceRegionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/voice#list-voice-regions", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/voice.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1439, + "name": "APIVoiceRegion" + } + } + }, + { + "id": 1724, + "name": "RESTDeleteAPIChannelAllMessageReactionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 198, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1723, + "name": "RESTDeleteAPIChannelMessageReactionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 193, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1716, + "name": "RESTDeleteAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 168, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1733, + "name": "RESTDeleteAPIChannelPermissionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 231, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1745, + "name": "RESTDeleteAPIChannelPinResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 272, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1750, + "name": "RESTDeleteAPIChannelRecipientResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 291, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 1682, + "name": "RESTDeleteAPIChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 80, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 851, + "name": "APIChannel" + } + }, + { + "id": 2034, + "name": "RESTDeleteAPICurrentUserGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#leave-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 64, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1870, + "name": "RESTDeleteAPIGuildBanResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#remove-guild-ban", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 292, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1766, + "name": "RESTDeleteAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#delete-guild-emoji", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/emoji.ts", + "line": 51, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1917, + "name": "RESTDeleteAPIGuildIntegrationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#delete-guild-integration", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 451, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1863, + "name": "RESTDeleteAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#remove-guild-member", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 260, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1862, + "name": "RESTDeleteAPIGuildMemberRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#remove-guild-member-role", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 254, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1824, + "name": "RESTDeleteAPIGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#delete-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 123, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1891, + "name": "RESTDeleteAPIGuildRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#delete-guild-role", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 352, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1934, + "name": "RESTDeleteAPIInviteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#delete-invite", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/invite.ts", + "line": 20, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1278, + "name": "APIInvite" + } + }, + { + "id": 2055, + "name": "RESTDeleteAPIWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#delete-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 72, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 2056, + "name": "RESTDeleteAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 77, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1656, + "name": "RESTGetAPIAuditLogResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/auditLog.ts", + "line": 17, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 732, + "name": "APIAuditLog" + } + }, + { + "id": 1734, + "name": "RESTGetAPIChannelInvitesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel-invites", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 237, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1278, + "name": "APIInvite" + } + } + }, + { + "id": 1721, + "name": "RESTGetAPIChannelMessageReactionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 183, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + } + }, + { + "id": 1713, + "name": "RESTGetAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 153, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 878, + "name": "APIMessage" + } + }, + { + "id": 1688, + "name": "RESTGetAPIChannelMessagesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 96, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 878, + "name": "APIMessage" + } + } + }, + { + "id": 1743, + "name": "RESTGetAPIChannelPinsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-pinned-messages", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 261, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 878, + "name": "APIMessage" + } + } + }, + { + "id": 1680, + "name": "RESTGetAPIChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 70, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 851, + "name": "APIChannel" + } + }, + { + "id": 2044, + "name": "RESTGetAPIChannelWebhooksResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-channel-webhooks", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 22, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1446, + "name": "APIWebhook" + } + } + }, + { + "id": 2038, + "name": "RESTGetAPICurrentUserConnectionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-user-connections", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 83, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1413, + "name": "APIConnection" + } + } + }, + { + "id": 2033, + "name": "RESTGetAPICurrentUserGuildsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 58, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2025, + "name": "RESTAPIPartialCurrentUserGuild" + } + } + }, + { + "id": 2015, + "name": "RESTGetAPICurrentUserResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-current-user", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + }, + { + "id": 1768, + "name": "RESTGetAPIGatewayBotResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway-bot", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/gateway.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1044, + "name": "APIGatewayBotInfo" + } + }, + { + "id": 1767, + "name": "RESTGetAPIGatewayResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/gateway.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1042, + "name": "APIGatewayInfo" + } + }, + { + "id": 1865, + "name": "RESTGetAPIGuildBanResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-ban", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 272, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1262, + "name": "APIBan" + } + }, + { + "id": 1864, + "name": "RESTGetAPIGuildBansResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-bans", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 266, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1262, + "name": "APIBan" + } + } + }, + { + "id": 1825, + "name": "RESTGetAPIGuildChannelsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-channels", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 129, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 851, + "name": "APIChannel" + } + } + }, + { + "id": 1756, + "name": "RESTGetAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#get-guild-emoji", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/emoji.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1033, + "name": "APIEmoji" + } + }, + { + "id": 1755, + "name": "RESTGetAPIGuildEmojisResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#list-guild-emojis", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/emoji.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1033, + "name": "APIEmoji" + } + } + }, + { + "id": 1907, + "name": "RESTGetAPIGuildIntegrationsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 416, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1233, + "name": "APIGuildIntegration" + } + } + }, + { + "id": 1904, + "name": "RESTGetAPIGuildInvitesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-invites", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 403, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1278, + "name": "APIInvite" + } + } + }, + { + "id": 1835, + "name": "RESTGetAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-member", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 168, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1225, + "name": "APIGuildMember" + } + }, + { + "id": 1839, + "name": "RESTGetAPIGuildMembersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 182, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1225, + "name": "APIGuildMember" + } + } + }, + { + "id": 1843, + "name": "RESTGetAPIGuildMembersSearchResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 195, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1225, + "name": "APIGuildMember" + } + } + }, + { + "id": 1803, + "name": "RESTGetAPIGuildPreviewResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-preview", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 87, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1211, + "name": "APIGuildPreview" + } + }, + { + "id": 1802, + "name": "RESTGetAPIGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 81, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1123, + "name": "APIGuild" + } + }, + { + "id": 1871, + "name": "RESTGetAPIGuildRolesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-roles", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 298, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1352, + "name": "APIRole" + } + } + }, + { + "id": 1903, + "name": "RESTGetAPIGuildVoiceRegionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-voice-regions", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 397, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1439, + "name": "APIVoiceRegion" + } + } + }, + { + "id": 2045, + "name": "RESTGetAPIGuildWebhooksResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-guild-webhooks", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 28, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1446, + "name": "APIWebhook" + } + } + }, + { + "id": 1930, + "name": "RESTGetAPIGuildWidgetImageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Note: while the return type is `ArrayBuffer`, the expected result is\na buffer of sorts (depends if in browser or on node.js/deno).", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 516, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "ArrayBuffer", + "package": "typescript", + "name": "ArrayBuffer" + } + }, + { + "id": 1919, + "name": "RESTGetAPIGuildWidgetResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Renamed to RESTGetAPIGuildWidgetSettingsResult" + }, + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 463, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1222, + "name": "APIGuildWidgetSettings" + } + }, + { + "id": 1920, + "name": "RESTGetAPIGuildWidgetSettingsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-settings", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 469, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1222, + "name": "APIGuildWidgetSettings" + } + }, + { + "id": 1933, + "name": "RESTGetAPIInviteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/invite.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1278, + "name": "APIInvite" + } + }, + { + "id": 1935, + "name": "RESTGetAPIOauth2CurrentApplicationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#get-current-application-information", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1303, + "name": "APIApplication" + } + }, + { + "id": 2016, + "name": "RESTGetAPIUserResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-user", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + }, + { + "id": 2046, + "name": "RESTGetAPIWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 34, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1446, + "name": "APIWebhook" + } + }, + { + "id": 2047, + "name": "RESTGetAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-webhook-with-token", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 40, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1446, + "name": "APIWebhook" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 1974, + "name": "RESTOAuth2ImplicitAuthorizationURIFragmentResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#implicit-grant-redirect-url-example", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 88, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1953, + "name": "RESTPostOAuth2AccessTokenResult" + }, + { + "type": "literal", + "value": "refresh_token" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 1715, + "name": "RESTPatchAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 163, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 878, + "name": "APIMessage" + } + }, + { + "id": 1681, + "name": "RESTPatchAPIChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 75, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 851, + "name": "APIChannel" + } + }, + { + "id": 1860, + "name": "RESTPatchAPICurrentGuildMemberNicknameResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 242, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1858, + "name": "RESTPatchAPICurrentGuildMemberNicknameJSONBody" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + }, + { + "id": 2020, + "name": "RESTPatchAPICurrentUserResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 27, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1380, + "name": "APIUser" + } + }, + { + "id": 1828, + "name": "RESTPatchAPIGuildChannelPositionsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-channel-positions", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 152, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 1829, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1830, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 153, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1832, + "name": "lock_permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 155, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1833, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 156, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 1831, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 154, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1830, + 1832, + 1833, + 1831 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 152, + "character": 62 + } + ] + } + } + } + }, + { + "id": 1834, + "name": "RESTPatchAPIGuildChannelPositionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 162, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1765, + "name": "RESTPatchAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/emoji.ts", + "line": 45, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1033, + "name": "APIEmoji" + } + }, + { + "id": 1916, + "name": "RESTPatchAPIGuildIntegrationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 445, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1857, + "name": "RESTPatchAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 229, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1823, + "name": "RESTPatchAPIGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 117, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1123, + "name": "APIGuild" + } + }, + { + "id": 1879, + "name": "RESTPatchAPIGuildRolePositionsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-role-positions", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 321, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 1880, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1881, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 322, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1882, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 323, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1881, + 1882 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 321, + "character": 59 + } + ] + } + } + } + }, + { + "id": 1883, + "name": "RESTPatchAPIGuildRolePositionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 329, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1352, + "name": "APIRole" + } + } + }, + { + "id": 1890, + "name": "RESTPatchAPIGuildRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 346, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1352, + "name": "APIRole" + } + }, + { + "id": 1921, + "name": "RESTPatchAPIGuildWidgetJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Renamed to RESTPatchAPIGuildWidgetSettingsJSONBody" + }, + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 475, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1222, + "name": "APIGuildWidgetSettings" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 1923, + "name": "RESTPatchAPIGuildWidgetResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Use `RESTPatchAPIGuildWidgetSettingsResult` instead" + }, + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 487, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1222, + "name": "APIGuildWidgetSettings" + } + }, + { + "id": 1922, + "name": "RESTPatchAPIGuildWidgetSettingsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-widget", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 481, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1222, + "name": "APIGuildWidgetSettings" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 1924, + "name": "RESTPatchAPIGuildWidgetSettingsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 492, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1222, + "name": "APIGuildWidgetSettings" + } + }, + { + "id": 2052, + "name": "RESTPatchAPIWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 55, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1446, + "name": "APIWebhook" + } + }, + { + "id": 2053, + "name": "RESTPatchAPIWebhookWithTokenJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#modify-webhook-with-token", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 61, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2048, + "name": "RESTPatchAPIWebhookJSONBody" + }, + { + "type": "literal", + "value": "channel_id" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 2054, + "name": "RESTPatchAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 66, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1446, + "name": "APIWebhook" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 1754, + "name": "RESTPostAPIChannelFollowersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 310, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1026, + "name": "APIFollowedChannel" + } + }, + { + "id": 1751, + "name": "RESTPostAPIChannelMessageCrosspostResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 298, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 878, + "name": "APIMessage" + } + }, + { + "id": 1696, + "name": "RESTPostAPIChannelMessageFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-message", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 115, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1697, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1699, + "name": "file", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The file contents" + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 124, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 1698, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 120, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1699, + 1698 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 116, + "character": 3 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1700, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1705, + "name": "allowed_mentions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 131, + "character": 3 + } + ], + "type": { + "type": "reference", + "id": 1666, + "name": "APIAllowedMentionsSend" + } + }, + { + "id": 1701, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 127, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1704, + "name": "embed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 130, + "character": 3 + } + ], + "type": { + "type": "reference", + "id": 962, + "name": "APIEmbed" + } + }, + { + "id": 1707, + "name": "file", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The file contents" + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 136, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 1706, + "name": "message_reference", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 132, + "character": 3 + } + ], + "type": { + "type": "reference", + "id": 933, + "name": "APIMessageReference" + } + }, + { + "id": 1702, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 128, + "character": 3 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1703, + "name": "tts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 129, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1705, + 1701, + 1704, + 1707, + 1706, + 1702, + 1703 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 126, + "character": 3 + } + ] + } + } + ] + } + }, + { + "id": 1714, + "name": "RESTPostAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 158, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 878, + "name": "APIMessage" + } + }, + { + "id": 1727, + "name": "RESTPostAPIChannelMessagesBulkDeleteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 211, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1742, + "name": "RESTPostAPIChannelTypingResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#trigger-typing-indicator", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 255, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 2043, + "name": "RESTPostAPIChannelWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1446, + "name": "APIWebhook" + } + }, + { + "id": 2037, + "name": "RESTPostAPICurrentUserCreateDMChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/user.ts", + "line": 77, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 851, + "name": "APIChannel" + } + }, + { + "id": 1826, + "name": "RESTPostAPIGuildChannelJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-channel", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 135, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 851, + "name": "APIChannel" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "type" + }, + { + "type": "literal", + "value": "permission_overwrites" + }, + { + "type": "literal", + "value": "topic" + }, + { + "type": "literal", + "value": "nsfw" + }, + { + "type": "literal", + "value": "bitrate" + }, + { + "type": "literal", + "value": "user_limit" + }, + { + "type": "literal", + "value": "rate_limit_per_user" + }, + { + "type": "literal", + "value": "parent_id" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 851, + "name": "APIChannel" + }, + { + "type": "literal", + "value": "name" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 1827, + "name": "RESTPostAPIGuildChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 146, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 851, + "name": "APIChannel" + } + }, + { + "id": 1761, + "name": "RESTPostAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/emoji.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1033, + "name": "APIEmoji" + } + }, + { + "id": 1911, + "name": "RESTPostAPIGuildIntegrationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 430, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1918, + "name": "RESTPostAPIGuildIntegrationSyncResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#sync-guild-integration", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 457, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1878, + "name": "RESTPostAPIGuildRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 315, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1352, + "name": "APIRole" + } + }, + { + "id": 1799, + "name": "RESTPostAPIGuildsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 68, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1123, + "name": "APIGuild" + } + }, + { + "id": 2064, + "name": "RESTPostAPIWebhookWithTokenFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 96, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 2065, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 2067, + "name": "file", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The file contents" + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 105, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 2066, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 101, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2067, + 2066 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 97, + "character": 3 + } + ] + } + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 2057, + "name": "RESTPostAPIWebhookWithTokenJSONBody" + }, + { + "type": "reflection", + "declaration": { + "id": 2068, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 2069, + "name": "file", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The file contents" + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 111, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2069 + ] + } + ], + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 107, + "character": 42 + } + ] + } + } + ] + } + ] + } + }, + { + "id": 2075, + "name": "RESTPostAPIWebhookWithTokenGitHubQuery", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook-querystring-params", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 146, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2070, + "name": "RESTPostAPIWebhookWithTokenQuery" + } + }, + { + "id": 2072, + "name": "RESTPostAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 125, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 2074, + "name": "RESTPostAPIWebhookWithTokenSlackQuery", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook-querystring-params", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 140, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2070, + "name": "RESTPostAPIWebhookWithTokenQuery" + } + }, + { + "id": 2073, + "name": "RESTPostAPIWebhookWithTokenWaitResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Received when a call to POST `/webhooks/{webhook.id}/{webhook.token}` receives\nthe `wait` query parameter set to `true`", + "tags": [ + { + "tag": "see", + "text": "https://discord.com/developers/docs/resources/webhook#execute-webhook-querystring-params" + }, + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/webhook.ts", + "line": 134, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 878, + "name": "APIMessage" + } + }, + { + "id": 2014, + "name": "RESTPostOAuth2AccessTokenWithBotAndGuildsAndWebhookIncomingScopeResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 180, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 2000, + "name": "RESTPostOAuth2AccessTokenWithBotAndGuildsScopeResult" + }, + { + "type": "reference", + "id": 2007, + "name": "RESTPostOAuth2AccessTokenWithBotAndWebhookIncomingScopeResult" + } + ] + } + }, + { + "id": 1980, + "name": "RESTPostOAuth2ClientCredentialsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 104, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1974, + "name": "RESTOAuth2ImplicitAuthorizationURIFragmentResult" + } + }, + { + "id": 1966, + "name": "RESTPostOAuth2RefreshTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/oauth2.ts", + "line": 69, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 1953, + "name": "RESTPostOAuth2AccessTokenResult" + } + }, + { + "id": 1722, + "name": "RESTPutAPIChannelMessageReactionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 188, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1732, + "name": "RESTPutAPIChannelPermissionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 226, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1744, + "name": "RESTPutAPIChannelPinResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#add-pinned-channel-message", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 267, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1749, + "name": "RESTPutAPIChannelRecipientResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/channel.ts", + "line": 286, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 1869, + "name": "RESTPutAPIGuildBanResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 286, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1850, + "name": "RESTPutAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 212, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 1225, + "name": "APIGuildMember" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + }, + { + "id": 1861, + "name": "RESTPutAPIGuildMemberRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#add-guild-member-role", + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/guild.ts", + "line": 248, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 1461, + "name": "APIVersion", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 17, + "character": 13 + } + ], + "type": { + "type": "literal", + "value": "6" + }, + "defaultValue": "'6'" + }, + { + "id": 424, + "name": "GatewayVersion", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Gateway v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v6.ts", + "line": 26, + "character": 13 + } + ], + "type": { + "type": "literal", + "value": "6" + }, + "defaultValue": "'6'" + }, + { + "id": 1319, + "name": "PermissionFlagsBits", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags", + "text": "These flags are exported as `BigInt`s and NOT numbers. For most of them, you can\nconvert them in a number by wrapping it in `Number()`, however be careful as any\nfurther bits added may cause issues if done so. Try to use BigInts as much as possible\nor modules that can replicate them in some way.", + "tags": [ + { + "tag": "deprecated", + "text": "API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 14, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1320, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1327, + "name": "ADD_REACTIONS", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "64", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1324, + "name": "ADMINISTRATOR", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "8", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1336, + "name": "ATTACH_FILES", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "32768", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1323, + "name": "BAN_MEMBERS", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "4", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1347, + "name": "CHANGE_NICKNAME", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "67108864", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1341, + "name": "CONNECT", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "1048576", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1321, + "name": "CREATE_INSTANT_INVITE", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "1", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1344, + "name": "DEAFEN_MEMBERS", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "8388608", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1335, + "name": "EMBED_LINKS", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "16384", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1322, + "name": "KICK_MEMBERS", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "2", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1325, + "name": "MANAGE_CHANNELS", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "16", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1351, + "name": "MANAGE_EMOJIS", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "1073741824", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1326, + "name": "MANAGE_GUILD", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "32", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1334, + "name": "MANAGE_MESSAGES", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "8192", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1348, + "name": "MANAGE_NICKNAMES", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "134217728", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1349, + "name": "MANAGE_ROLES", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 43, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "268435456", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1350, + "name": "MANAGE_WEBHOOKS", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "536870912", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1338, + "name": "MENTION_EVERYONE", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "131072", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1345, + "name": "MOVE_MEMBERS", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "16777216", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1343, + "name": "MUTE_MEMBERS", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "4194304", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1329, + "name": "PRIORITY_SPEAKER", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "256", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1337, + "name": "READ_MESSAGE_HISTORY", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "65536", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1332, + "name": "SEND_MESSAGES", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "2048", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1333, + "name": "SEND_TTS_MESSAGES", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "4096", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1342, + "name": "SPEAK", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "2097152", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1330, + "name": "STREAM", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "512", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1339, + "name": "USE_EXTERNAL_EMOJIS", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "262144", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1346, + "name": "USE_VAD", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "33554432", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1328, + "name": "VIEW_AUDIT_LOG", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "128", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1331, + "name": "VIEW_CHANNEL", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "1024", + "negative": false + } + }, + "defaultValue": "..." + }, + { + "id": 1340, + "name": "VIEW_GUILD_INSIGHTS", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v6/permissions.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": { + "value": "524288", + "negative": false + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1327, + 1324, + 1336, + 1323, + 1347, + 1341, + 1321, + 1344, + 1335, + 1322, + 1325, + 1351, + 1326, + 1334, + 1348, + 1349, + 1350, + 1338, + 1345, + 1343, + 1329, + 1337, + 1332, + 1333, + 1342, + 1330, + 1339, + 1346, + 1328, + 1331, + 1340 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 1462, + "name": "Routes", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API v6 is deprecated and the types will not receive further updates, please update to v8.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 22, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1463, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1467, + "name": "channel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 37, + "character": 1 + } + ], + "signatures": [ + { + "id": 1468, + "name": "channel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}`\n- PATCH `/channels/{channel.id}`\n- DELETE `/channels/{channel.id}`" + }, + "parameters": [ + { + "id": 1469, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1501, + "name": "channelBulkDelete", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 112, + "character": 1 + } + ], + "signatures": [ + { + "id": 1502, + "name": "channelBulkDelete", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/messages/bulk-delete`" + }, + "parameters": [ + { + "id": 1503, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1477, + "name": "channelCrosspost", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 64, + "character": 1 + } + ], + "signatures": [ + { + "id": 1478, + "name": "channelCrosspost", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/messages/{message.id}/crosspost`" + }, + "parameters": [ + { + "id": 1479, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1480, + "name": "messageID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1511, + "name": "channelFollowers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 138, + "character": 1 + } + ], + "signatures": [ + { + "id": 1512, + "name": "channelFollowers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/followers`" + }, + "parameters": [ + { + "id": 1513, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1508, + "name": "channelInvite", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 130, + "character": 1 + } + ], + "signatures": [ + { + "id": 1509, + "name": "channelInvite", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/invites`\n- POST `/channels/{channel.id}/invites`" + }, + "parameters": [ + { + "id": 1510, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1473, + "name": "channelMessage", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 56, + "character": 1 + } + ], + "signatures": [ + { + "id": 1474, + "name": "channelMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/messages/{message.id}`\n- PATCH `/channels/{channel.id}/messages/{message.id}`\n- DELETE `/channels/{channel.id}/messages/{message.id}`" + }, + "parameters": [ + { + "id": 1475, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1476, + "name": "messageID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1497, + "name": "channelMessageAllReactions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 104, + "character": 1 + } + ], + "signatures": [ + { + "id": 1498, + "name": "channelMessageAllReactions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions`" + }, + "parameters": [ + { + "id": 1499, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1500, + "name": "messageID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1481, + "name": "channelMessageOwnReaction", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 75, + "character": 1 + } + ], + "signatures": [ + { + "id": 1482, + "name": "channelMessageOwnReaction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me`\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me`", + "text": "**Note**: You need to URL encode the emoji yourself.\n" + }, + "parameters": [ + { + "id": 1483, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1484, + "name": "messageID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1485, + "name": "emoji", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1492, + "name": "channelMessageSpecificReaction", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 96, + "character": 1 + } + ], + "signatures": [ + { + "id": 1493, + "name": "channelMessageSpecificReaction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}`\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}`", + "text": "**Note**: You need to URL encode the emoji yourself.\n" + }, + "parameters": [ + { + "id": 1494, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1495, + "name": "messageID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1496, + "name": "emoji", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1486, + "name": "channelMessageUserReaction", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 85, + "character": 1 + } + ], + "signatures": [ + { + "id": 1487, + "name": "channelMessageUserReaction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/{user.id}`", + "text": "**Note**: You need to URL encode the emoji yourself.\n" + }, + "parameters": [ + { + "id": 1488, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1489, + "name": "messageID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1490, + "name": "emoji", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1491, + "name": "userID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1470, + "name": "channelMessages", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 46, + "character": 1 + } + ], + "signatures": [ + { + "id": 1471, + "name": "channelMessages", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/messages`\n- POST `/channels/{channel.id}/messages`" + }, + "parameters": [ + { + "id": 1472, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1504, + "name": "channelPermissions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 121, + "character": 1 + } + ], + "signatures": [ + { + "id": 1505, + "name": "channelPermissions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/permissions/{overwrite.id}`\n- DELETE `/channels/{channel.id}/permissions/{overwrite.id}`" + }, + "parameters": [ + { + "id": 1506, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1507, + "name": "overwriteID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1520, + "name": "channelPin", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 163, + "character": 1 + } + ], + "signatures": [ + { + "id": 1521, + "name": "channelPin", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/pins/{message.id}`\n- DELETE `/channels/{channel.id}/pins/{message.id}`" + }, + "parameters": [ + { + "id": 1522, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1523, + "name": "messageID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1517, + "name": "channelPins", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 154, + "character": 1 + } + ], + "signatures": [ + { + "id": 1518, + "name": "channelPins", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/pins`" + }, + "parameters": [ + { + "id": 1519, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1524, + "name": "channelRecipient", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 172, + "character": 1 + } + ], + "signatures": [ + { + "id": 1525, + "name": "channelRecipient", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/recipients/{user.id}`\n- DELETE `/channels/{channel.id}/recipients/{user.id}`" + }, + "parameters": [ + { + "id": 1526, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1527, + "name": "userID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1514, + "name": "channelTyping", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 146, + "character": 1 + } + ], + "signatures": [ + { + "id": 1515, + "name": "channelTyping", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/typing`" + }, + "parameters": [ + { + "id": 1516, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1627, + "name": "channelWebhook", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 459, + "character": 1 + } + ], + "signatures": [ + { + "id": 1628, + "name": "channelWebhook", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/webhooks`\n- GET `/channels/{channel.id}/webhooks`" + }, + "parameters": [ + { + "id": 1629, + "name": "channelID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1642, + "name": "gateway", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 502, + "character": 1 + } + ], + "signatures": [ + { + "id": 1643, + "name": "gateway", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/gateway`" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1644, + "name": "gatewayBot", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 510, + "character": 1 + } + ], + "signatures": [ + { + "id": 1645, + "name": "gatewayBot", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/gateway/bot`" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1537, + "name": "guild", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 209, + "character": 1 + } + ], + "signatures": [ + { + "id": 1538, + "name": "guild", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}`\n- PATCH `/guilds/{guild.id}`\n- DELETE `/guilds/{guild.id}`" + }, + "parameters": [ + { + "id": 1539, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1464, + "name": "guildAuditLog", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 27, + "character": 1 + } + ], + "signatures": [ + { + "id": 1465, + "name": "guildAuditLog", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/audit-logs`" + }, + "parameters": [ + { + "id": 1466, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1567, + "name": "guildBan", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 289, + "character": 1 + } + ], + "signatures": [ + { + "id": 1568, + "name": "guildBan", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/bans/{user.id}`\n- PUT `/guilds/{guild.id}/bans/{user.id}`\n- DELETE `/guilds/{guild.id}/bans/{user.id}`" + }, + "parameters": [ + { + "id": 1569, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1570, + "name": "userID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1564, + "name": "guildBans", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 279, + "character": 1 + } + ], + "signatures": [ + { + "id": 1565, + "name": "guildBans", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/bans`" + }, + "parameters": [ + { + "id": 1566, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1543, + "name": "guildChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 227, + "character": 1 + } + ], + "signatures": [ + { + "id": 1544, + "name": "guildChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/channels`\n- POST `/guilds/{guild.id}/channels`\n- PATCH `/guilds/{guild.id}/channels`" + }, + "parameters": [ + { + "id": 1545, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1556, + "name": "guildCurrentMemberNickname", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 262, + "character": 1 + } + ], + "signatures": [ + { + "id": 1557, + "name": "guildCurrentMemberNickname", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PATCH `/guilds/{guild.id}/members/@me/nick`" + }, + "parameters": [ + { + "id": 1558, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1531, + "name": "guildEmoji", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 191, + "character": 1 + } + ], + "signatures": [ + { + "id": 1532, + "name": "guildEmoji", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/emojis/{emoji.id}`\n- PATCH `/guilds/{guild.id}/emojis/{emoji.id}`\n- DELETE `/guilds/{guild.id}/emojis/{emoji.id}`" + }, + "parameters": [ + { + "id": 1533, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1534, + "name": "emojiID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1528, + "name": "guildEmojis", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 181, + "character": 1 + } + ], + "signatures": [ + { + "id": 1529, + "name": "guildEmojis", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/emojis`\n- POST `/guilds/{guild.id}/emojis`" + }, + "parameters": [ + { + "id": 1530, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1590, + "name": "guildIntegration", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 351, + "character": 1 + } + ], + "signatures": [ + { + "id": 1591, + "name": "guildIntegration", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PATCH `/guilds/{guild.id}/integrations/{integration.id}`\n- DELETE `/guilds/{guild.id}/integrations/{integration.id}`" + }, + "parameters": [ + { + "id": 1592, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1593, + "name": "integrationID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1594, + "name": "guildIntegrationSync", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 359, + "character": 1 + } + ], + "signatures": [ + { + "id": 1595, + "name": "guildIntegrationSync", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/guilds/{guild.id}/integrations/{integration.id}/sync`" + }, + "parameters": [ + { + "id": 1596, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1597, + "name": "integrationID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1587, + "name": "guildIntegrations", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 342, + "character": 1 + } + ], + "signatures": [ + { + "id": 1588, + "name": "guildIntegrations", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/integrations`\n- POST `/guilds/{guild.id}/integrations`" + }, + "parameters": [ + { + "id": 1589, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1584, + "name": "guildInvites", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 333, + "character": 1 + } + ], + "signatures": [ + { + "id": 1585, + "name": "guildInvites", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/invites`" + }, + "parameters": [ + { + "id": 1586, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1546, + "name": "guildMember", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 238, + "character": 1 + } + ], + "signatures": [ + { + "id": 1547, + "name": "guildMember", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/members/{user.id}`\n- PUT `/guilds/{guild.id}/members/{user.id}`\n- PATCH `/guilds/{guild.id}/members/{user.id}`\n- DELETE `/guilds/{guild.id}/members/{user.id}`" + }, + "parameters": [ + { + "id": 1548, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1549, + "name": "userID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1559, + "name": "guildMemberRole", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 271, + "character": 1 + } + ], + "signatures": [ + { + "id": 1560, + "name": "guildMemberRole", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/guilds/{guild.id}/members/{user.id}/roles/{role.id}`\n- DELETE `/guilds/{guild.id}/members/{user.id}/roles/{role.id}`" + }, + "parameters": [ + { + "id": 1561, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1562, + "name": "memberID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1563, + "name": "roleID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1550, + "name": "guildMembers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 246, + "character": 1 + } + ], + "signatures": [ + { + "id": 1551, + "name": "guildMembers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/members`" + }, + "parameters": [ + { + "id": 1552, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1553, + "name": "guildMembersSearch", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 254, + "character": 1 + } + ], + "signatures": [ + { + "id": 1554, + "name": "guildMembersSearch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/members/search`" + }, + "parameters": [ + { + "id": 1555, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1540, + "name": "guildPreview", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 217, + "character": 1 + } + ], + "signatures": [ + { + "id": 1541, + "name": "guildPreview", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/preview`" + }, + "parameters": [ + { + "id": 1542, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1578, + "name": "guildPrune", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 317, + "character": 1 + } + ], + "signatures": [ + { + "id": 1579, + "name": "guildPrune", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/prune`\n- POST `/guilds/{guild.id}/prune`" + }, + "parameters": [ + { + "id": 1580, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1574, + "name": "guildRole", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 308, + "character": 1 + } + ], + "signatures": [ + { + "id": 1575, + "name": "guildRole", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PATCH `/guilds/{guild.id}/roles/{role.id}`\n- DELETE `/guilds/{guild.id}/roles/{role.id}`" + }, + "parameters": [ + { + "id": 1576, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1577, + "name": "roleID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1571, + "name": "guildRoles", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 299, + "character": 1 + } + ], + "signatures": [ + { + "id": 1572, + "name": "guildRoles", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/roles`\n- POST `/guilds/{guild.id}/roles`\n- PATCH `/guilds/{guild.id}/roles`" + }, + "parameters": [ + { + "id": 1573, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1604, + "name": "guildVanityUrl", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 383, + "character": 1 + } + ], + "signatures": [ + { + "id": 1605, + "name": "guildVanityUrl", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/vanity-url`" + }, + "parameters": [ + { + "id": 1606, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1581, + "name": "guildVoiceRegions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 325, + "character": 1 + } + ], + "signatures": [ + { + "id": 1582, + "name": "guildVoiceRegions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/regions`" + }, + "parameters": [ + { + "id": 1583, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1630, + "name": "guildWebhooks", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 467, + "character": 1 + } + ], + "signatures": [ + { + "id": 1631, + "name": "guildWebhooks", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/webhooks`" + }, + "parameters": [ + { + "id": 1632, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1598, + "name": "guildWidget", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 366, + "character": 1 + } + ], + "signatures": [ + { + "id": 1599, + "name": "guildWidget", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Use `guildWidgetSettings` instead\n" + } + ] + }, + "parameters": [ + { + "id": 1600, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1607, + "name": "guildWidgetImage", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 391, + "character": 1 + } + ], + "signatures": [ + { + "id": 1608, + "name": "guildWidgetImage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/widget.png`" + }, + "parameters": [ + { + "id": 1609, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1601, + "name": "guildWidgetSettings", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 375, + "character": 1 + } + ], + "signatures": [ + { + "id": 1602, + "name": "guildWidgetSettings", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/widget`\n- PATCH `/guilds/{guild.id}/widget`" + }, + "parameters": [ + { + "id": 1603, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1535, + "name": "guilds", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 199, + "character": 1 + } + ], + "signatures": [ + { + "id": 1536, + "name": "guilds", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/guilds`" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1610, + "name": "invite", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 400, + "character": 1 + } + ], + "signatures": [ + { + "id": 1611, + "name": "invite", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/invites/{invite.code}`\n- DELETE `/invites/{invite.code}`" + }, + "parameters": [ + { + "id": 1612, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1646, + "name": "oauth2CurrentApplication", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 518, + "character": 1 + } + ], + "signatures": [ + { + "id": 1647, + "name": "oauth2CurrentApplication", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/oauth2/applications/@me`" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1613, + "name": "user", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 410, + "character": 1 + } + ], + "signatures": [ + { + "id": 1614, + "name": "user", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me`\n- GET `/users/{user.id}`\n- PATCH `/users/@me`" + }, + "parameters": [ + { + "id": 1615, + "name": "userID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'@me'" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1621, + "name": "userChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 434, + "character": 1 + } + ], + "signatures": [ + { + "id": 1622, + "name": "userChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/users/@me/channels`" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1623, + "name": "userConnections", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 442, + "character": 1 + } + ], + "signatures": [ + { + "id": 1624, + "name": "userConnections", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me/connections`" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1618, + "name": "userGuild", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 426, + "character": 1 + } + ], + "signatures": [ + { + "id": 1619, + "name": "userGuild", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/users/@me/guilds/{guild.id}`" + }, + "parameters": [ + { + "id": 1620, + "name": "guildID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1616, + "name": "userGuilds", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 418, + "character": 1 + } + ], + "signatures": [ + { + "id": 1617, + "name": "userGuilds", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me/guilds`" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1625, + "name": "voiceRegions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 450, + "character": 1 + } + ], + "signatures": [ + { + "id": 1626, + "name": "voiceRegions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/voice/regions`" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1633, + "name": "webhook", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 481, + "character": 1 + } + ], + "signatures": [ + { + "id": 1634, + "name": "webhook", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/webhooks/{webhook.id}`\n- GET `/webhooks/{webhook.id}/{webhook.token}`\n- PATCH `/webhooks/{webhook.id}`\n- PATCH `/webhooks/{webhook.id}/{webhook.token}`\n- DELETE `/webhooks/{webhook.id}`\n- DELETE `/webhooks/{webhook.id}/{webhook.token}`\n- POST `/webhooks/{webhook.id}/{webhook.token}`" + }, + "parameters": [ + { + "id": 1635, + "name": "webhookID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1636, + "name": "webhookToken", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1637, + "name": "webhookPlatform", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v6/index.ts", + "line": 494, + "character": 1 + } + ], + "signatures": [ + { + "id": 1638, + "name": "webhookPlatform", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/webhooks/{webhook.id}/{webhook.token}/slack`\n- POST `/webhooks/{webhook.id}/{webhook.token}/github`" + }, + "parameters": [ + { + "id": 1639, + "name": "webhookID", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1640, + "name": "webhookToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1641, + "name": "platform", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "github" + }, + { + "type": "literal", + "value": "slack" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "kind": 2048, + "children": [ + 1467, + 1501, + 1477, + 1511, + 1508, + 1473, + 1497, + 1481, + 1492, + 1486, + 1470, + 1504, + 1520, + 1517, + 1524, + 1514, + 1627, + 1642, + 1644, + 1537, + 1464, + 1567, + 1564, + 1543, + 1556, + 1531, + 1528, + 1590, + 1594, + 1587, + 1584, + 1546, + 1559, + 1550, + 1553, + 1540, + 1578, + 1574, + 1571, + 1604, + 1581, + 1630, + 1598, + 1607, + 1601, + 1535, + 1610, + 1646, + 1613, + 1621, + 1623, + 1618, + 1616, + 1625, + 1633, + 1637 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "References", + "kind": 16777216, + "children": [ + 731, + 728, + 1649, + 1650, + 1648, + 729 + ] + }, + { + "title": "Enumerations", + "kind": 8, + "children": [ + 1101, + 1086, + 1662, + 745, + 790, + 870, + 1423, + 976, + 437, + 492, + 476, + 425, + 1172, + 1175, + 1196, + 1179, + 1188, + 1193, + 1182, + 1265, + 1249, + 1287, + 937, + 942, + 906, + 959, + 1064, + 1377, + 1394, + 1409, + 464, + 452, + 1458 + ] + }, + { + "title": "Interfaces", + "kind": 256, + "children": [ + 1666, + 1303, + 1013, + 732, + 839, + 737, + 781, + 1262, + 851, + 1021, + 1413, + 962, + 1000, + 1009, + 1005, + 992, + 997, + 983, + 988, + 1033, + 1289, + 1026, + 1044, + 1042, + 1048, + 1123, + 1769, + 1780, + 1233, + 1255, + 1225, + 1211, + 1271, + 1274, + 1222, + 1252, + 1278, + 878, + 924, + 927, + 933, + 952, + 1657, + 847, + 1029, + 1111, + 948, + 1352, + 1363, + 1367, + 1372, + 1108, + 1380, + 1439, + 1446, + 1071, + 1096, + 1092, + 676, + 542, + 538, + 532, + 683, + 679, + 546, + 1052, + 723, + 550, + 702, + 695, + 720, + 1426, + 712, + 2025, + 1651, + 1717, + 1683, + 2021, + 1905, + 1836, + 1840, + 1892, + 1895, + 1800, + 1925, + 1928, + 1931, + 1987, + 1995, + 1936, + 1943, + 1981, + 1967, + 1670, + 1708, + 1858, + 2017, + 1762, + 1912, + 1804, + 1851, + 1884, + 2048, + 1752, + 1735, + 1689, + 1725, + 2040, + 2035, + 1757, + 1908, + 1897, + 1901, + 1872, + 1787, + 2057, + 2070, + 1953, + 1946, + 2000, + 2007, + 1975, + 1959, + 1728, + 1746, + 1866, + 1844 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 793, + 806, + 807, + 799, + 800, + 824, + 825, + 817, + 838, + 814, + 829, + 828, + 821, + 835, + 804, + 826, + 827, + 844, + 845, + 846, + 803, + 822, + 795, + 830, + 801, + 833, + 831, + 823, + 836, + 816, + 794, + 837, + 797, + 815, + 819, + 820, + 812, + 808, + 818, + 798, + 796, + 811, + 834, + 813, + 843, + 832, + 805, + 802, + 810, + 809, + 1774, + 1221, + 1099, + 1095, + 1100, + 564, + 566, + 563, + 567, + 565, + 531, + 580, + 576, + 581, + 573, + 575, + 582, + 586, + 589, + 592, + 596, + 599, + 572, + 612, + 614, + 608, + 613, + 574, + 618, + 631, + 636, + 646, + 641, + 651, + 653, + 652, + 654, + 637, + 1070, + 657, + 554, + 530, + 562, + 529, + 658, + 665, + 667, + 666, + 672, + 2039, + 1724, + 1723, + 1716, + 1733, + 1745, + 1750, + 1682, + 2034, + 1870, + 1766, + 1917, + 1863, + 1862, + 1824, + 1891, + 1934, + 2055, + 2056, + 1656, + 1734, + 1721, + 1713, + 1688, + 1743, + 1680, + 2044, + 2038, + 2033, + 2015, + 1768, + 1767, + 1865, + 1864, + 1825, + 1756, + 1755, + 1907, + 1904, + 1835, + 1839, + 1843, + 1803, + 1802, + 1871, + 1903, + 2045, + 1930, + 1919, + 1920, + 1933, + 1935, + 2016, + 2046, + 2047, + 1974, + 1715, + 1681, + 1860, + 2020, + 1828, + 1834, + 1765, + 1916, + 1857, + 1823, + 1879, + 1883, + 1890, + 1921, + 1923, + 1922, + 1924, + 2052, + 2053, + 2054, + 1754, + 1751, + 1696, + 1714, + 1727, + 1742, + 2043, + 2037, + 1826, + 1827, + 1761, + 1911, + 1918, + 1878, + 1799, + 2064, + 2075, + 2072, + 2074, + 2073, + 2014, + 1980, + 1966, + 1722, + 1732, + 1744, + 1749, + 1869, + 1850, + 1861 + ] + }, + { + "title": "Variables", + "kind": 32, + "children": [ + 1461, + 424, + 1319, + 1462 + ] + } + ], + "sources": [ + { + "fileName": "v6.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 285, + "name": "v8", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 2457, + "name": "FormattingPatterns", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 4 + }, + { + "id": 2454, + "name": "GatewayURLQuery", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 18 + }, + { + "id": 4166, + "name": "Locale", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 227 + }, + { + "id": 4167, + "name": "LocaleString", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 258 + }, + { + "id": 2459, + "name": "LocalizationMap", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 66 + }, + { + "id": 2458, + "name": "PermissionFlagsBits", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 23 + }, + { + "id": 4165, + "name": "RESTJSONErrorCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 68 + }, + { + "id": 4780, + "name": "RPCCloseEventCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 277 + }, + { + "id": 4779, + "name": "RPCErrorCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 260 + }, + { + "id": 2455, + "name": "Snowflake", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 2 + }, + { + "id": 2076, + "name": "Utils", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "sources": [ + { + "fileName": "v8.ts", + "line": 6, + "character": 12 + } + ], + "target": 319 + }, + { + "id": 3043, + "name": "ActivityFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-flags", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3052, + "name": "Embedded", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 322, + "character": 1 + } + ], + "defaultValue": "256" + }, + { + "id": 3044, + "name": "Instance", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 314, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3045, + "name": "Join", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 315, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3047, + "name": "JoinRequest", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 317, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 3050, + "name": "PartyPrivacyFriends", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 320, + "character": 1 + } + ], + "defaultValue": "64" + }, + { + "id": 3051, + "name": "PartyPrivacyVoiceChannel", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 321, + "character": 1 + } + ], + "defaultValue": "128" + }, + { + "id": 3049, + "name": "Play", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 319, + "character": 1 + } + ], + "defaultValue": "32" + }, + { + "id": 3046, + "name": "Spectate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 316, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 3048, + "name": "Sync", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 318, + "character": 1 + } + ], + "defaultValue": "16" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3052, + 3044, + 3045, + 3047, + 3050, + 3051, + 3049, + 3046, + 3048 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 313, + "character": 12 + } + ] + }, + { + "id": 3023, + "name": "ActivityPlatform", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3024, + "name": "Desktop", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 223, + "character": 1 + } + ], + "defaultValue": "\"desktop\"" + }, + { + "id": 3025, + "name": "Samsung", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 224, + "character": 1 + } + ], + "defaultValue": "\"samsung\"" + }, + { + "id": 3026, + "name": "Xbox", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 225, + "character": 1 + } + ], + "defaultValue": "\"xbox\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3024, + 3025, + 3026 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 222, + "character": 12 + } + ] + }, + { + "id": 3027, + "name": "ActivityType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3033, + "name": "Competing", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Competing in {name}" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 256, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 3032, + "name": "Custom", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "{emoji} {details}" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 252, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 3030, + "name": "Listening", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Listening to {name}" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 244, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3028, + "name": "Playing", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Playing {game}" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 236, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 3029, + "name": "Streaming", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Streaming {details}" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 240, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3031, + "name": "Watching", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Watching {details}" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 248, + "character": 1 + } + ], + "defaultValue": "3" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3033, + 3032, + 3030, + 3028, + 3029, + 3031 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 232, + "character": 12 + } + ] + }, + { + "id": 2885, + "name": "AllowedMentionsTypes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mention-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2886, + "name": "Everyone", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Controls @everyone and @here mentions" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1014, + "character": 1 + } + ], + "defaultValue": "\"everyone\"" + }, + { + "id": 2887, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Controls role mentions" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1018, + "character": 1 + } + ], + "defaultValue": "\"roles\"" + }, + { + "id": 2888, + "name": "User", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Controls user mentions" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1022, + "character": 1 + } + ], + "defaultValue": "\"users\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2886, + 2887, + 2888 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1010, + "character": 12 + } + ] + }, + { + "id": 3436, + "name": "ApplicationCommandOptionType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-type", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3447, + "name": "Attachment", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 16, + "character": 1 + } + ], + "defaultValue": "11" + }, + { + "id": 3441, + "name": "Boolean", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 10, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 3443, + "name": "Channel", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 12, + "character": 1 + } + ], + "defaultValue": "7" + }, + { + "id": 3440, + "name": "Integer", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 9, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 3445, + "name": "Mentionable", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 14, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 3446, + "name": "Number", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 15, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 3444, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 13, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 3439, + "name": "String", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 8, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 3437, + "name": "Subcommand", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 6, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3438, + "name": "SubcommandGroup", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 7, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3442, + "name": "User", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 11, + "character": 1 + } + ], + "defaultValue": "6" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3447, + 3441, + 3443, + 3440, + 3445, + 3446, + 3444, + 3439, + 3437, + 3438, + 3442 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 5, + "character": 12 + } + ] + }, + { + "id": 3516, + "name": "ApplicationCommandPermissionType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-application-command-permission-type", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3517, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/permissions.ts", + "line": 50, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3518, + "name": "User", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/permissions.ts", + "line": 51, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3517, + 3518 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/permissions.ts", + "line": 49, + "character": 12 + } + ] + }, + { + "id": 3366, + "name": "ApplicationCommandType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3367, + "name": "ChatInput", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 74, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3369, + "name": "Message", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 76, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 3368, + "name": "User", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 75, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3367, + 3369, + 3368 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 73, + "character": 12 + } + ] + }, + { + "id": 2485, + "name": "ApplicationFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/application#application-object-application-flags", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2495, + "name": "Embedded", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 131, + "character": 1 + } + ], + "defaultValue": "131072" + }, + { + "id": 2498, + "name": "EmbeddedFirstParty", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 134, + "character": 1 + } + ], + "defaultValue": "1048576" + }, + { + "id": 2486, + "name": "EmbeddedReleased", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 122, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 2492, + "name": "GatewayGuildMembers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 128, + "character": 1 + } + ], + "defaultValue": "16384" + }, + { + "id": 2493, + "name": "GatewayGuildMembersLimited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 129, + "character": 1 + } + ], + "defaultValue": "32768" + }, + { + "id": 2496, + "name": "GatewayMessageContent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 132, + "character": 1 + } + ], + "defaultValue": "262144" + }, + { + "id": 2497, + "name": "GatewayMessageContentLimited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 133, + "character": 1 + } + ], + "defaultValue": "524288" + }, + { + "id": 2490, + "name": "GatewayPresence", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 126, + "character": 1 + } + ], + "defaultValue": "4096" + }, + { + "id": 2491, + "name": "GatewayPresenceLimited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 127, + "character": 1 + } + ], + "defaultValue": "8192" + }, + { + "id": 2488, + "name": "GroupDMCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 124, + "character": 1 + } + ], + "defaultValue": "16" + }, + { + "id": 2487, + "name": "ManagedEmoji", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 123, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 2489, + "name": "RPCHasConnected", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 125, + "character": 1 + } + ], + "defaultValue": "2048" + }, + { + "id": 2494, + "name": "VerificationPendingGuildLimit", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 130, + "character": 1 + } + ], + "defaultValue": "65536" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2495, + 2498, + 2486, + 2492, + 2493, + 2496, + 2497, + 2490, + 2491, + 2488, + 2487, + 2489, + 2494 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 121, + "character": 12 + } + ] + }, + { + "id": 2513, + "name": "AuditLogEvent", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2529, + "name": "BotAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 128, + "character": 1 + } + ], + "defaultValue": "28" + }, + { + "id": 2515, + "name": "ChannelCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 113, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 2517, + "name": "ChannelDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 115, + "character": 1 + } + ], + "defaultValue": "12" + }, + { + "id": 2518, + "name": "ChannelOverwriteCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 116, + "character": 1 + } + ], + "defaultValue": "13" + }, + { + "id": 2520, + "name": "ChannelOverwriteDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 118, + "character": 1 + } + ], + "defaultValue": "15" + }, + { + "id": 2519, + "name": "ChannelOverwriteUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 117, + "character": 1 + } + ], + "defaultValue": "14" + }, + { + "id": 2516, + "name": "ChannelUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 114, + "character": 1 + } + ], + "defaultValue": "11" + }, + { + "id": 2539, + "name": "EmojiCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 142, + "character": 1 + } + ], + "defaultValue": "60" + }, + { + "id": 2541, + "name": "EmojiDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 144, + "character": 1 + } + ], + "defaultValue": "62" + }, + { + "id": 2540, + "name": "EmojiUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 143, + "character": 1 + } + ], + "defaultValue": "61" + }, + { + "id": 2555, + "name": "GuildScheduledEventCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 162, + "character": 1 + } + ], + "defaultValue": "100" + }, + { + "id": 2557, + "name": "GuildScheduledEventDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 164, + "character": 1 + } + ], + "defaultValue": "102" + }, + { + "id": 2556, + "name": "GuildScheduledEventUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 163, + "character": 1 + } + ], + "defaultValue": "101" + }, + { + "id": 2514, + "name": "GuildUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 111, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 2546, + "name": "IntegrationCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 151, + "character": 1 + } + ], + "defaultValue": "80" + }, + { + "id": 2548, + "name": "IntegrationDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 153, + "character": 1 + } + ], + "defaultValue": "82" + }, + { + "id": 2547, + "name": "IntegrationUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 152, + "character": 1 + } + ], + "defaultValue": "81" + }, + { + "id": 2533, + "name": "InviteCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 134, + "character": 1 + } + ], + "defaultValue": "40" + }, + { + "id": 2535, + "name": "InviteDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 136, + "character": 1 + } + ], + "defaultValue": "42" + }, + { + "id": 2534, + "name": "InviteUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 135, + "character": 1 + } + ], + "defaultValue": "41" + }, + { + "id": 2523, + "name": "MemberBanAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 122, + "character": 1 + } + ], + "defaultValue": "22" + }, + { + "id": 2524, + "name": "MemberBanRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 123, + "character": 1 + } + ], + "defaultValue": "23" + }, + { + "id": 2528, + "name": "MemberDisconnect", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 127, + "character": 1 + } + ], + "defaultValue": "27" + }, + { + "id": 2521, + "name": "MemberKick", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 120, + "character": 1 + } + ], + "defaultValue": "20" + }, + { + "id": 2527, + "name": "MemberMove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 126, + "character": 1 + } + ], + "defaultValue": "26" + }, + { + "id": 2522, + "name": "MemberPrune", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 121, + "character": 1 + } + ], + "defaultValue": "21" + }, + { + "id": 2526, + "name": "MemberRoleUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 125, + "character": 1 + } + ], + "defaultValue": "25" + }, + { + "id": 2525, + "name": "MemberUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 124, + "character": 1 + } + ], + "defaultValue": "24" + }, + { + "id": 2543, + "name": "MessageBulkDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 147, + "character": 1 + } + ], + "defaultValue": "73" + }, + { + "id": 2542, + "name": "MessageDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 146, + "character": 1 + } + ], + "defaultValue": "72" + }, + { + "id": 2544, + "name": "MessagePin", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 148, + "character": 1 + } + ], + "defaultValue": "74" + }, + { + "id": 2545, + "name": "MessageUnpin", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 149, + "character": 1 + } + ], + "defaultValue": "75" + }, + { + "id": 2530, + "name": "RoleCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 130, + "character": 1 + } + ], + "defaultValue": "30" + }, + { + "id": 2532, + "name": "RoleDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 132, + "character": 1 + } + ], + "defaultValue": "32" + }, + { + "id": 2531, + "name": "RoleUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 131, + "character": 1 + } + ], + "defaultValue": "31" + }, + { + "id": 2549, + "name": "StageInstanceCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 154, + "character": 1 + } + ], + "defaultValue": "83" + }, + { + "id": 2551, + "name": "StageInstanceDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 156, + "character": 1 + } + ], + "defaultValue": "85" + }, + { + "id": 2550, + "name": "StageInstanceUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 155, + "character": 1 + } + ], + "defaultValue": "84" + }, + { + "id": 2552, + "name": "StickerCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 158, + "character": 1 + } + ], + "defaultValue": "90" + }, + { + "id": 2554, + "name": "StickerDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 160, + "character": 1 + } + ], + "defaultValue": "92" + }, + { + "id": 2553, + "name": "StickerUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 159, + "character": 1 + } + ], + "defaultValue": "91" + }, + { + "id": 2536, + "name": "WebhookCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 138, + "character": 1 + } + ], + "defaultValue": "50" + }, + { + "id": 2538, + "name": "WebhookDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 140, + "character": 1 + } + ], + "defaultValue": "52" + }, + { + "id": 2537, + "name": "WebhookUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 139, + "character": 1 + } + ], + "defaultValue": "51" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2529, + 2515, + 2517, + 2518, + 2520, + 2519, + 2516, + 2539, + 2541, + 2540, + 2555, + 2557, + 2556, + 2514, + 2546, + 2548, + 2547, + 2533, + 2535, + 2534, + 2523, + 2524, + 2528, + 2521, + 2527, + 2522, + 2526, + 2525, + 2543, + 2542, + 2544, + 2545, + 2530, + 2532, + 2531, + 2549, + 2551, + 2550, + 2552, + 2554, + 2553, + 2536, + 2538, + 2537 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 110, + "character": 12 + } + ] + }, + { + "id": 2567, + "name": "AuditLogOptionsType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2569, + "name": "Member", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 261, + "character": 1 + } + ], + "defaultValue": "\"1\"" + }, + { + "id": 2568, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 260, + "character": 1 + } + ], + "defaultValue": "\"0\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2569, + 2568 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 259, + "character": 12 + } + ] + }, + { + "id": 2925, + "name": "ButtonStyle", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#button-object-button-styles", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2929, + "name": "Danger", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1174, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 2930, + "name": "Link", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1175, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 2926, + "name": "Primary", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1171, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 2927, + "name": "Secondary", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1172, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 2928, + "name": "Success", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1173, + "character": 1 + } + ], + "defaultValue": "3" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2929, + 2930, + 2926, + 2927, + 2928 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1170, + "character": 12 + } + ] + }, + { + "id": 2716, + "name": "ChannelType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-object-channel-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2718, + "name": "DM", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A direct message between users" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 239, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 2720, + "name": "GroupDM", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A direct message between multiple users" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 247, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 2721, + "name": "GuildCategory", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "An organizational category that contains up to 50 channels", + "text": "See https://support.discord.com/hc/en-us/articles/115001580171-Channel-Categories-101\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 253, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 2722, + "name": "GuildNews", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A channel that users can follow and crosspost into their own guild", + "text": "See https://support.discord.com/hc/en-us/articles/360032008192\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 259, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 2724, + "name": "GuildStageVoice", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A voice channel for hosting events with an audience", + "text": "See https://support.discord.com/hc/en-us/articles/1500005513722\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 271, + "character": 1 + } + ], + "defaultValue": "13" + }, + { + "id": 2723, + "name": "GuildStore", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A channel in which game developers can sell their game on Discord", + "text": "See https://discord.com/developers/docs/game-and-server-management/special-channels\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 265, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 2717, + "name": "GuildText", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A text channel within a guild" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 235, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 2719, + "name": "GuildVoice", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A voice channel within a guild" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 243, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2718, + 2720, + 2721, + 2722, + 2724, + 2723, + 2717, + 2719 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 231, + "character": 12 + } + ] + }, + { + "id": 2897, + "name": "ComponentType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#component-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2898, + "name": "ActionRow", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Action Row component" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1071, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 2899, + "name": "Button", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Button component" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1075, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 2900, + "name": "SelectMenu", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Select Menu component" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1079, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 2901, + "name": "TextInput", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Text Input component" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1083, + "character": 1 + } + ], + "defaultValue": "4" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2898, + 2899, + 2900, + 2901 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1067, + "character": 12 + } + ] + }, + { + "id": 3836, + "name": "ConnectionVisibility", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3838, + "name": "Everyone", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Visible to everyone" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 220, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3837, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Invisible to everyone except the user themselves" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 216, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3838, + 3837 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 212, + "character": 12 + } + ] + }, + { + "id": 2832, + "name": "EmbedType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-types", + "tags": [ + { + "tag": "deprecated", + "text": "*Embed types should be considered deprecated and might be removed in a future API version*" + }, + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2837, + "name": "Article", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Article embed" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 776, + "character": 1 + } + ], + "defaultValue": "\"article\"" + }, + { + "id": 2836, + "name": "GIFV", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Animated gif image embed rendered as a video embed" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 772, + "character": 1 + } + ], + "defaultValue": "\"gifv\"" + }, + { + "id": 2834, + "name": "Image", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Image embed" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 764, + "character": 1 + } + ], + "defaultValue": "\"image\"" + }, + { + "id": 2838, + "name": "Link", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Link embed" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 780, + "character": 1 + } + ], + "defaultValue": "\"link\"" + }, + { + "id": 2833, + "name": "Rich", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Generic embed rendered from embed attributes" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 760, + "character": 1 + } + ], + "defaultValue": "\"rich\"" + }, + { + "id": 2835, + "name": "Video", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Video embed" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 768, + "character": 1 + } + ], + "defaultValue": "\"video\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2837, + 2836, + 2834, + 2838, + 2833, + 2835 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 756, + "character": 12 + } + ] + }, + { + "id": 2090, + "name": "GatewayCloseCodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2096, + "name": "AlreadyAuthenticated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent more than one identify payload. Don't do that!" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 124, + "character": 1 + } + ], + "defaultValue": "4005" + }, + { + "id": 2095, + "name": "AuthenticationFailed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The account token sent with your identify payload is incorrect", + "text": "See https://discord.com/developers/docs/topics/gateway#identify\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 120, + "character": 1 + } + ], + "defaultValue": "4004" + }, + { + "id": 2093, + "name": "DecodeError", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent an invalid payload to us. Don't do that!", + "text": "See https://discord.com/developers/docs/topics/gateway#sending-payloads\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 108, + "character": 1 + } + ], + "defaultValue": "4002" + }, + { + "id": 2104, + "name": "DisallowedIntents", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent a disallowed intent for a Gateway Intent. You may have tried to specify an intent that you have not\nenabled or are not whitelisted for", + "text": "See https://discord.com/developers/docs/topics/gateway#gateway-intents\n\nSee https://discord.com/developers/docs/topics/gateway#privileged-intents\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 169, + "character": 1 + } + ], + "defaultValue": "4014" + }, + { + "id": 2102, + "name": "InvalidAPIVersion", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent an invalid version for the gateway" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 154, + "character": 1 + } + ], + "defaultValue": "4012" + }, + { + "id": 2103, + "name": "InvalidIntents", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent an invalid intent for a Gateway Intent. You may have incorrectly calculated the bitwise value", + "text": "See https://discord.com/developers/docs/topics/gateway#gateway-intents\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 160, + "character": 1 + } + ], + "defaultValue": "4013" + }, + { + "id": 2097, + "name": "InvalidSeq", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The sequence sent when resuming the session was invalid. Reconnect and start a new session", + "text": "See https://discord.com/developers/docs/topics/gateway#resume\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 130, + "character": 1 + } + ], + "defaultValue": "4007" + }, + { + "id": 2100, + "name": "InvalidShard", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent us an invalid shard when identifying", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 144, + "character": 1 + } + ], + "defaultValue": "4010" + }, + { + "id": 2094, + "name": "NotAuthenticated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent us a payload prior to identifying", + "text": "See https://discord.com/developers/docs/topics/gateway#identify\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 114, + "character": 1 + } + ], + "defaultValue": "4003" + }, + { + "id": 2098, + "name": "RateLimited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Woah nelly! You're sending payloads to us too quickly. Slow it down! You will be disconnected on receiving this" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 134, + "character": 1 + } + ], + "defaultValue": "4008" + }, + { + "id": 2099, + "name": "SessionTimedOut", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Your session timed out. Reconnect and start a new one" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 138, + "character": 1 + } + ], + "defaultValue": "4009" + }, + { + "id": 2101, + "name": "ShardingRequired", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The session would have handled too many guilds - you are required to shard your connection in order to connect", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 150, + "character": 1 + } + ], + "defaultValue": "4011" + }, + { + "id": 2091, + "name": "UnknownError", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "We're not sure what went wrong. Try reconnecting?" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 96, + "character": 1 + } + ], + "defaultValue": "4000" + }, + { + "id": 2092, + "name": "UnknownOpcode", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent an invalid Gateway opcode or an invalid payload for an opcode. Don't do that!", + "text": "See https://discord.com/developers/docs/topics/gateway#payloads-and-opcodes\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 102, + "character": 1 + } + ], + "defaultValue": "4001" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2096, + 2095, + 2093, + 2104, + 2102, + 2103, + 2097, + 2100, + 2094, + 2098, + 2099, + 2101, + 2091, + 2092 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 92, + "character": 12 + } + ] + }, + { + "id": 2122, + "name": "GatewayDispatchEvents", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#commands-and-events-gateway-events", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2123, + "name": "ChannelCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 200, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_CREATE\"" + }, + { + "id": 2124, + "name": "ChannelDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 201, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_DELETE\"" + }, + { + "id": 2125, + "name": "ChannelPinsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 202, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_PINS_UPDATE\"" + }, + { + "id": 2126, + "name": "ChannelUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 203, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_UPDATE\"" + }, + { + "id": 2127, + "name": "GuildBanAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 204, + "character": 1 + } + ], + "defaultValue": "\"GUILD_BAN_ADD\"" + }, + { + "id": 2128, + "name": "GuildBanRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 205, + "character": 1 + } + ], + "defaultValue": "\"GUILD_BAN_REMOVE\"" + }, + { + "id": 2129, + "name": "GuildCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 206, + "character": 1 + } + ], + "defaultValue": "\"GUILD_CREATE\"" + }, + { + "id": 2130, + "name": "GuildDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 207, + "character": 1 + } + ], + "defaultValue": "\"GUILD_DELETE\"" + }, + { + "id": 2131, + "name": "GuildEmojisUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 208, + "character": 1 + } + ], + "defaultValue": "\"GUILD_EMOJIS_UPDATE\"" + }, + { + "id": 2132, + "name": "GuildIntegrationsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 209, + "character": 1 + } + ], + "defaultValue": "\"GUILD_INTEGRATIONS_UPDATE\"" + }, + { + "id": 2133, + "name": "GuildMemberAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 210, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBER_ADD\"" + }, + { + "id": 2134, + "name": "GuildMemberRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 211, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBER_REMOVE\"" + }, + { + "id": 2136, + "name": "GuildMemberUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 213, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBER_UPDATE\"" + }, + { + "id": 2135, + "name": "GuildMembersChunk", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 212, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBERS_CHUNK\"" + }, + { + "id": 2137, + "name": "GuildRoleCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 214, + "character": 1 + } + ], + "defaultValue": "\"GUILD_ROLE_CREATE\"" + }, + { + "id": 2138, + "name": "GuildRoleDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 215, + "character": 1 + } + ], + "defaultValue": "\"GUILD_ROLE_DELETE\"" + }, + { + "id": 2139, + "name": "GuildRoleUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 216, + "character": 1 + } + ], + "defaultValue": "\"GUILD_ROLE_UPDATE\"" + }, + { + "id": 2167, + "name": "GuildScheduledEventCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 244, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_CREATE\"" + }, + { + "id": 2169, + "name": "GuildScheduledEventDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 246, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_DELETE\"" + }, + { + "id": 2168, + "name": "GuildScheduledEventUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 245, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_UPDATE\"" + }, + { + "id": 2170, + "name": "GuildScheduledEventUserAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 247, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_USER_ADD\"" + }, + { + "id": 2171, + "name": "GuildScheduledEventUserRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 248, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_USER_REMOVE\"" + }, + { + "id": 2140, + "name": "GuildStickersUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 217, + "character": 1 + } + ], + "defaultValue": "\"GUILD_STICKERS_UPDATE\"" + }, + { + "id": 2141, + "name": "GuildUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 218, + "character": 1 + } + ], + "defaultValue": "\"GUILD_UPDATE\"" + }, + { + "id": 2142, + "name": "IntegrationCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 219, + "character": 1 + } + ], + "defaultValue": "\"INTEGRATION_CREATE\"" + }, + { + "id": 2143, + "name": "IntegrationDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 220, + "character": 1 + } + ], + "defaultValue": "\"INTEGRATION_DELETE\"" + }, + { + "id": 2144, + "name": "IntegrationUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 221, + "character": 1 + } + ], + "defaultValue": "\"INTEGRATION_UPDATE\"" + }, + { + "id": 2145, + "name": "InteractionCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 222, + "character": 1 + } + ], + "defaultValue": "\"INTERACTION_CREATE\"" + }, + { + "id": 2146, + "name": "InviteCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 223, + "character": 1 + } + ], + "defaultValue": "\"INVITE_CREATE\"" + }, + { + "id": 2147, + "name": "InviteDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 224, + "character": 1 + } + ], + "defaultValue": "\"INVITE_DELETE\"" + }, + { + "id": 2148, + "name": "MessageCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 225, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_CREATE\"" + }, + { + "id": 2149, + "name": "MessageDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 226, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_DELETE\"" + }, + { + "id": 2150, + "name": "MessageDeleteBulk", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 227, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_DELETE_BULK\"" + }, + { + "id": 2151, + "name": "MessageReactionAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 228, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_ADD\"" + }, + { + "id": 2152, + "name": "MessageReactionRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 229, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_REMOVE\"" + }, + { + "id": 2153, + "name": "MessageReactionRemoveAll", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 230, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_REMOVE_ALL\"" + }, + { + "id": 2154, + "name": "MessageReactionRemoveEmoji", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 231, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_REMOVE_EMOJI\"" + }, + { + "id": 2155, + "name": "MessageUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 232, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_UPDATE\"" + }, + { + "id": 2156, + "name": "PresenceUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 233, + "character": 1 + } + ], + "defaultValue": "\"PRESENCE_UPDATE\"" + }, + { + "id": 2160, + "name": "Ready", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 237, + "character": 1 + } + ], + "defaultValue": "\"READY\"" + }, + { + "id": 2161, + "name": "Resumed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 238, + "character": 1 + } + ], + "defaultValue": "\"RESUMED\"" + }, + { + "id": 2157, + "name": "StageInstanceCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 234, + "character": 1 + } + ], + "defaultValue": "\"STAGE_INSTANCE_CREATE\"" + }, + { + "id": 2158, + "name": "StageInstanceDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 235, + "character": 1 + } + ], + "defaultValue": "\"STAGE_INSTANCE_DELETE\"" + }, + { + "id": 2159, + "name": "StageInstanceUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 236, + "character": 1 + } + ], + "defaultValue": "\"STAGE_INSTANCE_UPDATE\"" + }, + { + "id": 2162, + "name": "TypingStart", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 239, + "character": 1 + } + ], + "defaultValue": "\"TYPING_START\"" + }, + { + "id": 2163, + "name": "UserUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 240, + "character": 1 + } + ], + "defaultValue": "\"USER_UPDATE\"" + }, + { + "id": 2164, + "name": "VoiceServerUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 241, + "character": 1 + } + ], + "defaultValue": "\"VOICE_SERVER_UPDATE\"" + }, + { + "id": 2165, + "name": "VoiceStateUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 242, + "character": 1 + } + ], + "defaultValue": "\"VOICE_STATE_UPDATE\"" + }, + { + "id": 2166, + "name": "WebhooksUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 243, + "character": 1 + } + ], + "defaultValue": "\"WEBHOOKS_UPDATE\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2123, + 2124, + 2125, + 2126, + 2127, + 2128, + 2129, + 2130, + 2131, + 2132, + 2133, + 2134, + 2136, + 2135, + 2137, + 2138, + 2139, + 2167, + 2169, + 2168, + 2170, + 2171, + 2140, + 2141, + 2142, + 2143, + 2144, + 2145, + 2146, + 2147, + 2148, + 2149, + 2150, + 2151, + 2152, + 2153, + 2154, + 2155, + 2156, + 2160, + 2161, + 2157, + 2158, + 2159, + 2162, + 2163, + 2164, + 2165, + 2166 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 199, + "character": 12 + } + ] + }, + { + "id": 2105, + "name": "GatewayIntentBits", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#list-of-intents", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2119, + "name": "DirectMessageReactions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 190, + "character": 1 + } + ], + "defaultValue": "8192" + }, + { + "id": 2120, + "name": "DirectMessageTyping", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 191, + "character": 1 + } + ], + "defaultValue": "16384" + }, + { + "id": 2118, + "name": "DirectMessages", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 189, + "character": 1 + } + ], + "defaultValue": "4096" + }, + { + "id": 2108, + "name": "GuildBans", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 179, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 2109, + "name": "GuildEmojisAndStickers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 180, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 2110, + "name": "GuildIntegrations", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 181, + "character": 1 + } + ], + "defaultValue": "16" + }, + { + "id": 2112, + "name": "GuildInvites", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 183, + "character": 1 + } + ], + "defaultValue": "64" + }, + { + "id": 2107, + "name": "GuildMembers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 178, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 2116, + "name": "GuildMessageReactions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 187, + "character": 1 + } + ], + "defaultValue": "1024" + }, + { + "id": 2117, + "name": "GuildMessageTyping", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 188, + "character": 1 + } + ], + "defaultValue": "2048" + }, + { + "id": 2115, + "name": "GuildMessages", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 186, + "character": 1 + } + ], + "defaultValue": "512" + }, + { + "id": 2114, + "name": "GuildPresences", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 185, + "character": 1 + } + ], + "defaultValue": "256" + }, + { + "id": 2121, + "name": "GuildScheduledEvents", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 192, + "character": 1 + } + ], + "defaultValue": "65536" + }, + { + "id": 2113, + "name": "GuildVoiceStates", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 184, + "character": 1 + } + ], + "defaultValue": "128" + }, + { + "id": 2111, + "name": "GuildWebhooks", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 182, + "character": 1 + } + ], + "defaultValue": "32" + }, + { + "id": 2106, + "name": "Guilds", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 177, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2119, + 2120, + 2118, + 2108, + 2109, + 2110, + 2112, + 2107, + 2116, + 2117, + 2115, + 2114, + 2121, + 2113, + 2111, + 2106 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 176, + "character": 12 + } + ] + }, + { + "id": 2078, + "name": "GatewayOpcodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2079, + "name": "Dispatch", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "An event was dispatched" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 44, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 2080, + "name": "Heartbeat", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A bidirectional opcode to maintain an active gateway connection.\nFired periodically by the client, or fired by the gateway to request an immediate heartbeat from the client." + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 49, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 2089, + "name": "HeartbeatAck", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Sent in response to receiving a heartbeat to acknowledge that it has been received" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 85, + "character": 1 + } + ], + "defaultValue": "11" + }, + { + "id": 2088, + "name": "Hello", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Sent immediately after connecting, contains the `heartbeat_interval` to use" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 81, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 2081, + "name": "Identify", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Starts a new session during the initial handshake" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 53, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 2087, + "name": "InvalidSession", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The session has been invalidated. You should reconnect and identify/resume accordingly" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 77, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 2082, + "name": "PresenceUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Update the client's presence" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 57, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 2085, + "name": "Reconnect", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You should attempt to reconnect and resume immediately" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 69, + "character": 1 + } + ], + "defaultValue": "7" + }, + { + "id": 2086, + "name": "RequestGuildMembers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Request information about offline guild members in a large guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 73, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 2084, + "name": "Resume", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Resume a previous session that was disconnected" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 65, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 2083, + "name": "VoiceStateUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Used to join/leave or move between voice channels" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 61, + "character": 1 + } + ], + "defaultValue": "4" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2079, + 2080, + 2089, + 2088, + 2081, + 2087, + 2082, + 2085, + 2086, + 2084, + 2083 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 40, + "character": 12 + } + ] + }, + { + "id": 3123, + "name": "GuildDefaultMessageNotifications", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3124, + "name": "AllMessages", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 351, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 3125, + "name": "OnlyMentions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 352, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3124, + 3125 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 350, + "character": 12 + } + ] + }, + { + "id": 3126, + "name": "GuildExplicitContentFilter", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3129, + "name": "AllMembers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 362, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3127, + "name": "Disabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 360, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 3128, + "name": "MembersWithoutRoles", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 361, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3129, + 3127, + 3128 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 359, + "character": 12 + } + ] + }, + { + "id": 3154, + "name": "GuildFeature", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-guild-features", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3155, + "name": "AnimatedBanner", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set an animated guild banner image" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 454, + "character": 1 + } + ], + "defaultValue": "\"ANIMATED_BANNER\"" + }, + { + "id": 3156, + "name": "AnimatedIcon", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set an animated guild icon" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 458, + "character": 1 + } + ], + "defaultValue": "\"ANIMATED_ICON\"" + }, + { + "id": 3157, + "name": "Banner", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set a guild banner image" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 462, + "character": 1 + } + ], + "defaultValue": "\"BANNER\"" + }, + { + "id": 3158, + "name": "Commerce", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to use commerce features (i.e. create store channels)" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 466, + "character": 1 + } + ], + "defaultValue": "\"COMMERCE\"" + }, + { + "id": 3159, + "name": "Community", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild can enable welcome screen, Membership Screening and discovery, and receives community updates" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 470, + "character": 1 + } + ], + "defaultValue": "\"COMMUNITY\"" + }, + { + "id": 3160, + "name": "Discoverable", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is able to be discovered in the directory" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 474, + "character": 1 + } + ], + "defaultValue": "\"DISCOVERABLE\"" + }, + { + "id": 3161, + "name": "Featurable", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is able to be featured in the directory" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 478, + "character": 1 + } + ], + "defaultValue": "\"FEATURABLE\"" + }, + { + "id": 3162, + "name": "InviteSplash", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set an invite splash background" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 482, + "character": 1 + } + ], + "defaultValue": "\"INVITE_SPLASH\"" + }, + { + "id": 3163, + "name": "MemberVerificationGateEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has enabled Membership Screening" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 486, + "character": 1 + } + ], + "defaultValue": "\"MEMBER_VERIFICATION_GATE_ENABLED\"" + }, + { + "id": 3164, + "name": "MonetizationEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has enabled monetization" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 490, + "character": 1 + } + ], + "defaultValue": "\"MONETIZATION_ENABLED\"" + }, + { + "id": 3165, + "name": "MoreStickers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has increased custom sticker slots" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 494, + "character": 1 + } + ], + "defaultValue": "\"MORE_STICKERS\"" + }, + { + "id": 3166, + "name": "News", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to create news channels" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 498, + "character": 1 + } + ], + "defaultValue": "\"NEWS\"" + }, + { + "id": 3167, + "name": "Partnered", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is partnered" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 502, + "character": 1 + } + ], + "defaultValue": "\"PARTNERED\"" + }, + { + "id": 3168, + "name": "PreviewEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild can be previewed before joining via Membership Screening or the directory" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 506, + "character": 1 + } + ], + "defaultValue": "\"PREVIEW_ENABLED\"" + }, + { + "id": 3169, + "name": "PrivateThreads", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to create private threads" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 510, + "character": 1 + } + ], + "defaultValue": "\"PRIVATE_THREADS\"" + }, + { + "id": 3170, + "name": "RelayEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 511, + "character": 1 + } + ], + "defaultValue": "\"RELAY_ENABLED\"" + }, + { + "id": 3171, + "name": "RoleIcons", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is able to set role icons" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 515, + "character": 1 + } + ], + "defaultValue": "\"ROLE_ICONS\"" + }, + { + "id": 3172, + "name": "SevenDayThreadArchive", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to the seven day archive time for threads" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 519, + "character": 1 + } + ], + "defaultValue": "\"SEVEN_DAY_THREAD_ARCHIVE\"" + }, + { + "id": 3173, + "name": "ThreeDayThreadArchive", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to the three day archive time for threads" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 523, + "character": 1 + } + ], + "defaultValue": "\"THREE_DAY_THREAD_ARCHIVE\"" + }, + { + "id": 3174, + "name": "TicketedEventsEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has enabled ticketed events" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 527, + "character": 1 + } + ], + "defaultValue": "\"TICKETED_EVENTS_ENABLED\"" + }, + { + "id": 3177, + "name": "VIPRegions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set 384kbps bitrate in voice (previously VIP voice servers)" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 539, + "character": 1 + } + ], + "defaultValue": "\"VIP_REGIONS\"" + }, + { + "id": 3175, + "name": "VanityURL", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set a vanity URL" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 531, + "character": 1 + } + ], + "defaultValue": "\"VANITY_URL\"" + }, + { + "id": 3176, + "name": "Verified", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is verified" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 535, + "character": 1 + } + ], + "defaultValue": "\"VERIFIED\"" + }, + { + "id": 3178, + "name": "WelcomeScreenEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has enabled the welcome screen" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 543, + "character": 1 + } + ], + "defaultValue": "\"WELCOME_SCREEN_ENABLED\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3155, + 3156, + 3157, + 3158, + 3159, + 3160, + 3161, + 3162, + 3163, + 3164, + 3165, + 3166, + 3167, + 3168, + 3169, + 3170, + 3171, + 3172, + 3173, + 3174, + 3177, + 3175, + 3176, + 3178 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 450, + "character": 12 + } + ] + }, + { + "id": 3130, + "name": "GuildMFALevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-mfa-level", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3132, + "name": "Elevated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 371, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3131, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 370, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3132, + 3131 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 369, + "character": 12 + } + ] + }, + { + "id": 3133, + "name": "GuildNSFWLevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3137, + "name": "AgeRestricted", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 382, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 3134, + "name": "Default", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 379, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 3135, + "name": "Explicit", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 380, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3136, + "name": "Safe", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 381, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3137, + 3134, + 3135, + 3136 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 378, + "character": 12 + } + ] + }, + { + "id": 3144, + "name": "GuildPremiumTier", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-premium-tier", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3145, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 417, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 3146, + "name": "Tier1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 418, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3147, + "name": "Tier2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 419, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3148, + "name": "Tier3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 420, + "character": 1 + } + ], + "defaultValue": "3" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3145, + 3146, + 3147, + 3148 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 416, + "character": 12 + } + ] + }, + { + "id": 3338, + "name": "GuildScheduledEventEntityType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-entity-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3341, + "name": "External", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 128, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 3339, + "name": "StageInstance", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 126, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3340, + "name": "Voice", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 127, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3341, + 3339, + 3340 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 125, + "character": 12 + } + ] + }, + { + "id": 3347, + "name": "GuildScheduledEventPrivacyLevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-privacy-level", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3348, + "name": "GuildOnly", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The scheduled event is only accessible to guild members" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 150, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3348 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 146, + "character": 12 + } + ] + }, + { + "id": 3342, + "name": "GuildScheduledEventStatus", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-status", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3344, + "name": "Active", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 137, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3346, + "name": "Canceled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 139, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 3345, + "name": "Completed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 138, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 3343, + "name": "Scheduled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 136, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3344, + 3346, + 3345, + 3343 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 135, + "character": 12 + } + ] + }, + { + "id": 3149, + "name": "GuildSystemChannelFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3152, + "name": "SuppressGuildReminderNotifications", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Suppress server setup tips" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 439, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 3153, + "name": "SuppressJoinNotificationReplies", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Hide member join sticker reply buttons" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 443, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 3150, + "name": "SuppressJoinNotifications", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Suppress member join notifications" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 431, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3151, + "name": "SuppressPremiumSubscriptions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Suppress server boost notifications" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 435, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3152, + 3153, + 3150, + 3151 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 427, + "character": 12 + } + ] + }, + { + "id": 3138, + "name": "GuildVerificationLevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-verification-level", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3142, + "name": "High", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Must be a member of the guild for longer than 10 minutes" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 405, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 3140, + "name": "Low", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Must have verified email on account" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 397, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3141, + "name": "Medium", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Must be registered on Discord for longer than 5 minutes" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 401, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3139, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Unrestricted" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 393, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 3143, + "name": "VeryHigh", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Must have a verified phone number" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 409, + "character": 1 + } + ], + "defaultValue": "4" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3142, + 3140, + 3141, + 3139, + 3143 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 389, + "character": 12 + } + ] + }, + { + "id": 3259, + "name": "GuildWidgetStyle", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-image-widget-style-options", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3261, + "name": "Banner1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Large image with guild icon, name and online count. \"POWERED BY DISCORD\" as the footer of the widget" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 904, + "character": 1 + } + ], + "defaultValue": "\"banner1\"" + }, + { + "id": 3262, + "name": "Banner2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Smaller widget style with guild icon, name and online count. Split on the right with Discord logo" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 908, + "character": 1 + } + ], + "defaultValue": "\"banner2\"" + }, + { + "id": 3263, + "name": "Banner3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Large image with guild icon, name and online count. In the footer, Discord logo on the left and \"Chat Now\" on the right" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 912, + "character": 1 + } + ], + "defaultValue": "\"banner3\"" + }, + { + "id": 3264, + "name": "Banner4", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Large Discord logo at the top of the widget. Guild icon, name and online count in the middle portion of the widget\nand a \"JOIN MY SERVER\" button at the bottom" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 917, + "character": 1 + } + ], + "defaultValue": "\"banner4\"" + }, + { + "id": 3260, + "name": "Shield", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Shield style widget with Discord icon and guild members online count" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 900, + "character": 1 + } + ], + "defaultValue": "\"shield\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3261, + 3262, + 3263, + 3264, + 3260 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 896, + "character": 12 + } + ] + }, + { + "id": 3222, + "name": "IntegrationExpireBehavior", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3224, + "name": "Kick", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 785, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3223, + "name": "RemoveRole", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 784, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3224, + 3223 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 783, + "character": 12 + } + ] + }, + { + "id": 3614, + "name": "InteractionResponseType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-type", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3620, + "name": "ApplicationCommandAutocompleteResult", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For autocomplete interactions" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 113, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 3616, + "name": "ChannelMessageWithSource", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Respond to an interaction with a message" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 97, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 3617, + "name": "DeferredChannelMessageWithSource", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "ACK an interaction and edit to a response later, the user sees a loading state" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 101, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 3618, + "name": "DeferredMessageUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "ACK a button interaction and update it to a loading state" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 105, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 3621, + "name": "Modal", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Respond to an interaction with an modal for a user to fill-out" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 117, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 3615, + "name": "Pong", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "ACK a `Ping`" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 93, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3619, + "name": "UpdateMessage", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "ACK a button interaction and edit the message to which the button was attached" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 109, + "character": 1 + } + ], + "defaultValue": "7" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3620, + 3616, + 3617, + 3618, + 3621, + 3615, + 3619 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 89, + "character": 12 + } + ] + }, + { + "id": 3588, + "name": "InteractionType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-type", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3590, + "name": "ApplicationCommand", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 12, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3592, + "name": "ApplicationCommandAutocomplete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 14, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 3591, + "name": "MessageComponent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 13, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 3593, + "name": "ModalSubmit", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 15, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 3589, + "name": "Ping", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 11, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3590, + 3592, + 3591, + 3593, + 3589 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 10, + "character": 12 + } + ] + }, + { + "id": 3645, + "name": "InviteTargetType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3647, + "name": "EmbeddedApplication", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 100, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3646, + "name": "Stream", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 99, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3647, + 3646 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 98, + "character": 12 + } + ] + }, + { + "id": 3282, + "name": "MembershipScreeningFieldType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3283, + "name": "Terms", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Server Rules" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 1005, + "character": 1 + } + ], + "defaultValue": "\"TERMS\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3283 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 1001, + "character": 12 + } + ] + }, + { + "id": 2790, + "name": "MessageActivityType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-activity-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2791, + "name": "Join", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 548, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 2794, + "name": "JoinRequest", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 551, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 2793, + "name": "Listen", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 550, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 2792, + "name": "Spectate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 549, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2791, + 2794, + 2793, + 2792 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 547, + "character": 12 + } + ] + }, + { + "id": 2795, + "name": "MessageFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-flags", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2796, + "name": "Crossposted", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message has been published to subscribed channels (via Channel Following)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 562, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 2801, + "name": "Ephemeral", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message is only visible to the user who invoked the Interaction" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 582, + "character": 1 + } + ], + "defaultValue": "64" + }, + { + "id": 2797, + "name": "IsCrosspost", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message originated from a message in another channel (via Channel Following)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 566, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 2802, + "name": "Loading", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message is an Interaction Response and the bot is \"thinking\"" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 586, + "character": 1 + } + ], + "defaultValue": "128" + }, + { + "id": 2799, + "name": "SourceMessageDeleted", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The source message for this crosspost has been deleted (via Channel Following)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 574, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 2798, + "name": "SuppressEmbeds", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Do not include any embeds when serializing this message" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 570, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 2800, + "name": "Urgent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message came from the urgent message system" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 578, + "character": 1 + } + ], + "defaultValue": "16" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2796, + 2801, + 2797, + 2802, + 2799, + 2798, + 2800 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 558, + "character": 12 + } + ] + }, + { + "id": 2761, + "name": "MessageType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2765, + "name": "Call", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 485, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 2774, + "name": "ChannelFollowAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 494, + "character": 1 + } + ], + "defaultValue": "12" + }, + { + "id": 2767, + "name": "ChannelIconChange", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 487, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 2766, + "name": "ChannelNameChange", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 486, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 2768, + "name": "ChannelPinnedMessage", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 488, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 2780, + "name": "ChatInputCommand", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 500, + "character": 1 + } + ], + "defaultValue": "20" + }, + { + "id": 2782, + "name": "ContextMenuCommand", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 502, + "character": 1 + } + ], + "defaultValue": "23" + }, + { + "id": 2762, + "name": "Default", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 482, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 2775, + "name": "GuildDiscoveryDisqualified", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 495, + "character": 1 + } + ], + "defaultValue": "14" + }, + { + "id": 2778, + "name": "GuildDiscoveryGracePeriodFinalWarning", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 498, + "character": 1 + } + ], + "defaultValue": "17" + }, + { + "id": 2777, + "name": "GuildDiscoveryGracePeriodInitialWarning", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 497, + "character": 1 + } + ], + "defaultValue": "16" + }, + { + "id": 2776, + "name": "GuildDiscoveryRequalified", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 496, + "character": 1 + } + ], + "defaultValue": "15" + }, + { + "id": 2781, + "name": "GuildInviteReminder", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 501, + "character": 1 + } + ], + "defaultValue": "22" + }, + { + "id": 2769, + "name": "GuildMemberJoin", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 489, + "character": 1 + } + ], + "defaultValue": "7" + }, + { + "id": 2763, + "name": "RecipientAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 483, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 2764, + "name": "RecipientRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 484, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 2779, + "name": "Reply", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 499, + "character": 1 + } + ], + "defaultValue": "19" + }, + { + "id": 2770, + "name": "UserPremiumGuildSubscription", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 490, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 2771, + "name": "UserPremiumGuildSubscriptionTier1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 491, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 2772, + "name": "UserPremiumGuildSubscriptionTier2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 492, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 2773, + "name": "UserPremiumGuildSubscriptionTier3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 493, + "character": 1 + } + ], + "defaultValue": "11" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2765, + 2774, + 2767, + 2766, + 2768, + 2780, + 2782, + 2762, + 2775, + 2778, + 2777, + 2776, + 2781, + 2769, + 2763, + 2764, + 2779, + 2770, + 2771, + 2772, + 2773 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 481, + "character": 12 + } + ] + }, + { + "id": 3666, + "name": "OAuth2Scopes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3684, + "name": "ActivitiesRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to fetch data from a user's \"Now Playing/Recently Played\" list - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 98, + "character": 1 + } + ], + "defaultValue": "\"activities.read\"" + }, + { + "id": 3685, + "name": "ActivitiesWrite", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to update a user's activity - requires Discord approval (NOT REQUIRED FOR GAMESDK ACTIVITY MANAGER)", + "text": "See https://discord.com/developers/docs/game-sdk/activities\n" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 104, + "character": 1 + } + ], + "defaultValue": "\"activities.write\"" + }, + { + "id": 3680, + "name": "ApplicationsBuildsRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to read build data for a user's applications" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 82, + "character": 1 + } + ], + "defaultValue": "\"applications.builds.read\"" + }, + { + "id": 3679, + "name": "ApplicationsBuildsUpload", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to upload/update builds for a user's applications - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 78, + "character": 1 + } + ], + "defaultValue": "\"applications.builds.upload\"" + }, + { + "id": 3686, + "name": "ApplicationsCommands", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to use Application Commands in a guild", + "text": "See https://discord.com/developers/docs/interactions/application-commands\n" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 110, + "character": 1 + } + ], + "defaultValue": "\"applications.commands\"" + }, + { + "id": 3687, + "name": "ApplicationsCommandsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to update its Application Commands via this bearer token - client credentials grant only", + "text": "See https://discord.com/developers/docs/interactions/application-commands\n" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 116, + "character": 1 + } + ], + "defaultValue": "\"applications.commands.update\"" + }, + { + "id": 3682, + "name": "ApplicationsEntitlements", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to read entitlements for a user's applications" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 90, + "character": 1 + } + ], + "defaultValue": "\"applications.entitlements\"" + }, + { + "id": 3681, + "name": "ApplicationsStoreUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to read and update store data (SKUs, store listings, achievements, etc.) for a user's applications" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 86, + "character": 1 + } + ], + "defaultValue": "\"applications.store.update\"" + }, + { + "id": 3667, + "name": "Bot", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For oauth2 bots, this puts the bot in the user's selected guild by default" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 12, + "character": 1 + } + ], + "defaultValue": "\"bot\"" + }, + { + "id": 3668, + "name": "Connections", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows [/users/@me/connections](https://discord.com/developers/docs/resources/user#get-user-connections)\nto return linked third-party accounts", + "text": "See https://discord.com/developers/docs/resources/user#get-user-connections\n" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 19, + "character": 1 + } + ], + "defaultValue": "\"connections\"" + }, + { + "id": 3669, + "name": "Email", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Enables [/users/@me](https://discord.com/developers/docs/resources/user#get-current-user) to return an `email`", + "text": "See https://discord.com/developers/docs/resources/user#get-current-user\n" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 25, + "character": 1 + } + ], + "defaultValue": "\"email\"" + }, + { + "id": 3674, + "name": "GroupDMJoins", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to join users to a group dm", + "text": "See https://discord.com/developers/docs/resources/channel#group-dm-add-recipient\n" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 57, + "character": 1 + } + ], + "defaultValue": "\"gdm.join\"" + }, + { + "id": 3671, + "name": "Guilds", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows [/users/@me/guilds](https://discord.com/developers/docs/resources/user#get-current-user-guilds)\nto return basic information about all of a user's guilds", + "text": "See https://discord.com/developers/docs/resources/user#get-current-user-guilds\n" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 38, + "character": 1 + } + ], + "defaultValue": "\"guilds\"" + }, + { + "id": 3672, + "name": "GuildsJoin", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows [/guilds/{guild.id}/members/{user.id}](https://discord.com/developers/docs/resources/guild#add-guild-member)\nto be used for joining users to a guild", + "text": "See https://discord.com/developers/docs/resources/guild#add-guild-member\n" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 45, + "character": 1 + } + ], + "defaultValue": "\"guilds.join\"" + }, + { + "id": 3673, + "name": "GuildsMembersRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows /users/@me/guilds/{guild.id}/member to return a user's member information in a guild", + "text": "See https://discord.com/developers/docs/resources/guild#get-current-user-guild-member\n" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 51, + "character": 1 + } + ], + "defaultValue": "\"guilds.members.read\"" + }, + { + "id": 3670, + "name": "Identify", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows [/users/@me](https://discord.com/developers/docs/resources/user#get-current-user) without `email`", + "text": "See https://discord.com/developers/docs/resources/user#get-current-user\n" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 31, + "character": 1 + } + ], + "defaultValue": "\"identify\"" + }, + { + "id": 3675, + "name": "MessagesRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For local rpc server api access, this allows you to read messages from all client channels\n(otherwise restricted to channels/guilds your app creates)" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 62, + "character": 1 + } + ], + "defaultValue": "\"messages.read\"" + }, + { + "id": 3676, + "name": "RPC", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For local rpc server access, this allows you to control a user's local Discord client - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 66, + "character": 1 + } + ], + "defaultValue": "\"rpc\"" + }, + { + "id": 3677, + "name": "RPCNotificationsRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For local rpc server api access, this allows you to receive notifications pushed out to the user - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 70, + "character": 1 + } + ], + "defaultValue": "\"rpc.notifications.read\"" + }, + { + "id": 3683, + "name": "RelationshipsRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to know a user's friends and implicit relationships - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 94, + "character": 1 + } + ], + "defaultValue": "\"relationships.read\"" + }, + { + "id": 3678, + "name": "WebhookIncoming", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This generates a webhook that is returned in the oauth token response for authorization code grants" + }, + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 74, + "character": 1 + } + ], + "defaultValue": "\"webhook.incoming\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3684, + 3685, + 3680, + 3679, + 3686, + 3687, + 3682, + 3681, + 3667, + 3668, + 3669, + 3674, + 3671, + 3672, + 3673, + 3670, + 3675, + 3676, + 3677, + 3683, + 3678 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/oauth2.ts", + "line": 8, + "character": 12 + } + ] + }, + { + "id": 2815, + "name": "OverwriteType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2817, + "name": "Member", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 663, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 2816, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 662, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2817, + 2816 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 661, + "character": 12 + } + ] + }, + { + "id": 2993, + "name": "PresenceUpdateStatus", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2995, + "name": "DoNotDisturb", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 103, + "character": 1 + } + ], + "defaultValue": "\"dnd\"" + }, + { + "id": 2996, + "name": "Idle", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 104, + "character": 1 + } + ], + "defaultValue": "\"idle\"" + }, + { + "id": 2997, + "name": "Invisible", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Invisible and shown as offline" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 108, + "character": 1 + } + ], + "defaultValue": "\"invisible\"" + }, + { + "id": 2998, + "name": "Offline", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 109, + "character": 1 + } + ], + "defaultValue": "\"offline\"" + }, + { + "id": 2994, + "name": "Online", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 102, + "character": 1 + } + ], + "defaultValue": "\"online\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2995, + 2996, + 2997, + 2998, + 2994 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 101, + "character": 12 + } + ] + }, + { + "id": 3711, + "name": "StageInstancePrivacyLevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#stage-instance-object-privacy-level", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3713, + "name": "GuildOnly", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The stage instance is visible to only guild members" + }, + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 49, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3712, + "name": "Public", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The stage instance is visible publicly, such as on stage discovery" + }, + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 45, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3713, + 3712 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 41, + "character": 12 + } + ] + }, + { + "id": 3735, + "name": "StickerFormatType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-format-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3737, + "name": "APNG", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 89, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3738, + "name": "Lottie", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 90, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 3736, + "name": "PNG", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 88, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3737, + 3738, + 3736 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 87, + "character": 12 + } + ] + }, + { + "id": 3732, + "name": "StickerType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3734, + "name": "Guild", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A sticker uploaded to a Boosted guild for the guild's members" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 80, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3733, + "name": "Standard", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "An official sticker in a pack, part of Nitro or in a removed purchasable pack" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 76, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3734, + 3733 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 72, + "character": 12 + } + ] + }, + { + "id": 3759, + "name": "TeamMemberMembershipState", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/teams#data-models-membership-state-enum", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3761, + "name": "Accepted", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/teams.ts", + "line": 68, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3760, + "name": "Invited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/teams.ts", + "line": 67, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3761, + 3760 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/teams.ts", + "line": 66, + "character": 12 + } + ] + }, + { + "id": 2931, + "name": "TextInputStyle", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#text-inputs-text-input-styles", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2933, + "name": "Paragraph", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1184, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 2932, + "name": "Short", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1183, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2933, + 2932 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1182, + "character": 12 + } + ] + }, + { + "id": 3806, + "name": "UserFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#user-object-user-flags", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3820, + "name": "BotHTTPInteractions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Bot uses only [HTTP interactions](https://discord.com/developers/docs/interactions/receiving-and-responding#receiving-an-interaction) and is shown in the online member list" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 145, + "character": 1 + } + ], + "defaultValue": "524288" + }, + { + "id": 3810, + "name": "BugHunterLevel1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Bug Hunter Level 1" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 105, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 3816, + "name": "BugHunterLevel2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Bug Hunter Level 2" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 129, + "character": 1 + } + ], + "defaultValue": "16384" + }, + { + "id": 3819, + "name": "CertifiedModerator", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Discord Certified Moderator" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 141, + "character": 1 + } + ], + "defaultValue": "262144" + }, + { + "id": 3811, + "name": "HypeSquadOnlineHouse1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "House Bravery Member" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 109, + "character": 1 + } + ], + "defaultValue": "64" + }, + { + "id": 3812, + "name": "HypeSquadOnlineHouse2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "House Brilliance Member" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 113, + "character": 1 + } + ], + "defaultValue": "128" + }, + { + "id": 3813, + "name": "HypeSquadOnlineHouse3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "House Balance MemberW" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 117, + "character": 1 + } + ], + "defaultValue": "256" + }, + { + "id": 3809, + "name": "Hypesquad", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "HypeSquad Events Coordinator" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 101, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 3808, + "name": "Partner", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Partnered Server Owner" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 97, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3814, + "name": "PremiumEarlySupporter", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Early Nitro Supporter" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 121, + "character": 1 + } + ], + "defaultValue": "512" + }, + { + "id": 3821, + "name": "Spammer", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "User has been identified as spammer" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 149, + "character": 1 + } + ], + "defaultValue": "1048576" + }, + { + "id": 3807, + "name": "Staff", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Discord Employee" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 93, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3815, + "name": "TeamPseudoUser", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "User is a [team](https://discord.com/developers/docs/topics/teams)" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 125, + "character": 1 + } + ], + "defaultValue": "1024" + }, + { + "id": 3817, + "name": "VerifiedBot", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Verified Bot" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 133, + "character": 1 + } + ], + "defaultValue": "65536" + }, + { + "id": 3818, + "name": "VerifiedDeveloper", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Early Verified Bot Developer" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 137, + "character": 1 + } + ], + "defaultValue": "131072" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3820, + 3810, + 3816, + 3819, + 3811, + 3812, + 3813, + 3809, + 3808, + 3814, + 3821, + 3807, + 3815, + 3817, + 3818 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 89, + "character": 12 + } + ] + }, + { + "id": 3822, + "name": "UserPremiumType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#user-object-premium-types", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3825, + "name": "Nitro", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 159, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3824, + "name": "NitroClassic", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 158, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 3823, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 157, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3825, + 3824, + 3823 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 156, + "character": 12 + } + ] + }, + { + "id": 2725, + "name": "VideoQualityMode", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2726, + "name": "Auto", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Discord chooses the quality for optimal performance" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 281, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 2727, + "name": "Full", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "720p" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 285, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 2726, + 2727 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 277, + "character": 12 + } + ] + }, + { + "id": 3872, + "name": "WebhookType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3875, + "name": "Application", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Application webhooks are webhooks used with Interactions" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 82, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 3874, + "name": "ChannelFollower", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Channel Follower Webhooks are internal webhooks used with Channel Following to post new messages into channels" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 78, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 3873, + "name": "Incoming", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Incoming Webhooks can post messages to channels with a generated token" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 74, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 3875, + 3874, + 3873 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 70, + "character": 12 + } + ] + }, + { + "id": 2902, + "name": "APIActionRowComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#action-rows", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2903, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The components in the ActionRow" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1095, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2905, + "name": "T" + } + } + }, + { + "id": 2904, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1060, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2898, + "name": "ActionRow" + }, + "inheritedFrom": { + "type": "reference", + "id": 2895, + "name": "APIBaseComponent.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2903, + 2904 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1090, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 2905, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 2960, + "name": "APIActionRowComponentTypes" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 2894, + "typeArguments": [ + { + "type": "reference", + "id": 2898, + "name": "ComponentType.ActionRow" + } + ], + "name": "APIBaseComponent" + } + ] + }, + { + "id": 2889, + "name": "APIAllowedMentions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mentions-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2890, + "name": "parse", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An array of allowed mention types to parse from the content", + "text": "See https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mention-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1035, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2885, + "name": "AllowedMentionsTypes" + } + } + }, + { + "id": 2893, + "name": "replied_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "\tFor replies, whether to mention the author of the message being replied to (default false)", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1049, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2891, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of role_ids to mention (Max size of 100)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1039, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2892, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of user_ids to mention (Max size of 100)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1043, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2890, + 2893, + 2891, + 2892 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1029, + "character": 17 + } + ] + }, + { + "id": 2460, + "name": "APIApplication", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/application#application-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2466, + "name": "bot_public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When `false` only app owner can join the app's bot to guilds" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2467, + "name": "bot_require_code_grant", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When `true` the app's bot will only join upon completion of the full oauth2 code grant flow" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2477, + "name": "cover_image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If this application is a game sold on Discord, this field will be the hash of the image on store embeds" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 91, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2481, + "name": "custom_install_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The application's default custom authorization link, if enabled" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 109, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2464, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description of the app" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2478, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The application's public flags", + "text": "See https://discord.com/developers/docs/resources/application#application-object-application-flags\n" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 97, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2485, + "name": "ApplicationFlags" + } + }, + { + "id": 2474, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If this application is a game sold on Discord, this field will be the guild to which it has been linked" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2463, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The icon hash of the app" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2461, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the app" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2480, + "name": "install_params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Settings for the application's default in-app authorization link, if enabled" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 105, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2482, + "name": "APIApplicationInstallParams" + } + }, + { + "id": 2462, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the app" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2470, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Partial user object containing info on the owner of the application", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + }, + { + "id": 2475, + "name": "primary_sku_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If this application is a game sold on Discord, this field will be the id of the \"Game SKU\" that is created, if exists" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2469, + "name": "privacy_policy_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The url of the application's privacy policy" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2465, + "name": "rpc_origins", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An array of rpc origin urls, if rpc is enabled" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2476, + "name": "slug", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If this application is a game sold on Discord, this field will be the URL slug that links to the store page" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2471, + "name": "summary", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "If this application is a game sold on Discord, this field will be the summary field for the store page\nof its primary sku", + "tags": [ + { + "tag": "deprecated", + "text": "Always an empty string, will be removed in v11\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "" + } + }, + { + "id": 2479, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Up to 5 tags describing the content and functionality of the application" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 101, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "optional", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "optional", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "optional", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "optional", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 2473, + "name": "team", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The team this application belongs to", + "text": "See https://discord.com/developers/docs/topics/teams#data-models-team-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 3748, + "name": "APITeam" + } + ] + } + }, + { + "id": 2468, + "name": "terms_of_service_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The url of the application's terms of service" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2472, + "name": "verify_key", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function", + "text": "See https://discord.com/developers/docs/game-sdk/applications#get-ticket\n" + }, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2466, + 2467, + 2477, + 2481, + 2464, + 2478, + 2474, + 2463, + 2461, + 2480, + 2462, + 2470, + 2475, + 2469, + 2465, + 2476, + 2471, + 2479, + 2473, + 2468, + 2472 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 14, + "character": 17 + } + ] + }, + { + "id": 3356, + "name": "APIApplicationCommand", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3359, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unique id of the parent application" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3364, + "name": "default_permission", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the command is enabled by default when the app is added to a guild", + "text": "If missing, this property should be assumed as `true`\n" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3362, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "1-100 character description for `CHAT_INPUT` commands, empty string for `USER` and `MESSAGE` commands" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3360, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Guild id of the command, if not global" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3357, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unique id of the command" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3361, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "1-32 character name; `CHAT_INPUT` command names must be all lowercase matching `^[\\w-]{1,32}$`" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3363, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The parameters for the `CHAT_INPUT` command, max 25" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3391, + "name": "APIApplicationCommandOption" + } + } + }, + { + "id": 3358, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of the command" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3366, + "name": "ApplicationCommandType" + } + }, + { + "id": 3365, + "name": "version", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Autoincrementing version identifier updated during substantial record changes" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3359, + 3364, + 3362, + 3360, + 3357, + 3361, + 3363, + 3358, + 3365 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 28, + "character": 17 + } + ] + }, + { + "id": 3597, + "name": "APIApplicationCommandAutocompleteResponse", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3599, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 43, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3625, + "name": "APICommandAutocompleteInteractionResponseCallbackData" + } + }, + { + "id": 3598, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3620, + "name": "ApplicationCommandAutocompleteResult" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3599, + 3598 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 41, + "character": 17 + } + ] + }, + { + "id": 3413, + "name": "APIApplicationCommandChannelOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3414, + "name": "channel_types", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/channel.ts", + "line": 11, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2717, + "name": "GuildText" + }, + { + "type": "reference", + "id": 2719, + "name": "GuildVoice" + }, + { + "type": "reference", + "id": 2721, + "name": "GuildCategory" + }, + { + "type": "reference", + "id": 2722, + "name": "GuildNews" + }, + { + "type": "reference", + "id": 2723, + "name": "GuildStore" + }, + { + "type": "reference", + "id": 2724, + "name": "GuildStageVoice" + } + ] + } + } + }, + { + "id": 3417, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description" + } + }, + { + "id": 3416, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name" + } + }, + { + "id": 3418, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.required" + } + }, + { + "id": 3415, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3443, + "name": "Channel" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3414, + 3417, + 3416, + 3418, + 3415 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/channel.ts", + "line": 9, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3443, + "name": "ApplicationCommandOptionType.Channel" + } + ], + "name": "APIApplicationCommandOptionBase" + } + ] + }, + { + "id": 3421, + "name": "APIApplicationCommandInteractionDataIntegerOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3422, + "name": "focused", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/integer.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3423, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.name" + } + }, + { + "id": 3424, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3440, + "name": "Integer" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.type" + } + }, + { + "id": 3425, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.value" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3422, + 3423, + 3424, + 3425 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/integer.ts", + "line": 34, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3440, + "name": "ApplicationCommandOptionType.Integer" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "APIInteractionDataOptionBase" + } + ] + }, + { + "id": 3429, + "name": "APIApplicationCommandInteractionDataNumberOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3430, + "name": "focused", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/number.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3431, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.name" + } + }, + { + "id": 3432, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3446, + "name": "Number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.type" + } + }, + { + "id": 3433, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.value" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3430, + 3431, + 3432, + 3433 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/number.ts", + "line": 34, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3446, + "name": "ApplicationCommandOptionType.Number" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "APIInteractionDataOptionBase" + } + ] + }, + { + "id": 3453, + "name": "APIApplicationCommandInteractionDataStringOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3454, + "name": "focused", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/string.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3455, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.name" + } + }, + { + "id": 3456, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3439, + "name": "String" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.type" + } + }, + { + "id": 3457, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.value" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3454, + 3455, + 3456, + 3457 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/string.ts", + "line": 19, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3439, + "name": "ApplicationCommandOptionType.String" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "APIInteractionDataOptionBase" + } + ] + }, + { + "id": 3474, + "name": "APIApplicationCommandInteractionDataSubcommandGroupOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3475, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3477, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3464, + "name": "APIApplicationCommandInteractionDataSubcommandOption" + } + } + }, + { + "id": 3476, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3438, + "name": "SubcommandGroup" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3475, + 3477, + 3476 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 19, + "character": 17 + } + ] + }, + { + "id": 3464, + "name": "APIApplicationCommandInteractionDataSubcommandOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3465, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3467, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3393, + "name": "APIApplicationCommandInteractionDataBasicOption" + } + } + }, + { + "id": 3466, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3437, + "name": "Subcommand" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3465, + 3467, + 3466 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 16, + "character": 17 + } + ] + }, + { + "id": 3448, + "name": "APIApplicationCommandOptionChoice", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-choice-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3449, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3450, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3451, + "name": "ValueType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3449, + 3450 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 23, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 3451, + "name": "ValueType", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ] + }, + { + "id": 3512, + "name": "APIApplicationCommandPermission", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-application-command-permissions-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3513, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the role or user" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/permissions.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3515, + "name": "permission", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`true` to allow, `false`, to disallow" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/permissions.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3514, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role or user" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/permissions.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3516, + "name": "ApplicationCommandPermissionType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3513, + 3515, + 3514 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/permissions.ts", + "line": 30, + "character": 17 + } + ] + }, + { + "id": 3468, + "name": "APIApplicationCommandSubcommandGroupOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3472, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description" + } + }, + { + "id": 3471, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name" + } + }, + { + "id": 3469, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3458, + "name": "APIApplicationCommandSubcommandOption" + } + } + }, + { + "id": 3473, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.required" + } + }, + { + "id": 3470, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3438, + "name": "SubcommandGroup" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3472, + 3471, + 3469, + 3473, + 3470 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 11, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3438, + "name": "ApplicationCommandOptionType.SubcommandGroup" + } + ], + "name": "APIApplicationCommandOptionBase" + } + ] + }, + { + "id": 3458, + "name": "APIApplicationCommandSubcommandOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3462, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description" + } + }, + { + "id": 3461, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name" + } + }, + { + "id": 3459, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3390, + "name": "APIApplicationCommandBasicOption" + } + } + }, + { + "id": 3463, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.required" + } + }, + { + "id": 3460, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3437, + "name": "Subcommand" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3462, + 3461, + 3459, + 3463, + 3460 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 8, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3437, + "name": "ApplicationCommandOptionType.Subcommand" + } + ], + "name": "APIApplicationCommandOptionBase" + } + ] + }, + { + "id": 2482, + "name": "APIApplicationInstallParams", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 2484, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 114, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2483, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 113, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3666, + "name": "OAuth2Scopes" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2484, + 2483 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/application.ts", + "line": 112, + "character": 17 + } + ] + }, + { + "id": 2869, + "name": "APIAttachment", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2873, + "name": "content_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The attachment's media type", + "text": "See https://en.wikipedia.org/wiki/Media_type\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 954, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2872, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Description for the file" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 948, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2879, + "name": "ephemeral", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this attachment is ephemeral" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 978, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2871, + "name": "filename", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of file attached" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 944, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2877, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Height of file (if image)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 970, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 2870, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Attachment id" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 940, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2876, + "name": "proxy_url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A proxied url of file" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 966, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2874, + "name": "size", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Size of file in bytes" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 958, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2875, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Source url of file" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 962, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2878, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Width of file (if image)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 974, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2873, + 2872, + 2879, + 2871, + 2877, + 2870, + 2876, + 2874, + 2875, + 2878 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 936, + "character": 17 + } + ] + }, + { + "id": 2499, + "name": "APIAuditLog", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-object-audit-log-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2502, + "name": "audit_log_entries", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Audit log entries", + "text": "See https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2505, + "name": "APIAuditLogEntry" + } + } + }, + { + "id": 2504, + "name": "guild_scheduled_events", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild scheduled events in the audit log", + "text": "See https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3335, + "name": "APIGuildScheduledEvent" + } + } + }, + { + "id": 2503, + "name": "integrations", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Partial integration objects", + "text": "See https://discord.com/developers/docs/resources/guild#integration-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 54, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3205, + "name": "APIGuildIntegration" + } + } + }, + { + "id": 2501, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Users found in the audit log", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + }, + { + "id": 2500, + "name": "webhooks", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Webhooks found in the audit log", + "text": "See https://discord.com/developers/docs/resources/webhook#webhook-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3859, + "name": "APIWebhook" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2502, + 2504, + 2503, + 2501, + 2500 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 30, + "character": 17 + } + ] + }, + { + "id": 2505, + "name": "APIAuditLogEntry", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-entry-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2510, + "name": "action_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of action that occurred", + "text": "See https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 93, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2513, + "name": "AuditLogEvent" + } + }, + { + "id": 2507, + "name": "changes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Changes made to the `target_id`", + "text": "See https://discord.com/developers/docs/resources/audit-log#audit-log-change-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2570, + "name": "APIAuditLogChange" + } + } + }, + { + "id": 2509, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the entry" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2511, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Additional info for certain action types", + "text": "See https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 99, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2558, + "name": "APIAuditLogOptions" + } + }, + { + "id": 2512, + "name": "reason", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The reason for the change (0-512 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 103, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2506, + "name": "target_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the affected entity (webhook, user, role, etc.)" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2508, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user who made the changes", + "text": "This can be `null` in some cases (webhooks deleting themselves by using their own token, for example)\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2510, + 2507, + 2509, + 2511, + 2512, + 2506, + 2508 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 67, + "character": 17 + } + ] + }, + { + "id": 2558, + "name": "APIAuditLogOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2561, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Channel in which the entities were targeted", + "text": "Present from:\n- MEMBER_MOVE\n- MESSAGE_PIN\n- MESSAGE_UNPIN\n- MESSAGE_DELETE\n- STAGE_INSTANCE_CREATE\n- STAGE_INSTANCE_UPDATE\n- STAGE_INSTANCE_DELETE\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 199, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2563, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of entities that were targeted", + "text": "Present from:\n- MESSAGE_DELETE\n- MESSAGE_BULK_DELETE\n- MEMBER_DISCONNECT\n- MEMBER_MOVE\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 219, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2559, + "name": "delete_member_days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of days after which inactive members were kicked", + "text": "Present from:\n- MEMBER_PRUNE\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 178, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2564, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the overwritten entity", + "text": "Present from:\n- CHANNEL_OVERWRITE_CREATE\n- CHANNEL_OVERWRITE_UPDATE\n- CHANNEL_OVERWRITE_DELETE\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 229, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2560, + "name": "members_removed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of members removed by the prune", + "text": "Present from:\n- MEMBER_PRUNE\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 185, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2562, + "name": "message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the message that was targeted", + "text": "Present from:\n- MESSAGE_PIN\n- MESSAGE_UNPIN\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 208, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2566, + "name": "role_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the role", + "text": "Present from:\n- CHANNEL_OVERWRITE_CREATE\n- CHANNEL_OVERWRITE_UPDATE\n- CHANNEL_OVERWRITE_DELETE\n\n**Present only if the {@link APIAuditLogOptions#type entry type} is \"0\"**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 253, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2565, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Type of overwritten entity - \"0\" for \"role\" or \"1\" for \"member\"", + "text": "Present from:\n- CHANNEL_OVERWRITE_CREATE\n- CHANNEL_OVERWRITE_UPDATE\n- CHANNEL_OVERWRITE_DELETE\n\n{@link AuditLogOptionsType}\n" + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 241, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2567, + "name": "AuditLogOptionsType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2561, + 2563, + 2559, + 2564, + 2560, + 2562, + 2566, + 2565 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 171, + "character": 17 + } + ] + }, + { + "id": 3235, + "name": "APIBan", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#ban-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3236, + "name": "reason", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The reason for the ban" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 848, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3237, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The banned user" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 852, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3236, + 3237 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 844, + "character": 17 + } + ] + }, + { + "id": 2894, + "name": "APIBaseComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#component-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2895, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1060, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2896, + "name": "T" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2895 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1056, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 2896, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 2897, + "name": "ComponentType" + } + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 2902, + "name": "APIActionRowComponent" + }, + { + "type": "reference", + "id": 2934, + "name": "APISelectMenuComponent" + }, + { + "type": "reference", + "id": 2948, + "name": "APITextInputComponent" + } + ] + }, + { + "id": 3541, + "name": "APIBaseInteraction", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3543, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the application this interaction is for" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3547, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel it was sent from" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 90, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3545, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The command data payload" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 82, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3556, + "name": "Data" + } + }, + { + "id": 3546, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild it was sent from" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 86, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3554, + "name": "guild_locale", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild's preferred locale, if invoked in a guild" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 120, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + } + }, + { + "id": 3542, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the interaction" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3553, + "name": "locale", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The selected language of the invoking user" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 116, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + } + }, + { + "id": 3548, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Guild member data for the invoking user, including permissions", + "text": "**This is only sent when an interaction is invoked in a guild**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 96, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3529, + "name": "APIInteractionGuildMember" + } + }, + { + "id": 3552, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "For components, the message they were attached to" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 112, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + }, + { + "id": 3550, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A continuation token for responding to the interaction" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 104, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3544, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of interaction" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 78, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3555, + "name": "Type" + } + }, + { + "id": 3549, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User object for the invoking user, if invoked in a DM" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 100, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + }, + { + "id": 3551, + "name": "version", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Read-only property, always `1`" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 108, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": 1 + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3543, + 3547, + 3545, + 3546, + 3554, + 3542, + 3553, + 3548, + 3552, + 3550, + 3544, + 3549, + 3551 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 66, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 3555, + "name": "Type", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 3588, + "name": "InteractionType" + } + }, + { + "id": 3556, + "name": "Data", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ] + }, + { + "id": 2910, + "name": "APIButtonComponentWithCustomId", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2911, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The custom_id to be sent in the interaction when clicked" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1148, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2915, + "name": "disabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The status of the button" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1117, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIButtonComponentBase.disabled" + } + }, + { + "id": 2914, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The emoji to display to the left of the text" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1113, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2906, + "name": "APIMessageComponentEmoji" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIButtonComponentBase.emoji" + } + }, + { + "id": 2912, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The label to be displayed on the button" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1105, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIButtonComponentBase.label" + } + }, + { + "id": 2913, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The style of the button" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1109, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2926, + "name": "Primary" + }, + { + "type": "reference", + "id": 2927, + "name": "Secondary" + }, + { + "type": "reference", + "id": 2928, + "name": "Success" + }, + { + "type": "reference", + "id": 2929, + "name": "Danger" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIButtonComponentBase.style" + } + }, + { + "id": 2916, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1060, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2899, + "name": "Button" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIButtonComponentBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2911, + 2915, + 2914, + 2912, + 2913, + 2916 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1141, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2926, + "name": "ButtonStyle.Primary" + }, + { + "type": "reference", + "id": 2927, + "name": "ButtonStyle.Secondary" + }, + { + "type": "reference", + "id": 2928, + "name": "ButtonStyle.Success" + }, + { + "type": "reference", + "id": 2929, + "name": "ButtonStyle.Danger" + } + ] + } + ], + "name": "APIButtonComponentBase" + } + ] + }, + { + "id": 2917, + "name": "APIButtonComponentWithURL", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2922, + "name": "disabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The status of the button" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1117, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIButtonComponentBase.disabled" + } + }, + { + "id": 2921, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The emoji to display to the left of the text" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1113, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2906, + "name": "APIMessageComponentEmoji" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIButtonComponentBase.emoji" + } + }, + { + "id": 2919, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The label to be displayed on the button" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1105, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIButtonComponentBase.label" + } + }, + { + "id": 2920, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The style of the button" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1109, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2930, + "name": "Link" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIButtonComponentBase.style" + } + }, + { + "id": 2923, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1060, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2899, + "name": "Button" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIButtonComponentBase.type" + } + }, + { + "id": 2918, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The URL to direct users to when clicked for Link buttons" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1158, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2922, + 2921, + 2919, + 2920, + 2923, + 2918 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1154, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2930, + "name": "ButtonStyle.Link" + } + ], + "name": "APIButtonComponentBase" + } + ] + }, + { + "id": 2639, + "name": "APIChannelBase", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "This interface is used to allow easy extension for other channel types. While\nalso allowing `APIPartialChannel` to be used without breaking.", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2641, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2636, + "name": "APIPartialChannel.id" + } + }, + { + "id": 2642, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2638, + "name": "APIPartialChannel.name" + } + }, + { + "id": 2640, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2643, + "name": "T" + }, + "overwrites": { + "type": "reference", + "id": 2637, + "name": "APIPartialChannel.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2641, + 2642, + 2640 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 40, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 2643, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 2716, + "name": "ChannelType" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 2635, + "name": "APIPartialChannel" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 2646, + "name": "APITextBasedChannel" + }, + { + "type": "reference", + "id": 2652, + "name": "APIGuildChannel" + } + ] + }, + { + "id": 2880, + "name": "APIChannelMention", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-mention-object-channel-mention-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2882, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild containing the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 993, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2881, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 989, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2884, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1003, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2883, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 999, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2716, + "name": "ChannelType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2882, + 2881, + 2884, + 2883 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 985, + "character": 17 + } + ] + }, + { + "id": 4174, + "name": "APIChannelPatchOverwrite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4176, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all allowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 431, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 4251, + "name": "RESTPutAPIChannelPermissionJSONBody.allow" + } + }, + { + "id": 4177, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all disallowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 439, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 4252, + "name": "RESTPutAPIChannelPermissionJSONBody.deny" + } + }, + { + "id": 4175, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4178, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`0` for a role or `1` for a member" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 443, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2815, + "name": "OverwriteType" + }, + "inheritedFrom": { + "type": "reference", + "id": 4253, + "name": "RESTPutAPIChannelPermissionJSONBody.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4176, + 4177, + 4175, + 4178 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 25, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 4250, + "name": "RESTPutAPIChannelPermissionJSONBody" + } + ] + }, + { + "id": 3394, + "name": "APIChatInputApplicationCommandInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3397, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/internals.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.id" + } + }, + { + "id": 3399, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/internals.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.name" + } + }, + { + "id": 3395, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 122, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3392, + "name": "APIApplicationCommandInteractionDataOption" + } + } + }, + { + "id": 3396, + "name": "resolved", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 123, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3400, + "name": "APIChatInputApplicationCommandInteractionDataResolved" + } + }, + { + "id": 3398, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/internals.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3367, + "name": "ChatInput" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3397, + 3399, + 3395, + 3396, + 3398 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 120, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3367, + "name": "ApplicationCommandType.ChatInput" + } + ], + "name": "APIBaseApplicationCommandInteractionData" + } + ] + }, + { + "id": 3400, + "name": "APIChatInputApplicationCommandInteractionDataResolved", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-resolved-data-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3405, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 135, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 2869, + "name": "APIAttachment" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 3404, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 134, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 3371, + "name": "APIInteractionDataResolvedChannel" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 3403, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 133, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 3376, + "name": "APIInteractionDataResolvedGuildMember" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 3402, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 132, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 3688, + "name": "APIRole" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 3401, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 131, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3405, + 3404, + 3403, + 3402, + 3401 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 130, + "character": 17 + } + ] + }, + { + "id": 3625, + "name": "APICommandAutocompleteInteractionResponseCallbackData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3626, + "name": "choices", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 133, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3448, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "APIApplicationCommandOptionChoice" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3626 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 132, + "character": 17 + } + ] + }, + { + "id": 3826, + "name": "APIConnection", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#connection-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3833, + "name": "friend_sync", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether friend sync is enabled for this connection" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 196, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3827, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the connection account" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 170, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3831, + "name": "integrations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An array of partial server integrations", + "text": "See https://discord.com/developers/docs/resources/guild#integration-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 188, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3205, + "name": "APIGuildIntegration" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + } + }, + { + "id": 3828, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The username of the connection account" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 174, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3830, + "name": "revoked", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the connection is revoked" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 182, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3834, + "name": "show_activity", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether activities related to this connection will be shown in presence updates" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 200, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3829, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The service of the connection" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 178, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3832, + "name": "verified", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the connection is verified" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 192, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3835, + "name": "visibility", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Visibility of this connection", + "text": "See https://discord.com/developers/docs/resources/user#connection-object-visibility-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 206, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3836, + "name": "ConnectionVisibility" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3833, + 3827, + 3831, + 3828, + 3830, + 3834, + 3829, + 3832, + 3835 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 166, + "character": 17 + } + ] + }, + { + "id": 2818, + "name": "APIEmbed", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-structure", + "text": "Length limit: 6000 characters", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2830, + "name": "author", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Author information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 740, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2856, + "name": "APIEmbedAuthor" + } + }, + { + "id": 2824, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Color code of the embed" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 704, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2821, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Description of embed", + "text": "Length limit: 4096 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 692, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2831, + "name": "fields", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Fields information", + "text": "Length limit: 25 field objects\n\nSee https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 748, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2865, + "name": "APIEmbedField" + } + } + }, + { + "id": 2825, + "name": "footer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Footer information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 710, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2861, + "name": "APIEmbedFooter" + } + }, + { + "id": 2826, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Image information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 716, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2848, + "name": "APIEmbedImage" + } + }, + { + "id": 2829, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Provider information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-provider-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 734, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2853, + "name": "APIEmbedProvider" + } + }, + { + "id": 2827, + "name": "thumbnail", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Thumbnail information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 722, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2839, + "name": "APIEmbedThumbnail" + } + }, + { + "id": 2823, + "name": "timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of embed content" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 700, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2819, + "name": "title", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Title of embed", + "text": "Length limit: 256 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 678, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2820, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Type of embed (always \"rich\" for webhook embeds)", + "tags": [ + { + "tag": "deprecated", + "text": "*Embed types should be considered deprecated and might be removed in a future API version*\n\nSee https://discord.com/developers/docs/resources/channel#embed-object-embed-types\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 686, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2832, + "name": "EmbedType" + } + }, + { + "id": 2822, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of embed" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 696, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2828, + "name": "video", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Video information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-video-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 728, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2844, + "name": "APIEmbedVideo" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2830, + 2824, + 2821, + 2831, + 2825, + 2826, + 2829, + 2827, + 2823, + 2819, + 2820, + 2822, + 2828 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 672, + "character": 17 + } + ] + }, + { + "id": 2856, + "name": "APIEmbedAuthor", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2859, + "name": "icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of author icon (only supports http(s) and attachments)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 881, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2857, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of author", + "text": "Length limit: 256 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 873, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2860, + "name": "proxy_icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A proxied url of author icon" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 885, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2858, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of author" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 877, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2859, + 2857, + 2860, + 2858 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 867, + "character": 17 + } + ] + }, + { + "id": 2865, + "name": "APIEmbedField", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2868, + "name": "inline", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether or not this field should display inline" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 929, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2866, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the field", + "text": "Length limit: 256 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 919, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2867, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Value of the field", + "text": "Length limit: 1024 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 925, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2868, + 2866, + 2867 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 913, + "character": 17 + } + ] + }, + { + "id": 2861, + "name": "APIEmbedFooter", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2863, + "name": "icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of footer icon (only supports http(s) and attachments)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 902, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2864, + "name": "proxy_icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A proxied url of footer icon" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 906, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2862, + "name": "text", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Footer text", + "text": "Length limit: 2048 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 898, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2863, + 2864, + 2862 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 892, + "character": 17 + } + ] + }, + { + "id": 2848, + "name": "APIEmbedImage", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2851, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Height of image" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 841, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2850, + "name": "proxy_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A proxied url of the image" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 837, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2849, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Source url of image (only supports http(s) and attachments)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 833, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2852, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Width of image" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 845, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2851, + 2850, + 2849, + 2852 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 829, + "character": 17 + } + ] + }, + { + "id": 2853, + "name": "APIEmbedProvider", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-provider-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2854, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of provider" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 856, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2855, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of provider" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 860, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2854, + 2855 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 852, + "character": 17 + } + ] + }, + { + "id": 2839, + "name": "APIEmbedThumbnail", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2842, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Height of thumbnail" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 799, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2841, + "name": "proxy_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A proxied url of the thumbnail" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 795, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2840, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Source url of thumbnail (only supports http(s) and attachments)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 791, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2843, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Width of thumbnail" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 803, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2842, + 2841, + 2840, + 2843 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 787, + "character": 17 + } + ] + }, + { + "id": 2844, + "name": "APIEmbedVideo", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-video-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2846, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Height of video" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 818, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2845, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Source url of video" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 814, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2847, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Width of video" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 822, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2846, + 2845, + 2847 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 810, + "character": 17 + } + ] + }, + { + "id": 2967, + "name": "APIEmoji", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#emoji-object-emoji-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2975, + "name": "animated", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji is animated" + }, + "sources": [ + { + "fileName": "payloads/v8/emoji.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 2966, + "name": "APIPartialEmoji.animated" + } + }, + { + "id": 2972, + "name": "available", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji can be used, may be false due to loss of Server Boosts" + }, + "sources": [ + { + "fileName": "payloads/v8/emoji.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2973, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji id" + }, + "sources": [ + { + "fileName": "payloads/v8/emoji.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 2964, + "name": "APIPartialEmoji.id" + } + }, + { + "id": 2971, + "name": "managed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji is managed" + }, + "sources": [ + { + "fileName": "payloads/v8/emoji.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2974, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji name (can be null only in reaction emoji objects)" + }, + "sources": [ + { + "fileName": "payloads/v8/emoji.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 2965, + "name": "APIPartialEmoji.name" + } + }, + { + "id": 2970, + "name": "require_colons", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji must be wrapped in colons" + }, + "sources": [ + { + "fileName": "payloads/v8/emoji.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2968, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Roles this emoji is whitelisted to" + }, + "sources": [ + { + "fileName": "payloads/v8/emoji.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2969, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User that created this emoji" + }, + "sources": [ + { + "fileName": "payloads/v8/emoji.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2975, + 2972, + 2973, + 2971, + 2974, + 2970, + 2968, + 2969 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/emoji.ts", + "line": 32, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 2963, + "name": "APIPartialEmoji" + } + ] + }, + { + "id": 3648, + "name": "APIExtendedInvite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-metadata-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3662, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Approximate count of total members, returned from the `GET /invites/` endpoint when `with_counts` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 3641, + "name": "APIInvite.approximate_member_count" + } + }, + { + "id": 3661, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Approximate count of online members, returned from the `GET /invites/` endpoint when `with_counts` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 3640, + "name": "APIInvite.approximate_presence_count" + } + }, + { + "id": 3656, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel this invite is for", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2635, + "name": "APIPartialChannel" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 3635, + "name": "APIInvite.channel" + } + }, + { + "id": 3654, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The invite code (unique ID)" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 3633, + "name": "APIInvite.code" + } + }, + { + "id": 3653, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this invite was created" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 127, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3663, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The expiration date of this invite, returned from the `GET /invites/` endpoint when `with_expiration` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 3642, + "name": "APIInvite.expires_at" + } + }, + { + "id": 3655, + "name": "guild", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild this invite is for", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3631, + "name": "APIInviteGuild" + }, + "inheritedFrom": { + "type": "reference", + "id": 3634, + "name": "APIInvite.guild" + } + }, + { + "id": 3665, + "name": "guild_scheduled_event", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild scheduled event data, returned from the `GET /invites/` endpoint when `guild_scheduled_event_id` is a valid guild scheduled event id" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 91, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3335, + "name": "APIGuildScheduledEvent" + }, + "inheritedFrom": { + "type": "reference", + "id": 3644, + "name": "APIInvite.guild_scheduled_event" + } + }, + { + "id": 3657, + "name": "inviter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user who created the invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "id": 3636, + "name": "APIInvite.inviter" + } + }, + { + "id": 3651, + "name": "max_age", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Duration (in seconds) after which the invite expires" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 119, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3650, + "name": "max_uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Max number of times this invite can be used" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 115, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3664, + "name": "stage_instance", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The stage instance data if there is a public stage instance in the stage channel this invite is for" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3714, + "name": "APIInviteStageInstance" + }, + "inheritedFrom": { + "type": "reference", + "id": 3643, + "name": "APIInvite.stage_instance" + } + }, + { + "id": 3660, + "name": "target_application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The embedded application to open for this voice channel embedded application invite", + "text": "See https://discord.com/developers/docs/topics/oauth2#application\n" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2460, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + "inheritedFrom": { + "type": "reference", + "id": 3639, + "name": "APIInvite.target_application" + } + }, + { + "id": 3658, + "name": "target_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of target for this voice channel invite", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object-target-user-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3645, + "name": "InviteTargetType" + }, + "inheritedFrom": { + "type": "reference", + "id": 3637, + "name": "APIInvite.target_type" + } + }, + { + "id": 3659, + "name": "target_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user whose stream to display for this voice channel stream invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "id": 3638, + "name": "APIInvite.target_user" + } + }, + { + "id": 3652, + "name": "temporary", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this invite only grants temporary membership" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 123, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3649, + "name": "uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Number of times this invite has been used" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 111, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3662, + 3661, + 3656, + 3654, + 3653, + 3663, + 3655, + 3665, + 3657, + 3651, + 3650, + 3664, + 3660, + 3658, + 3659, + 3652, + 3649 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 107, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 3632, + "name": "APIInvite" + } + ] + }, + { + "id": 3318, + "name": "APIExternalGuildScheduledEvent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3319, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 97, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.channel_id" + } + }, + { + "id": 3332, + "name": "creator", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator" + } + }, + { + "id": 3323, + "name": "creator_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator_id" + } + }, + { + "id": 3325, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.description" + } + }, + { + "id": 3331, + "name": "entity_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_id" + } + }, + { + "id": 3320, + "name": "entity_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 98, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3336, + "name": "APIGuildScheduledEventEntityMetadata" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_metadata" + } + }, + { + "id": 3330, + "name": "entity_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3341, + "name": "External" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_type" + } + }, + { + "id": 3322, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild id which the scheduled event belongs to" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.guild_id" + } + }, + { + "id": 3321, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.id" + } + }, + { + "id": 3334, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The cover image of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.image" + } + }, + { + "id": 3324, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.name" + } + }, + { + "id": 3328, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3348, + "name": "GuildOnly" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.privacy_level" + } + }, + { + "id": 3327, + "name": "scheduled_end_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the guild event will end, or `null` if the event does not have a scheduled time to end" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_end_time" + } + }, + { + "id": 3326, + "name": "scheduled_start_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time the scheduled event will start" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_start_time" + } + }, + { + "id": 3329, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The status of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3342, + "name": "GuildScheduledEventStatus" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.status" + } + }, + { + "id": 3333, + "name": "user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of users subscribed to the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.user_count" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3319, + 3332, + 3323, + 3325, + 3331, + 3320, + 3330, + 3322, + 3321, + 3334, + 3324, + 3328, + 3327, + 3326, + 3329, + 3333 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 95, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3341, + "name": "GuildScheduledEventEntityType.External" + } + ], + "name": "APIGuildScheduledEventBase" + } + ] + }, + { + "id": 2803, + "name": "APIFollowedChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#followed-channel-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2804, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Source channel id" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 597, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2805, + "name": "webhook_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Created target webhook id" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 601, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2804, + 2805 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 593, + "character": 17 + } + ] + }, + { + "id": 2978, + "name": "APIGatewayBotInfo", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway-bot", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2980, + "name": "session_start_limit", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Information on the current session start limit", + "text": "See https://discord.com/developers/docs/topics/gateway#session-start-limit-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2982, + "name": "APIGatewaySessionStartLimit" + } + }, + { + "id": 2979, + "name": "shards", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The recommended number of shards to use when connecting", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2981, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The WSS URL that can be used for connecting to the gateway" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2977, + "name": "APIGatewayInfo.url" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2980, + 2979, + 2981 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 24, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 2976, + "name": "APIGatewayInfo" + } + ] + }, + { + "id": 2976, + "name": "APIGatewayInfo", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2977, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The WSS URL that can be used for connecting to the gateway" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2977 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 13, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 2978, + "name": "APIGatewayBotInfo" + } + ] + }, + { + "id": 2982, + "name": "APIGatewaySessionStartLimit", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#session-start-limit-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2986, + "name": "max_concurrency", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The number of identify requests allowed per 5 seconds" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2984, + "name": "remaining", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The remaining number of session starts the current user is allowed" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2985, + "name": "reset_after", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The number of milliseconds after which the limit resets" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2983, + "name": "total", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The total number of session starts the current user is allowed" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2986, + 2984, + 2985, + 2983 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 43, + "character": 17 + } + ] + }, + { + "id": 2706, + "name": "APIGroupDMChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2707, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Application id of the group DM creator if it is bot-created" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 198, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2708, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Icon hash" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 202, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2713, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIDMChannelBase.id" + } + }, + { + "id": 2710, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this channel (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 210, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "name": "APIDMChannelBase.last_message_id" + } + }, + { + "id": 2714, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIDMChannelBase.name" + } + }, + { + "id": 2709, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the DM creator" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 206, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2711, + "name": "recipients", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The recipients of the DM", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 183, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "APIDMChannelBase.recipients" + } + }, + { + "id": 2712, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2720, + "name": "GroupDM" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIDMChannelBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2707, + 2708, + 2713, + 2710, + 2714, + 2709, + 2711, + 2712 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 194, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2720, + "name": "ChannelType.GroupDM" + } + ], + "name": "APIDMChannelBase" + } + ] + }, + { + "id": 3071, + "name": "APIGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-guild-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3078, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of afk channel" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 129, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3079, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "afk timeout in seconds" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 133, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3089, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Application id of the guild creator if it is bot-created" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 187, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3110, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "**This field is only received from https://discord.com/developers/docs/resources/guild#get-guild with the `with_counts` query parameter set to `true`**" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 301, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3111, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "**This field is only received from https://discord.com/developers/docs/resources/guild#get-guild with the `with_counts` query parameter set to `true`**" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 305, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3104, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Banner hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 273, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "id": 3063, + "name": "APIPartialGuild.banner" + } + }, + { + "id": 3098, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Channels in the guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 243, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2715, + "name": "APIChannel" + } + } + }, + { + "id": 3083, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Default message notifications level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 153, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3123, + "name": "GuildDefaultMessageNotifications" + } + }, + { + "id": 3103, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description for the guild, if the guild is discoverable" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 267, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "id": 3064, + "name": "APIPartialGuild.description" + } + }, + { + "id": 3073, + "name": "discovery_splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Discovery splash hash; only present for guilds with the \"DISCOVERABLE\" feature", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 100, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3086, + "name": "emojis", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Custom guild emojis", + "text": "See https://discord.com/developers/docs/resources/emoji#emoji-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 171, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2967, + "name": "APIEmoji" + } + } + }, + { + "id": 3084, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Explicit content filter level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 159, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3126, + "name": "GuildExplicitContentFilter" + } + }, + { + "id": 3087, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Enabled guild features", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-features\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 177, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3154, + "name": "GuildFeature" + } + }, + "overwrites": { + "type": "reference", + "id": 3065, + "name": "APIPartialGuild.features" + } + }, + { + "id": 3117, + "name": "guild_scheduled_events", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The scheduled events in the guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nhttps://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 343, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3335, + "name": "APIGuildScheduledEvent" + } + } + }, + { + "id": 3119, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Icon hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 3061, + "name": "APIPartialGuild.icon" + } + }, + { + "id": 3072, + "name": "icon_hash", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Icon hash, returned when in the template object", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 94, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3122, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild id" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 3069, + "name": "APIPartialGuild.id" + } + }, + { + "id": 3093, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When this guild was joined at", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 207, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3094, + "name": "large", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if this is considered a large guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 213, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3101, + "name": "max_members", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The maximum number of members for the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 259, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3100, + "name": "max_presences", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The maximum number of presences for the guild (`null` is always returned, apart from the largest of guilds)" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 255, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 3109, + "name": "max_video_channel_users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The maximum amount of users in a video channel" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 297, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3095, + "name": "member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Total number of members in this guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 219, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3097, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Users in the guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 235, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + } + } + }, + { + "id": 3088, + "name": "mfa_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Required MFA level for the guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-mfa-level\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 183, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3130, + "name": "GuildMFALevel" + } + }, + { + "id": 3118, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild name (2-100 characters, excluding trailing and leading whitespace)" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 3060, + "name": "APIPartialGuild.name" + } + }, + { + "id": 3113, + "name": "nsfw_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The nsfw level of the guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 317, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3133, + "name": "GuildNSFWLevel" + } + }, + { + "id": 3074, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if the user is the owner of the guild", + "text": "**This field is only received from https://discord.com/developers/docs/resources/user#get-current-user-guilds**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 106, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3075, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of owner" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 110, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3076, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Total permissions for the user in the guild (excludes overrides)", + "text": "**This field is only received from https://discord.com/developers/docs/resources/user#get-current-user-guilds**\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 118, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3107, + "name": "preferred_locale", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The preferred locale of a Community guild; used in guild discovery and notices from Discord; defaults to \"en-US\"", + "tags": [ + { + "tag": "default", + "text": "\"en-US\"\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 289, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3116, + "name": "premium_progress_bar_enabled", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the guild has the boost progress bar enabled." + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 335, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3106, + "name": "premium_subscription_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of boosts this guild currently has" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 283, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3105, + "name": "premium_tier", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Premium tier (Server Boost level)", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-premium-tier\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 279, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3144, + "name": "GuildPremiumTier" + } + }, + { + "id": 3099, + "name": "presences", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Presences of the members in the guild, will only include non-offline members if the size is greater than `large_threshold`", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/topics/gateway#presence-update\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 251, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2987, + "name": "GatewayPresenceUpdate" + } + } + }, + { + "id": 3108, + "name": "public_updates_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel where admins and moderators of Community guilds receive notices from Discord" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 293, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3077, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Voice region id for the guild", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object", + "tags": [ + { + "tag": "deprecated", + "text": "This field has been deprecated in favor of `rtc_region` on the channel.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 125, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3085, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Roles in the guild", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 165, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3688, + "name": "APIRole" + } + } + }, + { + "id": 3092, + "name": "rules_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel where Community guilds can display rules and/or guidelines" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 201, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3120, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Splash hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 3062, + "name": "APIPartialGuild.splash" + } + }, + { + "id": 3114, + "name": "stage_instances", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The stage instances in the guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/resources/stage-instance#stage-instance-object-stage-instance-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 325, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3704, + "name": "APIStageInstance" + } + } + }, + { + "id": 3115, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Custom guild stickers", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 331, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3719, + "name": "APISticker" + } + } + }, + { + "id": 3091, + "name": "system_channel_flags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "System channel flags", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 197, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3149, + "name": "GuildSystemChannelFlags" + } + }, + { + "id": 3090, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel where guild notices such as welcome messages and boost events are posted" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 191, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3121, + "name": "unavailable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if this guild is unavailable due to an outage" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 3068, + "name": "APIPartialGuild.unavailable" + } + }, + { + "id": 3102, + "name": "vanity_url_code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The vanity url code for the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 263, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "id": 3067, + "name": "APIPartialGuild.vanity_url_code" + } + }, + { + "id": 3082, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Verification level required for the guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 147, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3138, + "name": "GuildVerificationLevel" + }, + "overwrites": { + "type": "reference", + "id": 3066, + "name": "APIPartialGuild.verification_level" + } + }, + { + "id": 3096, + "name": "voice_states", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "States of members currently in voice channels; lacks the `guild_id` key", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/resources/voice#voice-state-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 227, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3839, + "name": "GatewayVoiceState" + }, + { + "type": "literal", + "value": "guild_id" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + } + }, + { + "id": 3112, + "name": "welcome_screen", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The welcome screen of a Community guild, shown to new members", + "text": "Returned in the invite object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 311, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3265, + "name": "APIGuildWelcomeScreen" + }, + "overwrites": { + "type": "reference", + "id": 3070, + "name": "APIPartialGuild.welcome_screen" + } + }, + { + "id": 3081, + "name": "widget_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel id that the widget will generate an invite to, or `null` if set to no invite" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 141, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3080, + "name": "widget_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if the guild widget is enabled" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 137, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3078, + 3079, + 3089, + 3110, + 3111, + 3104, + 3098, + 3083, + 3103, + 3073, + 3086, + 3084, + 3087, + 3117, + 3119, + 3072, + 3122, + 3093, + 3094, + 3101, + 3100, + 3109, + 3095, + 3097, + 3088, + 3118, + 3113, + 3074, + 3075, + 3076, + 3107, + 3116, + 3106, + 3105, + 3099, + 3108, + 3077, + 3085, + 3092, + 3120, + 3114, + 3115, + 3091, + 3090, + 3121, + 3102, + 3082, + 3096, + 3112, + 3081, + 3080 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 88, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 3059, + "name": "APIPartialGuild" + } + ] + }, + { + "id": 3507, + "name": "APIGuildApplicationCommandPermissions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-guild-application-command-permissions-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3509, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the application the command belongs to" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/permissions.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3510, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/permissions.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3508, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the command" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/permissions.ts", + "line": 11, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3511, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The permissions for the command in the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/permissions.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3512, + "name": "APIApplicationCommandPermission" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3509, + 3510, + 3508, + 3511 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/permissions.ts", + "line": 7, + "character": 17 + } + ] + }, + { + "id": 2652, + "name": "APIGuildChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2653, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2659, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2641, + "name": "APIChannelBase.id" + } + }, + { + "id": 2660, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2642, + "name": "APIChannelBase.name" + } + }, + { + "id": 2657, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 97, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2656, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 93, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2654, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2810, + "name": "APIOverwrite" + } + } + }, + { + "id": 2655, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2658, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2661, + "name": "T" + }, + "inheritedFrom": { + "type": "reference", + "id": 2640, + "name": "APIChannelBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2653, + 2659, + 2660, + 2657, + 2656, + 2654, + 2655, + 2658 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 75, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 2661, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 2716, + "name": "ChannelType" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 2639, + "typeArguments": [ + { + "type": "reference", + "id": 2661, + "name": "T" + } + ], + "name": "APIChannelBase" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 2663, + "name": "APIGuildTextChannel" + }, + { + "type": "reference", + "id": 2692, + "name": "APIVoiceChannel" + } + ] + }, + { + "id": 4296, + "name": "APIGuildCreateOverwrite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4298, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all allowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 431, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 4251, + "name": "RESTPutAPIChannelPermissionJSONBody.allow" + } + }, + { + "id": 4299, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all disallowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 439, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 4252, + "name": "RESTPutAPIChannelPermissionJSONBody.deny" + } + }, + { + "id": 4297, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 4300, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`0` for a role or `1` for a member" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 443, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2815, + "name": "OverwriteType" + }, + "inheritedFrom": { + "type": "reference", + "id": 4253, + "name": "RESTPutAPIChannelPermissionJSONBody.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4298, + 4299, + 4297, + 4300 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 37, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 4250, + "name": "RESTPutAPIChannelPermissionJSONBody" + } + ] + }, + { + "id": 4308, + "name": "APIGuildCreateRole", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4312, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "RGB color value", + "tags": [ + { + "tag": "default", + "text": "0\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 619, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.color" + } + }, + { + "id": 4313, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be displayed separately in the sidebar", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 625, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.hoist" + } + }, + { + "id": 4314, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's icon image (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 629, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.icon" + } + }, + { + "id": 4309, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 4316, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be mentionable", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 639, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.mentionable" + } + }, + { + "id": 4310, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the role", + "tags": [ + { + "tag": "default", + "text": "\"new role\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 607, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.name" + } + }, + { + "id": 4311, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Bitwise value of the enabled/disabled permissions", + "tags": [ + { + "tag": "default", + "text": "\"default role permissions in guild\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 613, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.permissions" + } + }, + { + "id": 4315, + "name": "unicode_emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's unicode emoji as a standard emoji (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 633, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.unicode_emoji" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4312, + 4313, + 4314, + 4309, + 4316, + 4310, + 4311, + 4315 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 65, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 4416, + "name": "RESTPostAPIGuildRoleJSONBody" + } + ] + }, + { + "id": 3205, + "name": "APIGuildIntegration", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3216, + "name": "account", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration account information", + "text": "See https://discord.com/developers/docs/resources/guild#integration-account-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 745, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3225, + "name": "APIIntegrationAccount" + } + }, + { + "id": 3220, + "name": "application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bot/OAuth2 application for discord integrations", + "text": "See https://discord.com/developers/docs/resources/guild#integration-application-object\n\n**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 771, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3228, + "name": "APIGuildIntegrationApplication" + } + }, + { + "id": 3212, + "name": "enable_emoticons", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether emoticons should be synced for this integration (`twitch` only currently)", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 717, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3209, + "name": "enabled", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Is this integration enabled" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 699, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3213, + "name": "expire_behavior", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The behavior of expiring subscribers", + "text": "**This field is not provided for `discord` bot integrations.**\n\nSee https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 725, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3222, + "name": "IntegrationExpireBehavior" + } + }, + { + "id": 3214, + "name": "expire_grace_period", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The grace period (in days) before expiring subscribers", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 731, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3206, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration id" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 687, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3207, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration name" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 691, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3219, + "name": "revoked", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Has this integration been revoked", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 763, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3211, + "name": "role_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID that this integration uses for \"subscribers\"", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 711, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3218, + "name": "subscriber_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "How many subscribers this integration has", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 757, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3217, + "name": "synced_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When this integration was last synced", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 751, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3210, + "name": "syncing", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Is this integration syncing", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 705, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3208, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration type" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 695, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3221, + "name": "APIGuildInteractionType" + } + }, + { + "id": 3215, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User for this integration", + "text": "**This field is not provided for `discord` bot integrations.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 739, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3216, + 3220, + 3212, + 3209, + 3213, + 3214, + 3206, + 3207, + 3219, + 3211, + 3218, + 3217, + 3210, + 3208, + 3215 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 683, + "character": 17 + } + ] + }, + { + "id": 3228, + "name": "APIGuildIntegrationApplication", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-application-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3234, + "name": "bot", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bot associated with this application", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 837, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + }, + { + "id": 3232, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description of the app" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 825, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3231, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The icon hash of the app", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 821, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3229, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the app" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 811, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3230, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the app" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 815, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3233, + "name": "summary", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The summary of the app", + "tags": [ + { + "tag": "deprecated", + "text": "Always an empty string, will be removed in v11\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 831, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3234, + 3232, + 3231, + 3229, + 3230, + 3233 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 807, + "character": 17 + } + ] + }, + { + "id": 3194, + "name": "APIGuildMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-member-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3197, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member's guild avatar hash" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 642, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3204, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 676, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3201, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is deafened in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 662, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3199, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the user joined the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 652, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3202, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is muted in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 666, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3196, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "This users guild nickname" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 638, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3203, + "name": "pending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has not yet passed the guild's Membership Screening requirements", + "text": "*If this field is not present, it can be assumed as `false`.*\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 672, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3200, + "name": "premium_since", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the user started boosting the guild", + "text": "See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 658, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3198, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of role object ids", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 648, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3195, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user this guild member represents", + "text": "**This field won't be included in the member object attached to `MESSAGE_CREATE` and `MESSAGE_UPDATE` gateway events.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 634, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3197, + 3204, + 3201, + 3199, + 3202, + 3196, + 3203, + 3200, + 3198, + 3195 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 626, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 2253, + "name": "GatewayGuildMemberAddDispatchData" + }, + { + "type": "reference", + "id": 3529, + "name": "APIInteractionGuildMember" + } + ] + }, + { + "id": 3273, + "name": "APIGuildMembershipScreening", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3276, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The server description shown in the screening form" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 971, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3275, + "name": "form_fields", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The steps in the screening form" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 967, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3277, + "name": "APIGuildMembershipScreeningField" + } + } + }, + { + "id": 3274, + "name": "version", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the fields were last updated" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 963, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3276, + 3275, + 3274 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 959, + "character": 17 + } + ] + }, + { + "id": 3277, + "name": "APIGuildMembershipScreeningField", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3278, + "name": "field_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of field" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 983, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3283, + "name": "Terms" + } + }, + { + "id": 3279, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The title of the field" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 987, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3281, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user has to fill out this field" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 995, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3280, + "name": "values", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The list of rules" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 991, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3278, + 3279, + 3281, + 3280 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 979, + "character": 17 + } + ] + }, + { + "id": 3179, + "name": "APIGuildPreview", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-preview-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3187, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Approximate number of members in this guild" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 592, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3188, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Approximate number of online members in this guild" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 596, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3189, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description for the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 600, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3184, + "name": "discovery_splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Discovery splash hash; only present for guilds with the \"DISCOVERABLE\" feature", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 576, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3185, + "name": "emojis", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Custom guild emojis", + "text": "See https://discord.com/developers/docs/resources/emoji#emoji-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 582, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2967, + "name": "APIEmoji" + } + } + }, + { + "id": 3186, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Enabled guild features", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-features\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 588, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3154, + "name": "GuildFeature" + } + } + }, + { + "id": 3182, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Icon hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 564, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3180, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild id" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 554, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3181, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild name (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 558, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3183, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Splash hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 570, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3190, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Custom guild stickers" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 604, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3719, + "name": "APISticker" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3187, + 3188, + 3189, + 3184, + 3185, + 3186, + 3182, + 3180, + 3181, + 3183, + 3190 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 550, + "character": 17 + } + ] + }, + { + "id": 3336, + "name": "APIGuildScheduledEventEntityMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-entity-metadata", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3337, + "name": "location", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The location of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 118, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3337 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 114, + "character": 17 + } + ] + }, + { + "id": 3349, + "name": "APIGuildScheduledEventUser", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-user-object-guild-scheduled-event-user-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3350, + "name": "guild_scheduled_event_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The scheduled event id which the user subscribed to" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 161, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3352, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild member data for this user for the guild which this event belongs to, if any" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 169, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + } + }, + { + "id": 3351, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user which subscribed to the event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 165, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3350, + 3352, + 3351 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 157, + "character": 17 + } + ] + }, + { + "id": 2663, + "name": "APIGuildTextChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2670, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2653, + "name": "APIGuildChannel.guild_id" + } + }, + { + "id": 2668, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2659, + "name": "APIGuildChannel.id" + } + }, + { + "id": 2666, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this channel (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 2647, + "name": "APITextBasedChannel.last_message_id" + } + }, + { + "id": 2665, + "name": "last_pin_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the last pinned message was pinned.\nThis may be `null` in events such as `GUILD_CREATE` when a message is not pinned" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 119, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2669, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2660, + "name": "APIGuildChannel.name" + } + }, + { + "id": 2674, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 97, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 2657, + "name": "APIGuildChannel.nsfw" + } + }, + { + "id": 2673, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 93, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 2656, + "name": "APIGuildChannel.parent_id" + } + }, + { + "id": 2671, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2810, + "name": "APIOverwrite" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 2654, + "name": "APIGuildChannel.permission_overwrites" + } + }, + { + "id": 2672, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 2655, + "name": "APIGuildChannel.position" + } + }, + { + "id": 2664, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel topic (0-1024 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 114, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2667, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2675, + "name": "T" + }, + "inheritedFrom": { + "type": "reference", + "id": 2658, + "name": "APIGuildChannel.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2670, + 2668, + 2666, + 2665, + 2669, + 2674, + 2673, + 2671, + 2672, + 2664, + 2667 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 108, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 2675, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 2662, + "name": "GuildTextChannelType" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 2646, + "typeArguments": [ + { + "type": "reference", + "id": 2675, + "name": "T" + } + ], + "name": "APITextBasedChannel" + }, + { + "type": "reference", + "id": 2652, + "typeArguments": [ + { + "type": "reference", + "id": 2675, + "name": "T" + } + ], + "name": "APIGuildChannel" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 2676, + "name": "APITextChannel" + } + ] + }, + { + "id": 3265, + "name": "APIGuildWelcomeScreen", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3266, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The welcome screen short message" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 927, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3267, + "name": "welcome_channels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of suggested channels" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 931, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3268, + "name": "APIGuildWelcomeScreenChannel" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3266, + 3267 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 923, + "character": 17 + } + ] + }, + { + "id": 3268, + "name": "APIGuildWelcomeScreenChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3269, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel id that is suggested" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 941, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3270, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description shown for the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 945, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3271, + "name": "emoji_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The emoji id of the emoji that is shown on the left of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 949, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3272, + "name": "emoji_name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The emoji name of the emoji that is shown on the left of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 953, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3269, + 3270, + 3271, + 3272 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 937, + "character": 17 + } + ] + }, + { + "id": 3238, + "name": "APIGuildWidget", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-example-get-guild-widget", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3242, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 863, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3245, + "name": "APIGuildWidgetChannel" + } + } + }, + { + "id": 3239, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 860, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3241, + "name": "instant_invite", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 862, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3243, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 864, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3249, + "name": "APIGuildWidgetMember" + } + } + }, + { + "id": 3240, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 861, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3244, + "name": "presence_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 865, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3242, + 3239, + 3241, + 3243, + 3240, + 3244 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 859, + "character": 17 + } + ] + }, + { + "id": 3245, + "name": "APIGuildWidgetChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-example-get-guild-widget", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3246, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 873, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3247, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 874, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3248, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 875, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3246, + 3247, + 3248 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 872, + "character": 17 + } + ] + }, + { + "id": 3249, + "name": "APIGuildWidgetMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-example-get-guild-widget", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3255, + "name": "activity", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 888, + "character": 1 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 3256, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 3257, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 888, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3257 + ] + } + ] + } + } + }, + { + "id": 3253, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 886, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3258, + "name": "avatar_url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 889, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3252, + "name": "discriminator", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 885, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3250, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 883, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3254, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 887, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2993, + "name": "PresenceUpdateStatus" + } + }, + { + "id": 3251, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 884, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3255, + 3253, + 3258, + 3252, + 3250, + 3254, + 3251 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 882, + "character": 17 + } + ] + }, + { + "id": 3191, + "name": "APIGuildWidgetSettings", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-widget-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3193, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The widget channel id" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 619, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3192, + "name": "enabled", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the widget is enabled" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 615, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3193, + 3192 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 611, + "character": 17 + } + ] + }, + { + "id": 3225, + "name": "APIIntegrationAccount", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-account-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3226, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the account" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 796, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3227, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the account" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 800, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3226, + 3227 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 792, + "character": 17 + } + ] + }, + { + "id": 3371, + "name": "APIInteractionDataResolvedChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3373, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Required.id" + } + }, + { + "id": 3375, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Required.name" + } + }, + { + "id": 3372, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3374, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2716, + "name": "ChannelType" + }, + "inheritedFrom": { + "type": "reference", + "name": "Required.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3373, + 3375, + 3372, + 3374 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 91, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2635, + "name": "APIPartialChannel" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + }, + { + "id": 3376, + "name": "APIInteractionDataResolvedGuildMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-member-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3382, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member's guild avatar hash" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 642, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.avatar" + } + }, + { + "id": 3384, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 676, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.communication_disabled_until" + } + }, + { + "id": 3380, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the user joined the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 652, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.joined_at" + } + }, + { + "id": 3378, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "This users guild nickname" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 638, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.nick" + } + }, + { + "id": 3383, + "name": "pending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has not yet passed the guild's Membership Screening requirements", + "text": "*If this field is not present, it can be assumed as `false`.*\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 672, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.pending" + } + }, + { + "id": 3377, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 100, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3381, + "name": "premium_since", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the user started boosting the guild", + "text": "See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 658, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.premium_since" + } + }, + { + "id": 3379, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of role object ids", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 648, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.roles" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3382, + 3384, + 3380, + 3378, + 3383, + 3377, + 3381, + 3379 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 99, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "user" + }, + { + "type": "literal", + "value": "deaf" + }, + { + "type": "literal", + "value": "mute" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + }, + { + "id": 3529, + "name": "APIInteractionGuildMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-member-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3533, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member's guild avatar hash" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 642, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 3197, + "name": "APIGuildMember.avatar" + } + }, + { + "id": 3540, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 676, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 3204, + "name": "APIGuildMember.communication_disabled_until" + } + }, + { + "id": 3537, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is deafened in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 662, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 3201, + "name": "APIGuildMember.deaf" + } + }, + { + "id": 3535, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the user joined the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 652, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 3199, + "name": "APIGuildMember.joined_at" + } + }, + { + "id": 3538, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is muted in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 666, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 3202, + "name": "APIGuildMember.mute" + } + }, + { + "id": 3532, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "This users guild nickname" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 638, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 3196, + "name": "APIGuildMember.nick" + } + }, + { + "id": 3539, + "name": "pending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has not yet passed the guild's Membership Screening requirements", + "text": "*If this field is not present, it can be assumed as `false`.*\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 672, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 3203, + "name": "APIGuildMember.pending" + } + }, + { + "id": 3530, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3536, + "name": "premium_since", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the user started boosting the guild", + "text": "See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 658, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 3200, + "name": "APIGuildMember.premium_since" + } + }, + { + "id": 3534, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of role object ids", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 648, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 3198, + "name": "APIGuildMember.roles" + } + }, + { + "id": 3531, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user this guild member represents", + "text": "**This field won't be included in the member object attached to `MESSAGE_CREATE` and `MESSAGE_UPDATE` gateway events.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + }, + "overwrites": { + "type": "reference", + "id": 3195, + "name": "APIGuildMember.user" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3533, + 3540, + 3537, + 3535, + 3538, + 3532, + 3539, + 3530, + 3536, + 3534, + 3531 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 55, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + } + ] + }, + { + "id": 3603, + "name": "APIInteractionResponseChannelMessageWithSource", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3605, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3622, + "name": "APIInteractionResponseCallbackData" + } + }, + { + "id": 3604, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3616, + "name": "ChannelMessageWithSource" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3605, + 3604 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 57, + "character": 17 + } + ] + }, + { + "id": 3606, + "name": "APIInteractionResponseDeferredChannelMessageWithSource", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3608, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3622, + "name": "APIInteractionResponseCallbackData" + }, + { + "type": "literal", + "value": "flags" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 3607, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3617, + "name": "DeferredChannelMessageWithSource" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3608, + 3607 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 65, + "character": 17 + } + ] + }, + { + "id": 3609, + "name": "APIInteractionResponseDeferredMessageUpdate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3610, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3618, + "name": "DeferredMessageUpdate" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3610 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 73, + "character": 17 + } + ] + }, + { + "id": 3595, + "name": "APIInteractionResponsePong", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3596, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3615, + "name": "Pong" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3596 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 34, + "character": 17 + } + ] + }, + { + "id": 3611, + "name": "APIInteractionResponseUpdateMessage", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3613, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 82, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3622, + "name": "APIInteractionResponseCallbackData" + } + }, + { + "id": 3612, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3619, + "name": "UpdateMessage" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3613, + 3612 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 80, + "character": 17 + } + ] + }, + { + "id": 3632, + "name": "APIInvite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3641, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Approximate count of total members, returned from the `GET /invites/` endpoint when `with_counts` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3640, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Approximate count of online members, returned from the `GET /invites/` endpoint when `with_counts` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3635, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel this invite is for", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2635, + "name": "APIPartialChannel" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 3633, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The invite code (unique ID)" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3642, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The expiration date of this invite, returned from the `GET /invites/` endpoint when `with_expiration` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3634, + "name": "guild", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild this invite is for", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3631, + "name": "APIInviteGuild" + } + }, + { + "id": 3644, + "name": "guild_scheduled_event", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild scheduled event data, returned from the `GET /invites/` endpoint when `guild_scheduled_event_id` is a valid guild scheduled event id" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 91, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3335, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 3636, + "name": "inviter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user who created the invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + }, + { + "id": 3643, + "name": "stage_instance", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The stage instance data if there is a public stage instance in the stage channel this invite is for" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3714, + "name": "APIInviteStageInstance" + } + }, + { + "id": 3639, + "name": "target_application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The embedded application to open for this voice channel embedded application invite", + "text": "See https://discord.com/developers/docs/topics/oauth2#application\n" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2460, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 3637, + "name": "target_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of target for this voice channel invite", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object-target-user-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3645, + "name": "InviteTargetType" + } + }, + { + "id": 3638, + "name": "target_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user whose stream to display for this voice channel stream invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3641, + 3640, + 3635, + 3633, + 3642, + 3634, + 3644, + 3636, + 3643, + 3639, + 3637, + 3638 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 31, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 3648, + "name": "APIExtendedInvite" + } + ] + }, + { + "id": 3714, + "name": "APIInviteStageInstance", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-stage-instance-object-invite-stage-instance-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3718, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The members speaking in the stage", + "text": "See https://discord.com/developers/docs/resources/guild#guild-member-object-guild-member-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + } + } + }, + { + "id": 3716, + "name": "participant_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The number of users in the stage" + }, + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3717, + "name": "speaker_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The number of users speaking in the stage" + }, + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3715, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The topic of the stage instance (1-120 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3718, + 3716, + 3717, + 3715 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 56, + "character": 17 + } + ] + }, + { + "id": 2728, + "name": "APIMessage", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2751, + "name": "activity", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent with Rich Presence-related chat embeds", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-activity-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 415, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2783, + "name": "APIMessageActivity" + } + }, + { + "id": 2752, + "name": "application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent with Rich Presence-related chat embeds", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-application-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 421, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2460, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 2753, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If the message is a response to an Interaction, this is the id of the interaction's application" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 425, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2744, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Any attached files", + "text": "See https://discord.com/developers/docs/resources/channel#attachment-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 376, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2869, + "name": "APIAttachment" + } + } + }, + { + "id": 2732, + "name": "author", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The author of this message (only a valid user in the case where the message is generated by a user or bot user)", + "text": "If the message is generated by a webhook, the author object corresponds to the webhook's id,\nusername, and avatar. You can tell if a message is generated by a webhook by checking for the `webhook_id` property\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 313, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + }, + { + "id": 2730, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the channel the message was sent in" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 300, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2758, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent if the message contains components like buttons, action rows, or other interactive components" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 461, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2902, + "typeArguments": [ + { + "type": "reference", + "id": 2961, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + } + }, + { + "id": 2734, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contents of the message" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 326, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2736, + "name": "edited_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this message was edited (or null if never)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 334, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2745, + "name": "embeds", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Any embedded content", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 382, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2818, + "name": "APIEmbed" + } + } + }, + { + "id": 2755, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Message flags combined as a bitfield", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-flags\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 439, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2795, + "name": "MessageFlags" + } + }, + { + "id": 2731, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the guild the message was sent in" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 304, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2729, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the message" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 296, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2757, + "name": "interaction", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent if the message is a response to an Interaction" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 457, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3523, + "name": "APIMessageInteraction" + } + }, + { + "id": 2733, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Member properties for this message's author", + "text": "The member object exists in `MESSAGE_CREATE` and `MESSAGE_UPDATE` events\nfrom text-based guild channels\n\nSee https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 322, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + } + }, + { + "id": 2743, + "name": "mention_channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Channels specifically mentioned in this message", + "text": "Not all channel mentions in a message will appear in `mention_channels`.\n- Only textual channels that are visible to everyone in a lurkable guild will ever be included\n- Only crossposted messages (via Channel Following) currently include `mention_channels` at all\n\nIf no mentions in the message meet these requirements, this field will not be sent\n\nSee https://discord.com/developers/docs/resources/channel#channel-mention-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 370, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2880, + "name": "APIChannelMention" + } + } + }, + { + "id": 2738, + "name": "mention_everyone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this message mentions everyone" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 342, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2742, + "name": "mention_roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Roles specifically mentioned in this message", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 358, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2739, + "name": "mentions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Users specifically mentioned in the message", + "text": "The `member` field is only present in `MESSAGE_CREATE` and `MESSAGE_UPDATE` events\nfrom text-based guild channels\n\nSee https://discord.com/developers/docs/resources/user#user-object\nSee https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 352, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 3790, + "name": "APIUser" + }, + { + "type": "reflection", + "declaration": { + "id": 2740, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 2741, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 352, + "character": 24 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2741 + ] + } + ] + } + } + ] + } + } + }, + { + "id": 2754, + "name": "message_reference", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Reference data sent with crossposted messages, replies, pins, and thread starter messages", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-reference-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 431, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2786, + "name": "APIMessageReference" + } + }, + { + "id": 2747, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A nonce that can be used for optimistic message sending (up to 25 characters)", + "text": "**You will not receive this from further fetches. This is received only once from a `MESSAGE_CREATE`\nevent to ensure it got sent**\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 395, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 2748, + "name": "pinned", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this message is pinned" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 399, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2746, + "name": "reactions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Reactions to the message", + "text": "See https://discord.com/developers/docs/resources/channel#reaction-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 388, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2806, + "name": "APIReaction" + } + } + }, + { + "id": 2756, + "name": "referenced_message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The message associated with the `message_reference`", + "text": "This field is only returned for messages with a `type` of `19` (REPLY).\n\nIf the message is a reply but the `referenced_message` field is not present,\nthe backend did not attempt to fetch the message that was being replied to,\nso its state is unknown.\n\nIf the field exists but is `null`, the referenced message was deleted\n\nSee https://discord.com/developers/docs/resources/channel#message-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 453, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + ] + } + }, + { + "id": 2759, + "name": "sticker_items", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent if the message contains stickers", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-item-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 467, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3739, + "name": "APIStickerItem" + } + } + }, + { + "id": 2760, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The stickers sent with the message", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object", + "tags": [ + { + "tag": "deprecated", + "text": "Use `sticker_items` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 474, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3719, + "name": "APISticker" + } + } + }, + { + "id": 2735, + "name": "timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this message was sent" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 330, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2737, + "name": "tts", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this was a TTS message" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 338, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2750, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of message", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 409, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2761, + "name": "MessageType" + } + }, + { + "id": 2749, + "name": "webhook_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If the message is generated by a webhook, this is the webhook's id" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 403, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2751, + 2752, + 2753, + 2744, + 2732, + 2730, + 2758, + 2734, + 2736, + 2745, + 2755, + 2731, + 2729, + 2757, + 2733, + 2743, + 2738, + 2742, + 2739, + 2754, + 2747, + 2748, + 2746, + 2756, + 2759, + 2760, + 2735, + 2737, + 2750, + 2749 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 292, + "character": 17 + } + ] + }, + { + "id": 2783, + "name": "APIMessageActivity", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-activity-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2785, + "name": "party_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`party_id` from a Rich Presence event", + "text": "See https://discord.com/developers/docs/rich-presence/how-to#updating-presence-update-presence-payload-fields\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 521, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2784, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of message activity", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-activity-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 515, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2790, + "name": "MessageActivityType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2785, + 2784 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 509, + "character": 17 + } + ] + }, + { + "id": 3489, + "name": "APIMessageApplicationCommandInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3492, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/internals.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.id" + } + }, + { + "id": 3494, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/internals.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.name" + } + }, + { + "id": 3491, + "name": "resolved", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3495, + "name": "APIMessageApplicationCommandInteractionDataResolved" + } + }, + { + "id": 3490, + "name": "target_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3493, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/internals.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3369, + "name": "Message" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3492, + 3494, + 3491, + 3490, + 3493 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 35, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3369, + "name": "ApplicationCommandType.Message" + } + ], + "name": "APIBaseApplicationCommandInteractionData" + } + ] + }, + { + "id": 3495, + "name": "APIMessageApplicationCommandInteractionDataResolved", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-resolved-data-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3496, + "name": "messages", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3496 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 45, + "character": 17 + } + ] + }, + { + "id": 3563, + "name": "APIMessageComponentBaseInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3565, + "name": "component_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/messageComponents.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3566, + "name": "CType" + } + }, + { + "id": 3564, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The `custom_id` of the component" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/messageComponents.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3565, + 3564 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/messageComponents.ts", + "line": 27, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 3566, + "name": "CType", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 2897, + "name": "ComponentType" + } + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 3568, + "name": "APIMessageSelectMenuInteractionData" + } + ] + }, + { + "id": 2906, + "name": "APIMessageComponentEmoji", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2909, + "name": "animated", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji is animated" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1135, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2907, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Emoji id" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1127, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2908, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Emoji name" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1131, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2909, + 2907, + 2908 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1123, + "character": 17 + } + ] + }, + { + "id": 3523, + "name": "APIMessageInteraction", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#message-interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3524, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the interaction" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3528, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild member who invoked the interaction, only sent in MESSAGE_CREATE events" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3522, + "name": "PartialAPIMessageInteractionGuildMember" + } + }, + { + "id": 3526, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the ApplicationCommand" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3525, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of interaction" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3588, + "name": "InteractionType" + } + }, + { + "id": 3527, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user who invoked the interaction" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3524, + 3528, + 3526, + 3525, + 3527 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 28, + "character": 17 + } + ] + }, + { + "id": 2786, + "name": "APIMessageReference", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-reference-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2788, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the originating message's channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 536, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2789, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the originating message's guild" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 540, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2787, + "name": "message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the originating message" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 532, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2788, + 2789, + 2787 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 528, + "character": 17 + } + ] + }, + { + "id": 3568, + "name": "APIMessageSelectMenuInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3571, + "name": "component_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/messageComponents.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2900, + "name": "SelectMenu" + }, + "inheritedFrom": { + "type": "reference", + "id": 3565, + "name": "APIMessageComponentBaseInteractionData.component_type" + } + }, + { + "id": 3570, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The `custom_id` of the component" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/messageComponents.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 3564, + "name": "APIMessageComponentBaseInteractionData.custom_id" + } + }, + { + "id": 3569, + "name": "values", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/messageComponents.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3571, + 3570, + 3569 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/messageComponents.ts", + "line": 46, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 3563, + "typeArguments": [ + { + "type": "reference", + "id": 2900, + "name": "ComponentType.SelectMenu" + } + ], + "name": "APIMessageComponentBaseInteractionData" + } + ] + }, + { + "id": 3600, + "name": "APIModalInteractionResponse", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3602, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3627, + "name": "APIModalInteractionResponseCallbackData" + } + }, + { + "id": 3601, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3621, + "name": "Modal" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3602, + 3601 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 49, + "character": 17 + } + ] + }, + { + "id": 3627, + "name": "APIModalInteractionResponseCallbackData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-modal", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3630, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Between 1 and 5 (inclusive) components that make up the modal" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 152, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2902, + "typeArguments": [ + { + "type": "reference", + "id": 2948, + "name": "APITextInputComponent" + } + ], + "name": "APIActionRowComponent" + } + } + }, + { + "id": 3628, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A developer-defined identifier for the component, max 100 characters" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 144, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3629, + "name": "title", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The title of the popup modal" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 148, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3630, + 3628, + 3629 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 140, + "character": 17 + } + ] + }, + { + "id": 3581, + "name": "APIModalSubmission", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3583, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A list of child components" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/modalSubmit.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3578, + "name": "ModalSubmitActionRowComponent" + } + } + }, + { + "id": 3582, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A developer-defined identifier for the component, max 100 characters" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/modalSubmit.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3583, + 3582 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/modalSubmit.ts", + "line": 30, + "character": 17 + } + ] + }, + { + "id": 2810, + "name": "APIOverwrite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#overwrite-object-overwrite-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2813, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Permission bit set", + "text": "See https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 647, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2814, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Permission bit set", + "text": "See https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 655, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2811, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role or user id" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 633, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2812, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Either 0 (role) or 1 (member)", + "text": "{@link OverwriteType}\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 639, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2815, + "name": "OverwriteType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2813, + 2814, + 2811, + 2812 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 629, + "character": 17 + } + ] + }, + { + "id": 2635, + "name": "APIPartialChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "Not documented, but partial only includes id, name, and type", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2636, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2638, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2637, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2716, + "name": "ChannelType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2636, + 2638, + 2637 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 18, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 2639, + "name": "APIChannelBase" + } + ] + }, + { + "id": 2963, + "name": "APIPartialEmoji", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "Not documented but mentioned", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2966, + "name": "animated", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji is animated" + }, + "sources": [ + { + "fileName": "payloads/v8/emoji.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2964, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji id" + }, + "sources": [ + { + "fileName": "payloads/v8/emoji.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2965, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji name (can be null only in reaction emoji objects)" + }, + "sources": [ + { + "fileName": "payloads/v8/emoji.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2966, + 2964, + 2965 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/emoji.ts", + "line": 13, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 2967, + "name": "APIEmoji" + } + ] + }, + { + "id": 3059, + "name": "APIPartialGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-guild-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3063, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Banner hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3064, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description for the guild, if the guild is discoverable" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3065, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Enabled guild features", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-features\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3154, + "name": "GuildFeature" + } + } + }, + { + "id": 3061, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Icon hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3069, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild id" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.id" + } + }, + { + "id": 3060, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild name (2-100 characters, excluding trailing and leading whitespace)" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3062, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Splash hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3068, + "name": "unavailable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if this guild is unavailable due to an outage" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3067, + "name": "vanity_url_code", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The vanity url code for the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3066, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification level required for the guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 73, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3138, + "name": "GuildVerificationLevel" + } + }, + { + "id": 3070, + "name": "welcome_screen", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The welcome screen of a Community guild, shown to new members", + "text": "Returned in the invite object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 311, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3265, + "name": "APIGuildWelcomeScreen" + }, + "inheritedFrom": { + "type": "reference", + "name": "Pick.welcome_screen" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3063, + 3064, + 3065, + 3061, + 3069, + 3060, + 3062, + 3068, + 3067, + 3066, + 3070 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 35, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3056, + "name": "APIUnavailableGuild" + }, + { + "type": "literal", + "value": "unavailable" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3071, + "name": "APIGuild" + }, + { + "type": "literal", + "value": "welcome_screen" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 3071, + "name": "APIGuild" + } + ] + }, + { + "id": 2806, + "name": "APIReaction", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#reaction-object-reaction-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2807, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Times this emoji has been used to react" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 612, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2809, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji information", + "text": "See https://discord.com/developers/docs/resources/emoji#emoji-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 622, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2963, + "name": "APIPartialEmoji" + } + }, + { + "id": 2808, + "name": "me", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the current user reacted using this emoji" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 616, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2807, + 2809, + 2808 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 608, + "character": 17 + } + ] + }, + { + "id": 3688, + "name": "APIRole", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/permissions#role-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3691, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integer representation of hexadecimal color code" + }, + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3692, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "If this role is pinned in the user listing" + }, + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3693, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role icon hash" + }, + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3689, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role id" + }, + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3697, + "name": "managed", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this role is managed by an integration" + }, + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3698, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this role is mentionable" + }, + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3690, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role name" + }, + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3696, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Permission bit set", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3695, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Position of this role" + }, + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3699, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The tags this role has" + }, + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3700, + "name": "APIRoleTags" + } + }, + { + "id": 3694, + "name": "unicode_emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role unicode emoji as a standard emoji" + }, + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3691, + 3692, + 3693, + 3689, + 3697, + 3698, + 3690, + 3696, + 3695, + 3699, + 3694 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 11, + "character": 17 + } + ] + }, + { + "id": 3700, + "name": "APIRoleTags", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/permissions#role-object-role-tags-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3701, + "name": "bot_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the bot this role belongs to" + }, + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3703, + "name": "integration_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the integration this role belongs to" + }, + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3702, + "name": "premium_subscriber", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this is the guild's premium subscriber role" + }, + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3701, + 3703, + 3702 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/permissions.ts", + "line": 64, + "character": 17 + } + ] + }, + { + "id": 2934, + "name": "APISelectMenuComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#select-menus", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2935, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A developer-defined identifier for the select menu, max 100 characters" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1195, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2940, + "name": "disabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Disable the select", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1221, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2939, + "name": "max_values", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The maximum number of items that can be chosen; max 25", + "tags": [ + { + "tag": "default", + "text": "1\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1215, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2938, + "name": "min_values", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The minimum number of items that must be chosen; min 0, max 25", + "tags": [ + { + "tag": "default", + "text": "1\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1209, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2936, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The choices in the select, max 25" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1199, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2942, + "name": "APISelectMenuOption" + } + } + }, + { + "id": 2937, + "name": "placeholder", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Custom placeholder text if nothing is selected, max 100 characters" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1203, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2941, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1060, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2900, + "name": "SelectMenu" + }, + "inheritedFrom": { + "type": "reference", + "id": 2895, + "name": "APIBaseComponent.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2935, + 2940, + 2939, + 2938, + 2936, + 2937, + 2941 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1191, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 2894, + "typeArguments": [ + { + "type": "reference", + "id": 2900, + "name": "ComponentType.SelectMenu" + } + ], + "name": "APIBaseComponent" + } + ] + }, + { + "id": 2942, + "name": "APISelectMenuOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#select-menu-object-select-option-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2947, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this option should be already-selected by default" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1248, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2945, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An additional description of the option (max 50 chars)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1240, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2946, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The emoji to display to the left of the option" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1244, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2906, + "name": "APIMessageComponentEmoji" + } + }, + { + "id": 2943, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user-facing name of the option (max 25 chars)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1232, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2944, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The dev-defined value of the option (max 100 chars)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1236, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2947, + 2945, + 2946, + 2943, + 2944 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1228, + "character": 17 + } + ] + }, + { + "id": 3704, + "name": "APIStageInstance", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#stage-instance-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3707, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the associated stage channel" + }, + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3710, + "name": "discoverable_disabled", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether or not stage discovery is disabled" + }, + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3706, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild id of the associated stage channel" + }, + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3705, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the stage instance" + }, + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3709, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the stage instance", + "text": "See https://discord.com/developers/docs/resources/stage-instance#stage-instance-object-privacy-level\n" + }, + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3711, + "name": "StageInstancePrivacyLevel" + } + }, + { + "id": 3708, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The topic of the stage instance (1-120 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3707, + 3710, + 3706, + 3705, + 3709, + 3708 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/stageInstance.ts", + "line": 8, + "character": 17 + } + ] + }, + { + "id": 3284, + "name": "APIStageInstanceGuildScheduledEvent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3285, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.channel_id" + } + }, + { + "id": 3298, + "name": "creator", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator" + } + }, + { + "id": 3289, + "name": "creator_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator_id" + } + }, + { + "id": 3291, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.description" + } + }, + { + "id": 3297, + "name": "entity_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_id" + } + }, + { + "id": 3286, + "name": "entity_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_metadata" + } + }, + { + "id": 3296, + "name": "entity_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3339, + "name": "StageInstance" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_type" + } + }, + { + "id": 3288, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild id which the scheduled event belongs to" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.guild_id" + } + }, + { + "id": 3287, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.id" + } + }, + { + "id": 3300, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The cover image of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.image" + } + }, + { + "id": 3290, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.name" + } + }, + { + "id": 3294, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3348, + "name": "GuildOnly" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.privacy_level" + } + }, + { + "id": 3293, + "name": "scheduled_end_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the guild event will end, or `null` if the event does not have a scheduled time to end" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_end_time" + } + }, + { + "id": 3292, + "name": "scheduled_start_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time the scheduled event will start" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_start_time" + } + }, + { + "id": 3295, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The status of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3342, + "name": "GuildScheduledEventStatus" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.status" + } + }, + { + "id": 3299, + "name": "user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of users subscribed to the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.user_count" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3285, + 3298, + 3289, + 3291, + 3297, + 3286, + 3296, + 3288, + 3287, + 3300, + 3290, + 3294, + 3293, + 3292, + 3295, + 3299 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 78, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3339, + "name": "GuildScheduledEventEntityType.StageInstance" + } + ], + "name": "APIGuildScheduledEventBase" + } + ] + }, + { + "id": 3719, + "name": "APISticker", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3725, + "name": "asset", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Previously the sticker asset hash, now an empty string", + "tags": [ + { + "tag": "deprecated", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "" + } + }, + { + "id": 3728, + "name": "available", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this guild sticker can be used, may be false due to loss of Server Boosts" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3723, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Description of the sticker" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3727, + "name": "format_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of sticker format", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-format-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3735, + "name": "StickerFormatType" + } + }, + { + "id": 3729, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the guild that owns this sticker" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3720, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the sticker" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3722, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the sticker" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3721, + "name": "pack_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "For standard stickers, ID of the pack the sticker is from" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3731, + "name": "sort_value", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The standard sticker's sort order within its pack" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3724, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "For guild stickers, the Discord name of a unicode emoji representing the sticker's expression. for standard stickers, a comma-separated list of related expressions." + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3726, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of sticker", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 43, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3732, + "name": "StickerType" + } + }, + { + "id": 3730, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that uploaded the guild sticker" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3725, + 3728, + 3723, + 3727, + 3729, + 3720, + 3722, + 3721, + 3731, + 3724, + 3726, + 3730 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 3740, + "name": "APIStickerPack", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-pack-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3747, + "name": "banner_asset_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the sticker pack's banner image" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 131, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3745, + "name": "cover_sticker_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of a sticker in the pack which is shown as the pack's icon" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 123, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3746, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Description of the sticker pack" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 127, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3741, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the sticker pack" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3743, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the sticker pack" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 115, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3744, + "name": "sku_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the pack's SKU" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 119, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3742, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The stickers in the pack" + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 111, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3719, + "name": "APISticker" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3747, + 3745, + 3746, + 3741, + 3743, + 3744, + 3742 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 103, + "character": 17 + } + ] + }, + { + "id": 3748, + "name": "APITeam", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/teams#data-models-team-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3749, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A hash of the image of the team's icon" + }, + "sources": [ + { + "fileName": "payloads/v8/teams.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3750, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The unique id of the team" + }, + "sources": [ + { + "fileName": "payloads/v8/teams.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3751, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The members of the team" + }, + "sources": [ + { + "fileName": "payloads/v8/teams.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3754, + "name": "APITeamMember" + } + } + }, + { + "id": 3752, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the team" + }, + "sources": [ + { + "fileName": "payloads/v8/teams.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3753, + "name": "owner_user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user id of the current team owner" + }, + "sources": [ + { + "fileName": "payloads/v8/teams.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3749, + 3750, + 3751, + 3752, + 3753 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/teams.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 3754, + "name": "APITeamMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/teams#data-models-team-members-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3755, + "name": "membership_state", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's membership state on the team", + "text": "See https://discord.com/developers/docs/topics/teams#data-models-membership-state-enum\n" + }, + "sources": [ + { + "fileName": "payloads/v8/teams.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3759, + "name": "TeamMemberMembershipState" + } + }, + { + "id": 3756, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Will always be `[\"*\"]`" + }, + "sources": [ + { + "fileName": "payloads/v8/teams.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "literal", + "value": "*" + } + ] + } + }, + { + "id": 3757, + "name": "team_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the parent team of which they are a member" + }, + "sources": [ + { + "fileName": "payloads/v8/teams.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3758, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The avatar, discriminator, id, and username of the user", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/teams.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3755, + 3756, + 3757, + 3758 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/teams.ts", + "line": 39, + "character": 17 + } + ] + }, + { + "id": 3762, + "name": "APITemplate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/template#template-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3763, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The template code (unique ID)" + }, + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3769, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this template was created" + }, + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 43, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3768, + "name": "creator", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user who created the template", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + }, + { + "id": 3767, + "name": "creator_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The ID of the user who created the template" + }, + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3765, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description for the template" + }, + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3773, + "name": "is_dirty", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the template has unsynced changes" + }, + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 3764, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Template name" + }, + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3772, + "name": "serialized_source_guild", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild snapshot this template contains" + }, + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3774, + "name": "APITemplateSerializedSourceGuild" + } + }, + { + "id": 3771, + "name": "source_guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The ID of the guild this template is based on" + }, + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3770, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this template was last synced to the source guild" + }, + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3766, + "name": "usage_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Number of times this template has been used" + }, + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3763, + 3769, + 3768, + 3767, + 3765, + 3773, + 3764, + 3772, + 3771, + 3770, + 3766 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 13, + "character": 17 + } + ] + }, + { + "id": 3774, + "name": "APITemplateSerializedSourceGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3785, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID for afk channel" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 137, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.afk_channel_id" + } + }, + { + "id": 3786, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "AFK timeout in seconds" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 141, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.afk_timeout" + } + }, + { + "id": 3784, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New guild's channels", + "text": "**When using the channels parameter, the `position` field is ignored, and none of the default channels are created.**\n\n*When using the channels parameter, the `id` field within each channel object may be set to an integer placeholder,\nand will be replaced by the API upon consumption. Its purpose is to allow you to create `GUILD_CATEGORY` channels\nby setting the `parent_id` field on any children to the category's id field.\nCategory channels must be listed before any children.*\n\nSee https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 133, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 4302, + "name": "APIGuildCreatePartialChannel" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.channels" + } + }, + { + "id": 3782, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default message notification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 101, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3123, + "name": "GuildDefaultMessageNotifications" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.default_message_notifications" + } + }, + { + "id": 3775, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3783, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit content filter level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3126, + "name": "GuildExplicitContentFilter" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.explicit_content_filter" + } + }, + { + "id": 3777, + "name": "icon_hash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3779, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the guild (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.name" + } + }, + { + "id": 3776, + "name": "preferred_locale", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3789, + "name": "premium_progress_bar_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the boosts progress bar should be enabled." + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 155, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.premium_progress_bar_enabled" + } + }, + { + "id": 3781, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.region" + } + }, + { + "id": 3778, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New guild roles", + "text": "**When using this parameter, the first member of the array is used to change properties of the guild's @everyone role.\nIf you are trying to bootstrap a guild with additional roles, keep this in mind.**\n\n*When using this parameter, the required `id` field within each role object is an integer placeholder,\nand will be replaced by the API upon consumption. Its purpose is to allow you to overwrite a role's permissions\nin a channel when also passing in channels with the channels array.*\n\nSee https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 120, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 4308, + "name": "APIGuildCreateRole" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.roles" + } + }, + { + "id": 3788, + "name": "system_channel_flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "System channel flags", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 151, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3149, + "name": "GuildSystemChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.system_channel_flags" + } + }, + { + "id": 3787, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where guild notices such as welcome messages and boost events are posted" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 145, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.system_channel_id" + } + }, + { + "id": 3780, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 95, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3138, + "name": "GuildVerificationLevel" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.verification_level" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3785, + 3786, + 3784, + 3782, + 3775, + 3783, + 3777, + 3779, + 3776, + 3789, + 3781, + 3778, + 3788, + 3787, + 3780 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/template.ts", + "line": 65, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4317, + "name": "RESTPostAPIGuildsJSONBody" + }, + { + "type": "literal", + "value": "icon" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + }, + { + "id": 2646, + "name": "APITextBasedChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2649, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2641, + "name": "APIChannelBase.id" + } + }, + { + "id": 2647, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this channel (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2650, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2642, + "name": "APIChannelBase.name" + } + }, + { + "id": 2648, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2651, + "name": "T" + }, + "inheritedFrom": { + "type": "reference", + "id": 2640, + "name": "APIChannelBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2649, + 2647, + 2650, + 2648 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 65, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 2651, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 2716, + "name": "ChannelType" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 2639, + "typeArguments": [ + { + "type": "reference", + "id": 2651, + "name": "T" + } + ], + "name": "APIChannelBase" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 2663, + "name": "APIGuildTextChannel" + } + ] + }, + { + "id": 2676, + "name": "APITextChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2684, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2670, + "name": "APIGuildTextChannel.guild_id" + } + }, + { + "id": 2682, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2668, + "name": "APIGuildTextChannel.id" + } + }, + { + "id": 2680, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this channel (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 2666, + "name": "APIGuildTextChannel.last_message_id" + } + }, + { + "id": 2679, + "name": "last_pin_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the last pinned message was pinned.\nThis may be `null` in events such as `GUILD_CREATE` when a message is not pinned" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 119, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 2665, + "name": "APIGuildTextChannel.last_pin_timestamp" + } + }, + { + "id": 2683, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2669, + "name": "APIGuildTextChannel.name" + } + }, + { + "id": 2688, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 97, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 2674, + "name": "APIGuildTextChannel.nsfw" + } + }, + { + "id": 2687, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 93, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 2673, + "name": "APIGuildTextChannel.parent_id" + } + }, + { + "id": 2685, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2810, + "name": "APIOverwrite" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 2671, + "name": "APIGuildTextChannel.permission_overwrites" + } + }, + { + "id": 2686, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 2672, + "name": "APIGuildTextChannel.position" + } + }, + { + "id": 2677, + "name": "rate_limit_per_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Amount of seconds a user has to wait before sending another message (0-21600);\nbots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 130, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2678, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel topic (0-1024 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 114, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 2664, + "name": "APIGuildTextChannel.topic" + } + }, + { + "id": 2681, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2717, + "name": "GuildText" + }, + "inheritedFrom": { + "type": "reference", + "id": 2667, + "name": "APIGuildTextChannel.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2684, + 2682, + 2680, + 2679, + 2683, + 2688, + 2687, + 2685, + 2686, + 2677, + 2678, + 2681 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 125, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 2663, + "typeArguments": [ + { + "type": "reference", + "id": 2717, + "name": "ChannelType.GuildText" + } + ], + "name": "APIGuildTextChannel" + } + ] + }, + { + "id": 2948, + "name": "APITextInputComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#text-inputs-text-input-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2950, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The custom id for the text input" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1263, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2951, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Text that appears on top of the text input field, max 80 characters" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1267, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2955, + "name": "max_length", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Maximal length of text input" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1283, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2954, + "name": "min_length", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Minimal length of text input" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1279, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2952, + "name": "placeholder", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Placeholder for the text input" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1271, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2956, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether or not this text input is required or not" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1287, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2949, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "One of text input styles" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1259, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2931, + "name": "TextInputStyle" + } + }, + { + "id": 2957, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1060, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2901, + "name": "TextInput" + }, + "inheritedFrom": { + "type": "reference", + "id": 2895, + "name": "APIBaseComponent.type" + } + }, + { + "id": 2953, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The pre-filled text in the text input" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1275, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2950, + 2951, + 2955, + 2954, + 2952, + 2956, + 2949, + 2957, + 2953 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1255, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 2894, + "typeArguments": [ + { + "type": "reference", + "id": 2901, + "name": "ComponentType.TextInput" + } + ], + "name": "APIBaseComponent" + } + ] + }, + { + "id": 3056, + "name": "APIUnavailableGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#unavailable-guild-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3057, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild id" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3058, + "name": "unavailable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`true` if this guild is unavailable due to an outage" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3057, + 3058 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 20, + "character": 17 + } + ] + }, + { + "id": 3790, + "name": "APIUser", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#user-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3799, + "name": "accent_color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's banner color encoded as an integer representation of hexadecimal color code" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 3794, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's avatar hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3798, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's banner hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3795, + "name": "bot", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user belongs to an OAuth2 application" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3793, + "name": "discriminator", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's 4-digit discord-tag" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3802, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3803, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The flags on a user's account", + "text": "See https://discord.com/developers/docs/resources/user#user-object-user-flags\n" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3806, + "name": "UserFlags" + } + }, + { + "id": 3791, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's id" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3800, + "name": "locale", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's chosen language option" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3797, + "name": "mfa_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has two factor enabled on their account" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3804, + "name": "premium_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of Nitro subscription on a user's account", + "text": "See https://discord.com/developers/docs/resources/user#user-object-premium-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3822, + "name": "UserPremiumType" + } + }, + { + "id": 3805, + "name": "public_flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The public flags on a user's account", + "text": "See https://discord.com/developers/docs/resources/user#user-object-user-flags\n" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 82, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3806, + "name": "UserFlags" + } + }, + { + "id": 3796, + "name": "system", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is an Official Discord System user (part of the urgent message system)" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3792, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's username, not unique across the platform" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3801, + "name": "verified", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the email on this account has been verified" + }, + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3799, + 3794, + 3798, + 3795, + 3793, + 3802, + 3803, + 3791, + 3800, + 3797, + 3804, + 3805, + 3796, + 3792, + 3801 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/user.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 3480, + "name": "APIUserApplicationCommandInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3483, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/internals.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.id" + } + }, + { + "id": 3485, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/internals.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.name" + } + }, + { + "id": 3482, + "name": "resolved", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3486, + "name": "APIUserApplicationCommandInteractionDataResolved" + } + }, + { + "id": 3481, + "name": "target_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3484, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/internals.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3368, + "name": "User" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3483, + 3485, + 3482, + 3481, + 3484 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 16, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3368, + "name": "ApplicationCommandType.User" + } + ], + "name": "APIBaseApplicationCommandInteractionData" + } + ] + }, + { + "id": 3486, + "name": "APIUserApplicationCommandInteractionDataResolved", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-resolved-data-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3488, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 3376, + "name": "APIInteractionDataResolvedGuildMember" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 3487, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3488, + 3487 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 26, + "character": 17 + } + ] + }, + { + "id": 2692, + "name": "APIVoiceChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2693, + "name": "bitrate", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitrate (in bits) of the voice channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 155, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2697, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2653, + "name": "APIGuildChannel.guild_id" + } + }, + { + "id": 2703, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2659, + "name": "APIGuildChannel.id" + } + }, + { + "id": 2704, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 2660, + "name": "APIGuildChannel.name" + } + }, + { + "id": 2701, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 97, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 2657, + "name": "APIGuildChannel.nsfw" + } + }, + { + "id": 2700, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 93, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 2656, + "name": "APIGuildChannel.parent_id" + } + }, + { + "id": 2698, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2810, + "name": "APIOverwrite" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 2654, + "name": "APIGuildChannel.permission_overwrites" + } + }, + { + "id": 2699, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 2655, + "name": "APIGuildChannel.position" + } + }, + { + "id": 2695, + "name": "rtc_region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id for the voice or stage channel, automatic when set to `null`", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 165, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2702, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2719, + "name": "GuildVoice" + }, + { + "type": "reference", + "id": 2724, + "name": "GuildStageVoice" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 2658, + "name": "APIGuildChannel.type" + } + }, + { + "id": 2694, + "name": "user_limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user limit of the voice channel" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 159, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2696, + "name": "video_quality_mode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The camera video quality mode of the voice channel, `1` when not present", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-video-quality-modes\n" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 171, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2725, + "name": "VideoQualityMode" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2693, + 2697, + 2703, + 2704, + 2701, + 2700, + 2698, + 2699, + 2695, + 2702, + 2694, + 2696 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 151, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 2652, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2724, + "name": "ChannelType.GuildStageVoice" + }, + { + "type": "reference", + "id": 2719, + "name": "ChannelType.GuildVoice" + } + ] + } + ], + "name": "APIGuildChannel" + } + ] + }, + { + "id": 3301, + "name": "APIVoiceGuildScheduledEvent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3302, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.channel_id" + } + }, + { + "id": 3315, + "name": "creator", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator" + } + }, + { + "id": 3306, + "name": "creator_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator_id" + } + }, + { + "id": 3308, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.description" + } + }, + { + "id": 3314, + "name": "entity_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_id" + } + }, + { + "id": 3303, + "name": "entity_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_metadata" + } + }, + { + "id": 3313, + "name": "entity_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3340, + "name": "Voice" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_type" + } + }, + { + "id": 3305, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild id which the scheduled event belongs to" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.guild_id" + } + }, + { + "id": 3304, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.id" + } + }, + { + "id": 3317, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The cover image of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.image" + } + }, + { + "id": 3307, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.name" + } + }, + { + "id": 3311, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3348, + "name": "GuildOnly" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.privacy_level" + } + }, + { + "id": 3310, + "name": "scheduled_end_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the guild event will end, or `null` if the event does not have a scheduled time to end" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_end_time" + } + }, + { + "id": 3309, + "name": "scheduled_start_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time the scheduled event will start" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_start_time" + } + }, + { + "id": 3312, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The status of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3342, + "name": "GuildScheduledEventStatus" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.status" + } + }, + { + "id": 3316, + "name": "user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of users subscribed to the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.user_count" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3302, + 3315, + 3306, + 3308, + 3314, + 3303, + 3313, + 3305, + 3304, + 3317, + 3307, + 3311, + 3310, + 3309, + 3312, + 3316 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 87, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3340, + "name": "GuildScheduledEventEntityType.Voice" + } + ], + "name": "APIGuildScheduledEventBase" + } + ] + }, + { + "id": 3853, + "name": "APIVoiceRegion", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/voice#voice-region-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3858, + "name": "custom", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this is a custom voice region (used for events/etc)" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 93, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3857, + "name": "deprecated", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this is a deprecated voice region (avoid switching to these)" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3854, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unique ID for the region" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3855, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the region" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3856, + "name": "optimal", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`true` for a single server that is closest to the current user's client" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3858, + 3857, + 3854, + 3855, + 3856 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 73, + "character": 17 + } + ] + }, + { + "id": 3859, + "name": "APIWebhook", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#webhook-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3868, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The bot/OAuth2 application that created this webhook" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3866, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The default avatar of the webhook" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3863, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel id this webhook is for" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3862, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild id this webhook is for" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3860, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the webhook" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3865, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The default name of the webhook" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3870, + "name": "source_channel", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel that this webhook is following (returned for Channel Follower Webhooks)" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2635, + "name": "APIPartialChannel" + } + }, + { + "id": 3869, + "name": "source_guild", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild of the channel that this webhook is following (returned for Channel Follower Webhooks)" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3059, + "name": "APIPartialGuild" + } + }, + { + "id": 3867, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The secure token of the webhook (returned for Incoming Webhooks)" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3861, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the webhook", + "text": "See https://discord.com/developers/docs/resources/webhook#webhook-object-webhook-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3872, + "name": "WebhookType" + } + }, + { + "id": 3871, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The url used for executing the webhook (returned by the webhooks OAuth2 flow)" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3864, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user this webhook was created by (not returned when getting a webhook with its token)", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3868, + 3866, + 3863, + 3862, + 3860, + 3865, + 3870, + 3869, + 3867, + 3861, + 3871, + 3864 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/webhook.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 3003, + "name": "GatewayActivity", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3012, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Application id for the game" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 167, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3018, + "name": "assets", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Images for the presence and their hover texts", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-assets\n" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 194, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "large_image" + }, + { + "type": "literal", + "value": "large_text" + }, + { + "type": "literal", + "value": "small_image" + }, + { + "type": "literal", + "value": "small_text" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 3022, + "name": "buttons", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The custom buttons shown in the Rich Presence (max 2)" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 216, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 3053, + "name": "GatewayActivityButton" + } + } + ] + } + }, + { + "id": 3008, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unix timestamp of when the activity was added to the user's session" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 157, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3013, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "What the player is currently doing" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 171, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3015, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The emoji used for a custom status", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-emoji\n" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 181, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3037, + "name": "GatewayActivityEmoji" + } + }, + { + "id": 3021, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Activity flags `OR`d together, describes what the payload includes", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-flags\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 212, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3043, + "name": "ActivityFlags" + } + }, + { + "id": 3004, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The activity's id" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 139, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3020, + "name": "instance", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether or not the activity is an instanced game session" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 204, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3005, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The activity's name" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 143, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3017, + "name": "party", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Information for the current party of the player", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-party\n" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 188, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3038, + "name": "GatewayActivityParty" + } + }, + { + "id": 3011, + "name": "platform", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 163, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3023, + "name": "ActivityPlatform" + } + }, + { + "id": 3019, + "name": "secrets", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Secrets for Rich Presence joining and spectating", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-secrets\n" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 200, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "join" + }, + { + "type": "literal", + "value": "spectate" + }, + { + "type": "literal", + "value": "match" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 3016, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 182, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3014, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's current party status" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 175, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3010, + "name": "sync_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 162, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3009, + "name": "timestamps", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Unix timestamps for start and/or end of the game" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 161, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3034, + "name": "GatewayActivityTimestamps" + } + }, + { + "id": 3006, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Activity type", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-types\n" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 149, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3027, + "name": "ActivityType" + } + }, + { + "id": 3007, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Stream url, is validated when type is `1`" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 153, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3012, + 3018, + 3022, + 3008, + 3013, + 3015, + 3021, + 3004, + 3020, + 3005, + 3017, + 3011, + 3019, + 3016, + 3014, + 3010, + 3009, + 3006, + 3007 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 135, + "character": 17 + } + ] + }, + { + "id": 3053, + "name": "GatewayActivityButton", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3054, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The text shown on the button (1-32 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 332, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3055, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The url opened when clicking the button (1-512 characters)" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 336, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3054, + 3055 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 328, + "character": 17 + } + ] + }, + { + "id": 3038, + "name": "GatewayActivityParty", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-party", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3039, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the party" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 288, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3040, + "name": "size", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Used to show the party's current and maximum size" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 292, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "named-tuple-member", + "name": "current_size", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + }, + { + "type": "named-tuple-member", + "name": "max_size", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3039, + 3040 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 284, + "character": 17 + } + ] + }, + { + "id": 3034, + "name": "GatewayActivityTimestamps", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-timestamps", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3036, + "name": "end", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Unix time (in milliseconds) of when the activity ends" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 271, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3035, + "name": "start", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Unix time (in milliseconds) of when the activity started" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 267, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3036, + 3035 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 263, + "character": 17 + } + ] + }, + { + "id": 2221, + "name": "GatewayChannelPinsUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-pins-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2223, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 515, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2222, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 511, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2224, + "name": "last_pin_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The time at which the most recent pinned message was pinned" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 519, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2223, + 2222, + 2224 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 507, + "character": 17 + } + ] + }, + { + "id": 2234, + "name": "GatewayGuildBanModifyDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-add\nhttps://discord.com/developers/docs/topics/gateway#guild-ban-remove", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2235, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 594, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2236, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The banned user", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 600, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2235, + 2236 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 590, + "character": 17 + } + ] + }, + { + "id": 2242, + "name": "GatewayGuildEmojisUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-emojis-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2244, + "name": "emojis", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of emojis", + "text": "See https://discord.com/developers/docs/resources/emoji#emoji-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 650, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2967, + "name": "APIEmoji" + } + } + }, + { + "id": 2243, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 644, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2244, + 2243 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 640, + "character": 17 + } + ] + }, + { + "id": 2250, + "name": "GatewayGuildIntegrationsUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-integrations-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2251, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild whose integrations were updated" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 696, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2251 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 692, + "character": 17 + } + ] + }, + { + "id": 2253, + "name": "GatewayGuildMemberAddDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-add", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2257, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member's guild avatar hash" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 642, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 3197, + "name": "APIGuildMember.avatar" + } + }, + { + "id": 2264, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 676, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 3204, + "name": "APIGuildMember.communication_disabled_until" + } + }, + { + "id": 2261, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is deafened in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 662, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 3201, + "name": "APIGuildMember.deaf" + } + }, + { + "id": 2254, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 716, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2259, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the user joined the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 652, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 3199, + "name": "APIGuildMember.joined_at" + } + }, + { + "id": 2262, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is muted in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 666, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 3202, + "name": "APIGuildMember.mute" + } + }, + { + "id": 2256, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "This users guild nickname" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 638, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 3196, + "name": "APIGuildMember.nick" + } + }, + { + "id": 2263, + "name": "pending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has not yet passed the guild's Membership Screening requirements", + "text": "*If this field is not present, it can be assumed as `false`.*\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 672, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 3203, + "name": "APIGuildMember.pending" + } + }, + { + "id": 2260, + "name": "premium_since", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the user started boosting the guild", + "text": "See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 658, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 3200, + "name": "APIGuildMember.premium_since" + } + }, + { + "id": 2258, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of role object ids", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 648, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 3198, + "name": "APIGuildMember.roles" + } + }, + { + "id": 2255, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user this guild member represents", + "text": "**This field won't be included in the member object attached to `MESSAGE_CREATE` and `MESSAGE_UPDATE` gateway events.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 634, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "id": 3195, + "name": "APIGuildMember.user" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2257, + 2264, + 2261, + 2254, + 2259, + 2262, + 2256, + 2263, + 2260, + 2258, + 2255 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 712, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + } + ] + }, + { + "id": 2266, + "name": "GatewayGuildMemberRemoveDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-remove", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2267, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 736, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2268, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user who was removed", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 742, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2267, + 2268 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 732, + "character": 17 + } + ] + }, + { + "id": 2274, + "name": "GatewayGuildMembersChunkDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-members-chunk", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2278, + "name": "chunk_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The total number of expected chunks for this response" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 799, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2277, + "name": "chunk_index", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The chunk index in the expected chunks for this response (`0 <= chunk_index < chunk_count`)" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 795, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2275, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 785, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2276, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Set of guild members", + "text": "See https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 791, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + } + } + }, + { + "id": 2281, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce used in the Guild Members Request", + "text": "See https://discord.com/developers/docs/topics/gateway#request-guild-members\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 815, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2279, + "name": "not_found", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If passing an invalid id to `REQUEST_GUILD_MEMBERS`, it will be returned here" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 803, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + }, + { + "id": 2280, + "name": "presences", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If passing true to `REQUEST_GUILD_MEMBERS`, presences of the returned members will be here", + "text": "See https://discord.com/developers/docs/topics/gateway#presence\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 809, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2987, + "name": "GatewayPresenceUpdate" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2278, + 2277, + 2275, + 2276, + 2281, + 2279, + 2280 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 781, + "character": 17 + } + ] + }, + { + "id": 2291, + "name": "GatewayGuildRoleDeleteDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2292, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 887, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2293, + "name": "role_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the role" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 891, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2292, + 2293 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 883, + "character": 17 + } + ] + }, + { + "id": 2283, + "name": "GatewayGuildRoleModifyDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-create\nhttps://discord.com/developers/docs/topics/gateway#guild-role-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2284, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 837, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2285, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The role created or updated", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 843, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3688, + "name": "APIRole" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2284, + 2285 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 833, + "character": 17 + } + ] + }, + { + "id": 2301, + "name": "GatewayGuildScheduledEventUserAddDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2304, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 947, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2302, + "name": "guild_scheduled_event_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 945, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2303, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 946, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2304, + 2302, + 2303 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 944, + "character": 17 + } + ] + }, + { + "id": 2306, + "name": "GatewayGuildScheduledEventUserRemoveDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2309, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 964, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2307, + "name": "guild_scheduled_event_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 962, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2308, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 963, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2309, + 2307, + 2308 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 961, + "character": 17 + } + ] + }, + { + "id": 2246, + "name": "GatewayGuildStickersUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-stickers-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2247, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 670, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2248, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of stickers", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 676, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3719, + "name": "APISticker" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2247, + 2248 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 666, + "character": 17 + } + ] + }, + { + "id": 2401, + "name": "GatewayHeartbeat", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2403, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1478, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2404, + "name": "GatewayHeartbeatData" + } + }, + { + "id": 2402, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1477, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2080, + "name": "Heartbeat" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2403, + 2402 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1476, + "character": 17 + } + ] + }, + { + "id": 2187, + "name": "GatewayHeartbeatAck", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating-example-gateway-heartbeat-ack", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2189, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 359, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 2188, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 358, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2089, + "name": "HeartbeatAck" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 2191, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1734, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 2190, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1733, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2189, + 2188, + 2191, + 2190 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 357, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 2182, + "name": "GatewayHeartbeatRequest", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2184, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 350, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 2183, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 349, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2080, + "name": "Heartbeat" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 2186, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1734, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 2185, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1733, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2184, + 2183, + 2186, + 2185 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 348, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 2175, + "name": "GatewayHello", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#hello", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2177, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 330, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2180, + "name": "GatewayHelloData" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 2176, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 329, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2088, + "name": "Hello" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 2179, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1734, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 2178, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1733, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2177, + 2176, + 2179, + 2178 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 328, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 2180, + "name": "GatewayHelloData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#hello", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2181, + "name": "heartbeat_interval", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The interval (in milliseconds) the client should heartbeat with" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 341, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2181 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 337, + "character": 17 + } + ] + }, + { + "id": 2405, + "name": "GatewayIdentify", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#identify", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2407, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1493, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2408, + "name": "GatewayIdentifyData" + } + }, + { + "id": 2406, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1492, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2081, + "name": "Identify" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2407, + 2406 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1491, + "character": 17 + } + ] + }, + { + "id": 2408, + "name": "GatewayIdentifyData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#identify", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2411, + "name": "compress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this connection supports compression of packets", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1516, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2415, + "name": "intents", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The Gateway Intents you wish to receive", + "text": "See https://discord.com/developers/docs/topics/gateway#gateway-intents\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1541, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2412, + "name": "large_threshold", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value between 50 and 250, total number of members where the gateway will stop sending\noffline members in the guild member list", + "tags": [ + { + "tag": "default", + "text": "50\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1523, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2414, + "name": "presence", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Presence structure for initial presence information", + "text": "See https://discord.com/developers/docs/topics/gateway#update-presence\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1535, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2448, + "name": "GatewayPresenceUpdateData" + } + }, + { + "id": 2410, + "name": "properties", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Connection properties", + "text": "See https://discord.com/developers/docs/topics/gateway#identify-identify-connection-properties\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1510, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2416, + "name": "GatewayIdentifyProperties" + } + }, + { + "id": 2413, + "name": "shard", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Used for Guild Sharding", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1529, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "named-tuple-member", + "name": "shard_id", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + }, + { + "type": "named-tuple-member", + "name": "shard_count", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + } + ] + } + }, + { + "id": 2409, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Authentication token" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1504, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2411, + 2415, + 2412, + 2414, + 2410, + 2413, + 2409 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1500, + "character": 17 + } + ] + }, + { + "id": 2416, + "name": "GatewayIdentifyProperties", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#identify-identify-connection-properties", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2418, + "name": "$browser", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Your library name" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1556, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2419, + "name": "$device", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Your library name" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1560, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2417, + "name": "$os", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Your operating system" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1552, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2418, + 2419, + 2417 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1548, + "character": 17 + } + ] + }, + { + "id": 2319, + "name": "GatewayIntegrationDeleteDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2322, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the bot/OAuth2 application for this Discord integration" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1022, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2321, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1018, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2320, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration id" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1014, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2322, + 2321, + 2320 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1010, + "character": 17 + } + ] + }, + { + "id": 2192, + "name": "GatewayInvalidSession", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invalid-session", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2194, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 368, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 2193, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 367, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2087, + "name": "InvalidSession" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 2196, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1734, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 2195, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1733, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2194, + 2193, + 2196, + 2195 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 366, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 2326, + "name": "GatewayInviteCreateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invite-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2327, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel the invite is for" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1057, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2328, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The unique invite code", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1063, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2329, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the invite was created" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1067, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2330, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild of the invite" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1071, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2331, + "name": "inviter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that created the invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1077, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + }, + { + "id": 2332, + "name": "max_age", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "How long the invite is valid for (in seconds)" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1081, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2333, + "name": "max_uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The maximum number of times the invite can be used" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1085, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2336, + "name": "target_application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The embedded application to open for this voice channel embedded application invite" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1101, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2460, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 2334, + "name": "target_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of target for this voice channel invite", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1091, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3645, + "name": "InviteTargetType" + } + }, + { + "id": 2335, + "name": "target_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user whose stream to display for this voice channel stream invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1097, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + }, + { + "id": 2337, + "name": "temporary", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role)" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1105, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2338, + "name": "uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "How many times the invite has been used (always will be `0`)" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1109, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": 0 + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2327, + 2328, + 2329, + 2330, + 2331, + 2332, + 2333, + 2336, + 2334, + 2335, + 2337, + 2338 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1053, + "character": 17 + } + ] + }, + { + "id": 2340, + "name": "GatewayInviteDeleteDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invite-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2341, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel of the invite" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1129, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2343, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The unique invite code", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1139, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2342, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild of the invite" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1133, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2341, + 2343, + 2342 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1125, + "character": 17 + } + ] + }, + { + "id": 2357, + "name": "GatewayMessageDeleteBulkDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-delete-bulk", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2359, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1224, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2360, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1228, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2358, + "name": "ids", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The ids of the messages" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1220, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2359, + 2360, + 2358 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1216, + "character": 17 + } + ] + }, + { + "id": 2352, + "name": "GatewayMessageDeleteDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2354, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1196, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2355, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1200, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2353, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the message" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1192, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2354, + 2355, + 2353 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1188, + "character": 17 + } + ] + }, + { + "id": 2368, + "name": "GatewayMessageReactionRemoveEmojiDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2370, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1787, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "MessageReactionRemoveData.channel_id" + } + }, + { + "id": 2369, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The emoji that was removed" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1287, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2967, + "name": "APIEmoji" + } + }, + { + "id": 2372, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1795, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "MessageReactionRemoveData.guild_id" + } + }, + { + "id": 2371, + "name": "message_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the message" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1791, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "MessageReactionRemoveData.message_id" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2370, + 2369, + 2372, + 2371 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1283, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "MessageReactionRemoveData" + } + ] + }, + { + "id": 2999, + "name": "GatewayPresenceClientStatus", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#client-status-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3000, + "name": "desktop", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's status set for an active desktop (Windows, Linux, Mac) application session" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 120, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2993, + "name": "PresenceUpdateStatus" + } + }, + { + "id": 3001, + "name": "mobile", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's status set for an active mobile (iOS, Android) application session" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 124, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2993, + "name": "PresenceUpdateStatus" + } + }, + { + "id": 3002, + "name": "web", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's status set for an active web (browser, bot account) application session" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 128, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2993, + "name": "PresenceUpdateStatus" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3000, + 3001, + 3002 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 116, + "character": 17 + } + ] + }, + { + "id": 2987, + "name": "GatewayPresenceUpdate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#presence-update-presence-update-event-fields", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2991, + "name": "activities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User's current activities", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3003, + "name": "GatewayActivity" + } + } + }, + { + "id": 2992, + "name": "client_status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User's platform-dependent status", + "text": "See https://discord.com/developers/docs/topics/gateway#client-status-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 95, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2999, + "name": "GatewayPresenceClientStatus" + } + }, + { + "id": 2989, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2990, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Either \"idle\", \"dnd\", \"online\", or \"offline\"" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2993, + "name": "PresenceUpdateStatus" + } + }, + { + "id": 2988, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user presence is being updated for", + "text": "**The user object within this event can be partial, the only field which must be sent is the `id` field,\neverything else is optional.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3790, + "name": "APIUser" + }, + { + "type": "literal", + "value": "id" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2991, + 2992, + 2989, + 2990, + 2988 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 66, + "character": 17 + } + ] + }, + { + "id": 2448, + "name": "GatewayPresenceUpdateData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-presence-gateway-presence-update-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2450, + "name": "activities", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's activities", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1691, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2453, + "name": "GatewayActivityUpdateData" + } + } + }, + { + "id": 2452, + "name": "afk", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether or not the client is afk" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1701, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2449, + "name": "since", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unix time (in milliseconds) of when the client went idle, or `null` if the client is not idle" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1685, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 2451, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's new status", + "text": "See https://discord.com/developers/docs/topics/gateway#update-presence-status-types\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1697, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2993, + "name": "PresenceUpdateStatus" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2450, + 2452, + 2449, + 2451 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1681, + "character": 17 + } + ] + }, + { + "id": 2204, + "name": "GatewayReadyDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#ready", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2210, + "name": "application", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contains `id` and `flags`", + "text": "See https://discord.com/developers/docs/resources/application#application-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 430, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2460, + "name": "APIApplication" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "flags" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 2207, + "name": "guilds", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guilds the user is in", + "text": "See https://discord.com/developers/docs/resources/guild#unavailable-guild-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 414, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3056, + "name": "APIUnavailableGuild" + } + } + }, + { + "id": 2208, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Used for resuming connections" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 418, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2209, + "name": "shard", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The shard information associated with this session, if sent when identifying", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 424, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "named-tuple-member", + "name": "shard_id", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + }, + { + "type": "named-tuple-member", + "name": "shard_count", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + } + ] + } + }, + { + "id": 2206, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Information about the user including email", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 408, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + }, + { + "id": 2205, + "name": "v", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Gateway version", + "text": "See https://discord.com/developers/docs/topics/gateway#gateways-gateway-versions\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 402, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2210, + 2207, + 2208, + 2209, + 2206, + 2205 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 396, + "character": 17 + } + ] + }, + { + "id": 2198, + "name": "GatewayReconnect", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#reconnect", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2200, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 383, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 2199, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 382, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2085, + "name": "Reconnect" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 2202, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1734, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 2201, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1733, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2200, + 2199, + 2202, + 2201 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 381, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 2427, + "name": "GatewayRequestGuildMembers", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#request-guild-members", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2429, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1597, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2430, + "name": "GatewayRequestGuildMembersData" + } + }, + { + "id": 2428, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1596, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2086, + "name": "RequestGuildMembers" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2429, + 2428 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1595, + "character": 17 + } + ] + }, + { + "id": 2430, + "name": "GatewayRequestGuildMembersData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#request-guild-members", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2431, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild to get members for" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1608, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2433, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Maximum number of members to send matching the `query`;\na limit of `0` can be used with an empty string `query` to return all members" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1617, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2436, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Nonce to identify the Guild Members Chunk response", + "text": "Nonce can only be up to 32 bytes. If you send an invalid nonce it will be ignored and the reply member_chunk(s) will not have a `nonce` set.\n\nSee https://discord.com/developers/docs/topics/gateway#guild-members-chunk\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1633, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2434, + "name": "presences", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Used to specify if we want the presences of the matched members" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1621, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2432, + "name": "query", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "String that username starts with, or an empty string to return all members" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1612, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2435, + "name": "user_ids", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Used to specify which users you wish to fetch" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1625, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2431, + 2433, + 2436, + 2434, + 2432, + 2435 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1604, + "character": 17 + } + ] + }, + { + "id": 2420, + "name": "GatewayResume", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#resume", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2422, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1569, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2423, + "name": "GatewayResumeData" + } + }, + { + "id": 2421, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1568, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2084, + "name": "Resume" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2422, + 2421 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1567, + "character": 17 + } + ] + }, + { + "id": 2423, + "name": "GatewayResumeData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#resume", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2426, + "name": "seq", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Last sequence number received" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1588, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2425, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Session id" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1584, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2424, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Session token" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1580, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2426, + 2425, + 2424 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1576, + "character": 17 + } + ] + }, + { + "id": 2382, + "name": "GatewayTypingStartDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#typing-start", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2383, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1364, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2384, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1368, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2387, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member who started typing if this happened in a guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1382, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + } + }, + { + "id": 2386, + "name": "timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unix time (in seconds) of when the user started typing" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1376, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2385, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the user" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1372, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2383, + 2384, + 2387, + 2386, + 2385 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1360, + "character": 17 + } + ] + }, + { + "id": 2445, + "name": "GatewayUpdatePresence", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-presence", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2447, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1674, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2448, + "name": "GatewayPresenceUpdateData" + } + }, + { + "id": 2446, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1673, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2082, + "name": "PresenceUpdate" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2447, + 2446 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1672, + "character": 17 + } + ] + }, + { + "id": 2393, + "name": "GatewayVoiceServerUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#voice-server-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2396, + "name": "endpoint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The voice server host", + "text": "A `null` endpoint means that the voice server allocated has gone away and is trying to be reallocated.\nYou should attempt to disconnect from the currently connected voice server, and not attempt to reconnect\nuntil a new voice server is allocated\n" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1441, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2395, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild this voice server update is for" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1433, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2394, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Voice connection token" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1429, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2396, + 2395, + 2394 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1425, + "character": 17 + } + ] + }, + { + "id": 3839, + "name": "GatewayVoiceState", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/voice#voice-state-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3841, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel id this user is connected to" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3845, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is deafened by the server" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3840, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild id this voice state is for" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3843, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild member this voice state is for", + "text": "See https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + } + }, + { + "id": 3846, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is muted by the server" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3852, + "name": "request_to_speak_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the user requested to speak" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3847, + "name": "self_deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is locally deafened" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3848, + "name": "self_mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is locally muted" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3849, + "name": "self_stream", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this user is streaming using \"Go Live\"" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 54, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3850, + "name": "self_video", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user's camera is enabled" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3844, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The session id for this voice state" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3851, + "name": "suppress", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is muted by the current user" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3842, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user id this voice state is for" + }, + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3841, + 3845, + 3840, + 3843, + 3846, + 3852, + 3847, + 3848, + 3849, + 3850, + 3844, + 3851, + 3842 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/voice.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 2437, + "name": "GatewayVoiceStateUpdate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-voice-state", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2439, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1642, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2440, + "name": "GatewayVoiceStateUpdateData" + } + }, + { + "id": 2438, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1641, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2083, + "name": "VoiceStateUpdate" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2439, + 2438 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1640, + "character": 17 + } + ] + }, + { + "id": 2440, + "name": "GatewayVoiceStateUpdateData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-voice-state", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2442, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the voice channel client wants to join (`null` if disconnecting)" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1657, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2441, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1653, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2444, + "name": "self_deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Is the client deafened" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1665, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2443, + "name": "self_mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Is the client muted" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1661, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2442, + 2441, + 2444, + 2443 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1649, + "character": 17 + } + ] + }, + { + "id": 2398, + "name": "GatewayWebhooksUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#webhooks-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 2400, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1465, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2399, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1461, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2400, + 2399 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1457, + "character": 17 + } + ] + }, + { + "id": 3578, + "name": "ModalSubmitActionRowComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3579, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/modalSubmit.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3574, + "name": "ModalSubmitComponent" + } + } + }, + { + "id": 3580, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1060, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2898, + "name": "ActionRow" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3579, + 3580 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/modalSubmit.ts", + "line": 22, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2902, + "typeArguments": [ + { + "type": "reference", + "id": 2962, + "name": "APIModalActionRowComponent" + } + ], + "name": "APIActionRowComponent" + }, + { + "type": "literal", + "value": "components" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + }, + { + "id": 3574, + "name": "ModalSubmitComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 3576, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/modalSubmit.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3575, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/modalSubmit.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2897, + "name": "ComponentType" + } + }, + { + "id": 3577, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/_interactions/modalSubmit.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3576, + 3575, + 3577 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/modalSubmit.ts", + "line": 13, + "character": 17 + } + ] + }, + { + "id": 4712, + "name": "RESTAPIPartialCurrentUserGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4717, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 73, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3154, + "name": "GuildFeature" + } + } + }, + { + "id": 4715, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 4713, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4714, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4716, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4718, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4717, + 4715, + 4713, + 4714, + 4716, + 4718 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 68, + "character": 17 + } + ] + }, + { + "id": 4168, + "name": "RESTGetAPIAuditLogQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#get-guild-audit-log", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4170, + "name": "action_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of audit log events" + }, + "sources": [ + { + "fileName": "rest/v8/auditLog.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2513, + "name": "AuditLogEvent" + } + }, + { + "id": 4171, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Filter the log before a certain entry ID" + }, + "sources": [ + { + "fileName": "rest/v8/auditLog.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4172, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "How many entries are returned (default 50, minimum 1, maximum 100)", + "tags": [ + { + "tag": "default", + "text": "50\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/auditLog.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4169, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Filter the log for actions made by a user" + }, + "sources": [ + { + "fileName": "rest/v8/auditLog.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4170, + 4171, + 4172, + 4169 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/auditLog.ts", + "line": 8, + "character": 17 + } + ] + }, + { + "id": 4227, + "name": "RESTGetAPIChannelMessageReactionUsersQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 4228, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get users after this user ID" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 297, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4229, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of users to return (1-100)", + "tags": [ + { + "tag": "default", + "text": "25\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 303, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4228, + 4229 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 293, + "character": 17 + } + ] + }, + { + "id": 4196, + "name": "RESTGetAPIChannelMessagesQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel-messages", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4199, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get messages after this message ID" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 146, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4197, + "name": "around", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get messages around this message ID" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 138, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4198, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get messages before this message ID" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 142, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4200, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of messages to return (1-100)", + "tags": [ + { + "tag": "default", + "text": "50\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 152, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4199, + 4197, + 4198, + 4200 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 134, + "character": 17 + } + ] + }, + { + "id": 4708, + "name": "RESTGetAPICurrentUserGuildsQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-current-user-guilds", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4710, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get guilds after this guild ID" + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4709, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get guilds before this guild ID" + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4711, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of guilds to return (1-100)", + "tags": [ + { + "tag": "default", + "text": "100\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4710, + 4709, + 4711 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 48, + "character": 17 + } + ] + }, + { + "id": 4372, + "name": "RESTGetAPIGuildMembersQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#list-guild-members", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4374, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The highest user id in the previous page", + "tags": [ + { + "tag": "default", + "text": "0\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 377, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4373, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of members to return (1-1000)", + "tags": [ + { + "tag": "default", + "text": "1\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 371, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4374, + 4373 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 365, + "character": 17 + } + ] + }, + { + "id": 4376, + "name": "RESTGetAPIGuildMembersSearchQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#search-guild-members", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4378, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of members to return (1-1000)", + "tags": [ + { + "tag": "default", + "text": "1\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 400, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4377, + "name": "query", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Query string to match username(s) and nickname(s) against" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 394, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4378, + 4377 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 390, + "character": 17 + } + ] + }, + { + "id": 4442, + "name": "RESTGetAPIGuildPruneCountQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-prune-count", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4443, + "name": "days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of days to count prune for (1 or more)", + "tags": [ + { + "tag": "default", + "text": "7\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 728, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4444, + "name": "include_roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Role(s) to include", + "text": "While this is typed as a string, it represents an array of\nrole IDs delimited by commas\n\nSee https://discord.com/developers/docs/resources/guild#get-guild-prune-count-query-string-params\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 737, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4443, + 4444 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 722, + "character": 17 + } + ] + }, + { + "id": 4445, + "name": "RESTGetAPIGuildPruneCountResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-prune-count", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4446, + "name": "pruned", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 745, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4446 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 744, + "character": 17 + } + ] + }, + { + "id": 4333, + "name": "RESTGetAPIGuildQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4334, + "name": "with_counts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When `true`, will return approximate member and presence counts for the guild", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 174, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4334 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 168, + "character": 17 + } + ] + }, + { + "id": 4503, + "name": "RESTGetAPIGuildScheduledEventQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4504, + "name": "with_user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether to include number of users subscribed to this event" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 86, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4504 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 82, + "character": 17 + } + ] + }, + { + "id": 4511, + "name": "RESTGetAPIGuildScheduledEventUsersQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event-users", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4515, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Consider only users after given user id" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 141, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4514, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Consider only users before given user id" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 137, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4512, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of users to receive from the event", + "tags": [ + { + "tag": "default", + "text": "100\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 129, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4513, + "name": "with_member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether to include guild member data if it exists" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 133, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4515, + 4514, + 4512, + 4513 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 123, + "character": 17 + } + ] + }, + { + "id": 4488, + "name": "RESTGetAPIGuildScheduledEventsQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#list-scheduled-events-for-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4489, + "name": "with_user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether to include number of users subscribed to each event" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4489 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 16, + "character": 17 + } + ] + }, + { + "id": 4462, + "name": "RESTGetAPIGuildVanityUrlResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-vanity-url", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4463, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 832, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 4464, + "name": "uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 833, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4463, + 4464 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 831, + "character": 17 + } + ] + }, + { + "id": 4465, + "name": "RESTGetAPIGuildWidgetImageQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-image", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4466, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Style of the widget image returned", + "tags": [ + { + "tag": "default", + "text": "\"shield\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 846, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3259, + "name": "GuildWidgetStyle" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4466 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 840, + "character": 17 + } + ] + }, + { + "id": 4568, + "name": "RESTGetAPIInviteQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#get-invite", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4571, + "name": "guild_scheduled_event_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild scheduled event to include with the invite" + }, + "sources": [ + { + "fileName": "rest/v8/invite.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4569, + "name": "with_counts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the invite should contain approximate member counts" + }, + "sources": [ + { + "fileName": "rest/v8/invite.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4570, + "name": "with_expiration", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the invite should contain the expiration date" + }, + "sources": [ + { + "fileName": "rest/v8/invite.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4571, + 4569, + 4570 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/invite.ts", + "line": 8, + "character": 17 + } + ] + }, + { + "id": 4575, + "name": "RESTGetAPIOAuth2CurrentAuthorizationResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4576, + "name": "application", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "the current application" + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2460, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 4578, + "name": "expires", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "when the access token expires" + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4577, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "the scopes the user has authorized the application for" + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3666, + "name": "OAuth2Scopes" + } + } + }, + { + "id": 4579, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "the user who has authorized, if the user has authorized with the `identify` scope" + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4576, + 4578, + 4577, + 4579 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 14, + "character": 17 + } + ] + }, + { + "id": 4667, + "name": "RESTGetNitroStickerPacksResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4668, + "name": "sticker_packs", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3740, + "name": "APIStickerPack" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4668 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 4626, + "name": "RESTOAuth2AdvancedBotAuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorization", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4627, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 166, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4631, + "name": "disable_guild_select", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 180, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4630, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 179, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4629, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The required permissions bitfield, stringified" + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 178, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4633, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 182, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4632, + "name": "response_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 181, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4628, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "This assumes you include the `bot` scope alongside others (like `identify` for example)" + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 170, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3667, + "name": "Bot" + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ] + ] + }, + { + "type": "template-literal", + "head": "bot ", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "bot%20", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + " " + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + " " + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20" + ] + ] + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4627, + 4631, + 4630, + 4629, + 4633, + 4632, + 4628 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 165, + "character": 17 + } + ] + }, + { + "id": 4634, + "name": "RESTOAuth2AdvancedBotAuthorizationQueryResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4635, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 189, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4637, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 191, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4638, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 192, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4636, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 190, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4635, + 4637, + 4638, + 4636 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 188, + "character": 17 + } + ] + }, + { + "id": 4580, + "name": "RESTOAuth2AuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4582, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4586, + "name": "prompt", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 43, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "consent" + }, + { + "type": "literal", + "value": "none" + } + ] + } + }, + { + "id": 4584, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4581, + "name": "response_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "code" + } + }, + { + "id": 4583, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4585, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4582, + 4586, + 4584, + 4581, + 4583, + 4585 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 37, + "character": 17 + } + ] + }, + { + "id": 4587, + "name": "RESTOAuth2AuthorizationQueryResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-example", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4588, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4589, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4588, + 4589 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 50, + "character": 17 + } + ] + }, + { + "id": 4620, + "name": "RESTOAuth2BotAuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#bot-authorization-flow-bot-auth-parameters", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4621, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Your app's client id" + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 136, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4625, + "name": "disable_guild_select", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` or `false`—disallows the user from changing the guild dropdown" + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 158, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4624, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Pre-fills the dropdown picker with a guild for the user" + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 154, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4623, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The permissions you're requesting", + "text": "See https://discord.com/developers/docs/topics/permissions\n" + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 150, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4622, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Needs to include bot for the bot flow" + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 140, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3667, + "name": "Bot" + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ] + ] + }, + { + "type": "template-literal", + "head": "bot ", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "bot%20", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + " " + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + " " + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20" + ] + ] + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4621, + 4625, + 4624, + 4623, + 4622 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 132, + "character": 17 + } + ] + }, + { + "id": 4608, + "name": "RESTOAuth2ImplicitAuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#implicit-grant", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4610, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 101, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4614, + "name": "prompt", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 105, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "consent" + }, + { + "type": "literal", + "value": "none" + } + ] + } + }, + { + "id": 4612, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 103, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4609, + "name": "response_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 100, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "token" + } + }, + { + "id": 4611, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 102, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4613, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 104, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4610, + 4614, + 4612, + 4609, + 4611, + 4613 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 99, + "character": 17 + } + ] + }, + { + "id": 4267, + "name": "RESTPostAPIChannelFollowersJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#follow-news-channel", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4268, + "name": "webhook_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of target channel" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 528, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4268 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 524, + "character": 17 + } + ] + }, + { + "id": 4247, + "name": "RESTPostAPIChannelMessagesBulkDeleteJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#bulk-delete-messages", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4248, + "name": "messages", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "An array of message ids to delete (2-100)" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 410, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4248 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 406, + "character": 17 + } + ] + }, + { + "id": 4523, + "name": "RESTPostAPIContextMenuApplicationCommandsJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-global-application-command", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4527, + "name": "default_permission", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the command is enabled by default when the app is added to a guild", + "text": "If missing, this property should be assumed as `true`\n" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.default_permission" + } + }, + { + "id": 4526, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "1-32 character name; `CHAT_INPUT` command names must be all lowercase matching `^[\\w-]{1,32}$`" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.name" + } + }, + { + "id": 4525, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The parameters for the `CHAT_INPUT` command, max 25" + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3391, + "name": "APIApplicationCommandOption" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.options" + } + }, + { + "id": 4524, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3368, + "name": "User" + }, + { + "type": "reference", + "id": 3369, + "name": "Message" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4527, + 4526, + 4525, + 4524 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 49, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody" + } + ] + }, + { + "id": 4721, + "name": "RESTPostAPICurrentUserCreateDMChannelJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#create-dm", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4722, + "name": "recipient_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The recipient to open a DM channel with" + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 97, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4722 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 93, + "character": 17 + } + ] + }, + { + "id": 4452, + "name": "RESTPostAPIGuildPruneResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#begin-guild-prune", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4453, + "name": "pruned", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 776, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4453 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 775, + "character": 17 + } + ] + }, + { + "id": 4671, + "name": "RESTPostAPIGuildStickerFormDataBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4673, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Description of the sticker (empty or 2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4675, + "name": "file", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The sticker file to upload, must be a PNG, APNG, or Lottie JSON file, max 500 KB" + }, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 4672, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the sticker (2-30 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4674, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The Discord name of a unicode emoji representing the sticker's expression (2-200 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4673, + 4675, + 4672, + 4674 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 29, + "character": 17 + } + ] + }, + { + "id": 4654, + "name": "RESTPostAPIStageInstanceJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#create-stage-instance", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4655, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the stage channel" + }, + "sources": [ + { + "fileName": "rest/v8/stageInstance.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4657, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The privacy level of the stage instance", + "tags": [ + { + "tag": "default", + "text": "GuildOnly\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/stageInstance.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3711, + "name": "StageInstancePrivacyLevel" + } + }, + { + "id": 4656, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The topic of the stage instance (1-120 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/stageInstance.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4655, + 4657, + 4656 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/stageInstance.ts", + "line": 9, + "character": 17 + } + ] + }, + { + "id": 4759, + "name": "RESTPostAPIWebhookWithTokenQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook-querystring-params", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4761, + "name": "thread_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Send a message to the specified thread within a webhook's channel. The thread will automatically be unarchived." + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 191, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4760, + "name": "wait", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Waits for server confirmation of message send before response, and returns the created message body\n(defaults to `false`; when `false` a message that is not saved does not return an error)", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 187, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4761, + 4760 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 180, + "character": 17 + } + ] + }, + { + "id": 4596, + "name": "RESTPostOAuth2AccessTokenResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-access-token-response", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4597, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4599, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4600, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4601, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4598, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 73, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4597, + 4599, + 4600, + 4601, + 4598 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 71, + "character": 17 + } + ] + }, + { + "id": 4590, + "name": "RESTPostOAuth2AccessTokenURLEncodedData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-example", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4591, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4592, + "name": "client_secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4594, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4593, + "name": "grant_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "authorization_code" + } + }, + { + "id": 4595, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4591, + 4592, + 4594, + 4593, + 4595 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 59, + "character": 17 + } + ] + }, + { + "id": 4639, + "name": "RESTPostOAuth2AccessTokenWithBotAndGuildsScopeResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorization-extended-bot-authorization-access-token-example", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4640, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 200, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4642, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 202, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4645, + "name": "guild", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 205, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3071, + "name": "APIGuild" + } + }, + { + "id": 4643, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 203, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4644, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 204, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4641, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 201, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4640, + 4642, + 4645, + 4643, + 4644, + 4641 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 199, + "character": 17 + } + ] + }, + { + "id": 4646, + "name": "RESTPostOAuth2AccessTokenWithBotAndWebhookIncomingScopeResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#webhooks-webhook-token-response-example", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4647, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 213, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4649, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 215, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4650, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 216, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4651, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 217, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4648, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 214, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4652, + "name": "webhook", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 218, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3859, + "name": "APIWebhook" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4647, + 4649, + 4650, + 4651, + 4648, + 4652 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 212, + "character": 17 + } + ] + }, + { + "id": 4616, + "name": "RESTPostOAuth2ClientCredentialsURLEncodedData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#client-credentials-grant", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4617, + "name": "grant_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 119, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "client_credentials" + } + }, + { + "id": 4618, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 120, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4617, + 4618 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 118, + "character": 17 + } + ] + }, + { + "id": 4602, + "name": "RESTPostOAuth2RefreshTokenURLEncodedData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-refresh-token-exchange-example", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4603, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 84, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4604, + "name": "client_secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4605, + "name": "grant_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 86, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "refresh_token" + } + }, + { + "id": 4606, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4603, + 4604, + 4605, + 4606 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 83, + "character": 17 + } + ] + }, + { + "id": 4563, + "name": "RESTPutAPIApplicationCommandPermissionsJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-application-command-permissions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4564, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 260, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3512, + "name": "APIApplicationCommandPermission" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4564 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 259, + "character": 17 + } + ] + }, + { + "id": 4250, + "name": "RESTPutAPIChannelPermissionJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-channel-permissions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "children": [ + { + "id": 4251, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all allowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 431, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 4252, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all disallowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 439, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 4253, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`0` for a role or `1` for a member" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 443, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2815, + "name": "OverwriteType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4251, + 4252, + 4253 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 423, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 4174, + "name": "APIChannelPatchOverwrite" + }, + { + "type": "reference", + "id": 4296, + "name": "APIGuildCreateOverwrite" + } + ] + }, + { + "id": 2960, + "name": "APIActionRowComponentTypes", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1303, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2961, + "name": "APIMessageActionRowComponent" + }, + { + "type": "reference", + "id": 2962, + "name": "APIModalActionRowComponent" + } + ] + } + }, + { + "id": 3409, + "name": "APIApplicationCommandAttachmentOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3447, + "name": "ApplicationCommandOptionType.Attachment" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 3520, + "name": "APIApplicationCommandAutocompleteDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/autocomplete.ts", + "line": 30, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3557, + "typeArguments": [ + { + "type": "reference", + "id": 3519, + "name": "APIApplicationCommandAutocompleteInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 3521, + "name": "APIApplicationCommandAutocompleteGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/autocomplete.ts", + "line": 37, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3559, + "typeArguments": [ + { + "type": "reference", + "id": 3519, + "name": "APIApplicationCommandAutocompleteInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 3519, + "name": "APIApplicationCommandAutocompleteInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/autocomplete.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 3541, + "typeArguments": [ + { + "type": "reference", + "id": 3592, + "name": "InteractionType.ApplicationCommandAutocomplete" + }, + { + "type": "reference", + "id": 3394, + "name": "APIChatInputApplicationCommandInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3541, + "typeArguments": [ + { + "type": "reference", + "id": 3592, + "name": "InteractionType.ApplicationCommandAutocomplete" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3394, + "name": "APIChatInputApplicationCommandInteractionData" + }, + { + "type": "literal", + "value": "options" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 3390, + "name": "APIApplicationCommandBasicOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 73, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3452, + "name": "APIApplicationCommandStringOption" + }, + { + "type": "reference", + "id": 3420, + "name": "APIApplicationCommandIntegerOption" + }, + { + "type": "reference", + "id": 3411, + "name": "APIApplicationCommandBooleanOption" + }, + { + "type": "reference", + "id": 3478, + "name": "APIApplicationCommandUserOption" + }, + { + "type": "reference", + "id": 3413, + "name": "APIApplicationCommandChannelOption" + }, + { + "type": "reference", + "id": 3434, + "name": "APIApplicationCommandRoleOption" + }, + { + "type": "reference", + "id": 3426, + "name": "APIApplicationCommandMentionableOption" + }, + { + "type": "reference", + "id": 3428, + "name": "APIApplicationCommandNumberOption" + }, + { + "type": "reference", + "id": 3409, + "name": "APIApplicationCommandAttachmentOption" + } + ] + } + }, + { + "id": 3411, + "name": "APIApplicationCommandBooleanOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3441, + "name": "ApplicationCommandOptionType.Boolean" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 3388, + "name": "APIApplicationCommandDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 121, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3407, + "name": "APIChatInputApplicationCommandDMInteraction" + }, + { + "type": "reference", + "id": 3505, + "name": "APIContextMenuDMInteraction" + } + ] + } + }, + { + "id": 3389, + "name": "APIApplicationCommandGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 129, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3408, + "name": "APIChatInputApplicationCommandGuildInteraction" + }, + { + "type": "reference", + "id": 3506, + "name": "APIContextMenuGuildInteraction" + } + ] + } + }, + { + "id": 3420, + "name": "APIApplicationCommandIntegerOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/integer.ts", + "line": 26, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "APIApplicationCommandIntegerOptionBase" + }, + { + "type": "reference", + "id": 3448, + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "APIApplicationCommandOptionChoice" + } + ], + "name": "APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper" + } + }, + { + "id": 3387, + "name": "APIApplicationCommandInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 115, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3406, + "name": "APIChatInputApplicationCommandInteraction" + }, + { + "type": "reference", + "id": 3504, + "name": "APIContextMenuInteraction" + } + ] + } + }, + { + "id": 3370, + "name": "APIApplicationCommandInteractionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 83, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3394, + "name": "APIChatInputApplicationCommandInteractionData" + }, + { + "type": "reference", + "id": 3497, + "name": "APIContextMenuInteractionData" + } + ] + } + }, + { + "id": 3410, + "name": "APIApplicationCommandInteractionDataAttachmentOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3447, + "name": "ApplicationCommandOptionType.Attachment" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 3393, + "name": "APIApplicationCommandInteractionDataBasicOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 105, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3453, + "name": "APIApplicationCommandInteractionDataStringOption" + }, + { + "type": "reference", + "id": 3421, + "name": "APIApplicationCommandInteractionDataIntegerOption" + }, + { + "type": "reference", + "id": 3412, + "name": "APIApplicationCommandInteractionDataBooleanOption" + }, + { + "type": "reference", + "id": 3479, + "name": "APIApplicationCommandInteractionDataUserOption" + }, + { + "type": "reference", + "id": 3419, + "name": "APIApplicationCommandInteractionDataChannelOption" + }, + { + "type": "reference", + "id": 3435, + "name": "APIApplicationCommandInteractionDataRoleOption" + }, + { + "type": "reference", + "id": 3427, + "name": "APIApplicationCommandInteractionDataMentionableOption" + }, + { + "type": "reference", + "id": 3429, + "name": "APIApplicationCommandInteractionDataNumberOption" + }, + { + "type": "reference", + "id": 3410, + "name": "APIApplicationCommandInteractionDataAttachmentOption" + } + ] + } + }, + { + "id": 3412, + "name": "APIApplicationCommandInteractionDataBooleanOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3441, + "name": "ApplicationCommandOptionType.Boolean" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 3419, + "name": "APIApplicationCommandInteractionDataChannelOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/channel.ts", + "line": 17, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3443, + "name": "ApplicationCommandOptionType.Channel" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 3427, + "name": "APIApplicationCommandInteractionDataMentionableOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3445, + "name": "ApplicationCommandOptionType.Mentionable" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 3392, + "name": "APIApplicationCommandInteractionDataOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-interaction-data-option-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 97, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3464, + "name": "APIApplicationCommandInteractionDataSubcommandOption" + }, + { + "type": "reference", + "id": 3474, + "name": "APIApplicationCommandInteractionDataSubcommandGroupOption" + }, + { + "type": "reference", + "id": 3393, + "name": "APIApplicationCommandInteractionDataBasicOption" + } + ] + } + }, + { + "id": 3435, + "name": "APIApplicationCommandInteractionDataRoleOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/role.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3444, + "name": "ApplicationCommandOptionType.Role" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 3479, + "name": "APIApplicationCommandInteractionDataUserOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/user.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3442, + "name": "ApplicationCommandOptionType.User" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 3385, + "name": "APIApplicationCommandInteractionWrapper", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/applicationCommands.ts", + "line": 107, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 3386, + "name": "Data", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 3370, + "name": "APIApplicationCommandInteractionData" + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 3541, + "typeArguments": [ + { + "type": "reference", + "id": 3590, + "name": "InteractionType.ApplicationCommand" + }, + { + "type": "reference", + "id": 3386, + "name": "Data" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3541, + "typeArguments": [ + { + "type": "reference", + "id": 3590, + "name": "InteractionType.ApplicationCommand" + }, + { + "type": "reference", + "id": 3386, + "name": "Data" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "channel_id" + }, + { + "type": "literal", + "value": "data" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 3426, + "name": "APIApplicationCommandMentionableOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3445, + "name": "ApplicationCommandOptionType.Mentionable" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 3428, + "name": "APIApplicationCommandNumberOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/number.ts", + "line": 26, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "APIApplicationCommandNumberOptionBase" + }, + { + "type": "reference", + "id": 3448, + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "APIApplicationCommandOptionChoice" + } + ], + "name": "APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper" + } + }, + { + "id": 3391, + "name": "APIApplicationCommandOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 88, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3458, + "name": "APIApplicationCommandSubcommandOption" + }, + { + "type": "reference", + "id": 3468, + "name": "APIApplicationCommandSubcommandGroupOption" + }, + { + "type": "reference", + "id": 3390, + "name": "APIApplicationCommandBasicOption" + } + ] + } + }, + { + "id": 3434, + "name": "APIApplicationCommandRoleOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/role.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3444, + "name": "ApplicationCommandOptionType.Role" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 3452, + "name": "APIApplicationCommandStringOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/string.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3439, + "name": "ApplicationCommandOptionType.String" + } + ], + "name": "APIApplicationCommandOptionBase" + }, + { + "type": "reference", + "id": 3448, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "APIApplicationCommandOptionChoice" + } + ], + "name": "APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper" + } + }, + { + "id": 3478, + "name": "APIApplicationCommandUserOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/_chatInput/user.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3442, + "name": "ApplicationCommandOptionType.User" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 2570, + "name": "APIAuditLogChange", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-change-object-audit-log-change-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 268, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2571, + "name": "APIAuditLogChangeKeyName" + }, + { + "type": "reference", + "id": 2572, + "name": "APIAuditLogChangeKeyDescription" + }, + { + "type": "reference", + "id": 2573, + "name": "APIAuditLogChangeKeyIconHash" + }, + { + "type": "reference", + "id": 2574, + "name": "APIAuditLogChangeKeySplashHash" + }, + { + "type": "reference", + "id": 2575, + "name": "APIAuditLogChangeKeyDiscoverySplashHash" + }, + { + "type": "reference", + "id": 2576, + "name": "APIAuditLogChangeKeyBannerHash" + }, + { + "type": "reference", + "id": 2577, + "name": "APIAuditLogChangeKeyOwnerId" + }, + { + "type": "reference", + "id": 2578, + "name": "APIAuditLogChangeKeyRegion" + }, + { + "type": "reference", + "id": 2579, + "name": "APIAuditLogChangeKeyPreferredLocale" + }, + { + "type": "reference", + "id": 2580, + "name": "APIAuditLogChangeKeyAFKChannelId" + }, + { + "type": "reference", + "id": 2581, + "name": "APIAuditLogChangeKeyAFKTimeout" + }, + { + "type": "reference", + "id": 2582, + "name": "APIAuditLogChangeKeyRulesChannelId" + }, + { + "type": "reference", + "id": 2583, + "name": "APIAuditLogChangeKeyPublicUpdatesChannelId" + }, + { + "type": "reference", + "id": 2584, + "name": "APIAuditLogChangeKeyMFALevel" + }, + { + "type": "reference", + "id": 2585, + "name": "APIAuditLogChangeKeyVerificationLevel" + }, + { + "type": "reference", + "id": 2586, + "name": "APIAuditLogChangeKeyExplicitContentFilter" + }, + { + "type": "reference", + "id": 2587, + "name": "APIAuditLogChangeKeyDefaultMessageNotifications" + }, + { + "type": "reference", + "id": 2588, + "name": "APIAuditLogChangeKeyVanityURLCode" + }, + { + "type": "reference", + "id": 2589, + "name": "APIAuditLogChangeKey$Add" + }, + { + "type": "reference", + "id": 2590, + "name": "APIAuditLogChangeKey$Remove" + }, + { + "type": "reference", + "id": 2591, + "name": "APIAuditLogChangeKeyPruneDeleteDays" + }, + { + "type": "reference", + "id": 2592, + "name": "APIAuditLogChangeKeyWidgetEnabled" + }, + { + "type": "reference", + "id": 2593, + "name": "APIAuditLogChangeKeyWidgetChannelId" + }, + { + "type": "reference", + "id": 2594, + "name": "APIAuditLogChangeKeySystemChannelId" + }, + { + "type": "reference", + "id": 2595, + "name": "APIAuditLogChangeKeyPosition" + }, + { + "type": "reference", + "id": 2596, + "name": "APIAuditLogChangeKeyTopic" + }, + { + "type": "reference", + "id": 2597, + "name": "APIAuditLogChangeKeyBitrate" + }, + { + "type": "reference", + "id": 2598, + "name": "APIAuditLogChangeKeyPermissionOverwrites" + }, + { + "type": "reference", + "id": 2599, + "name": "APIAuditLogChangeKeyNSFW" + }, + { + "type": "reference", + "id": 2600, + "name": "APIAuditLogChangeKeyApplicationId" + }, + { + "type": "reference", + "id": 2601, + "name": "APIAuditLogChangeKeyRateLimitPerUser" + }, + { + "type": "reference", + "id": 2602, + "name": "APIAuditLogChangeKeyPermissions" + }, + { + "type": "reference", + "id": 2603, + "name": "APIAuditLogChangeKeyColor" + }, + { + "type": "reference", + "id": 2604, + "name": "APIAuditLogChangeKeyHoist" + }, + { + "type": "reference", + "id": 2605, + "name": "APIAuditLogChangeKeyMentionable" + }, + { + "type": "reference", + "id": 2606, + "name": "APIAuditLogChangeKeyAllow" + }, + { + "type": "reference", + "id": 2607, + "name": "APIAuditLogChangeKeyDeny" + }, + { + "type": "reference", + "id": 2608, + "name": "APIAuditLogChangeKeyCode" + }, + { + "type": "reference", + "id": 2609, + "name": "APIAuditLogChangeKeyChannelId" + }, + { + "type": "reference", + "id": 2610, + "name": "APIAuditLogChangeKeyInviterId" + }, + { + "type": "reference", + "id": 2611, + "name": "APIAuditLogChangeKeyMaxUses" + }, + { + "type": "reference", + "id": 2612, + "name": "APIAuditLogChangeKeyUses" + }, + { + "type": "reference", + "id": 2613, + "name": "APIAuditLogChangeKeyMaxAge" + }, + { + "type": "reference", + "id": 2614, + "name": "APIAuditLogChangeKeyTemporary" + }, + { + "type": "reference", + "id": 2615, + "name": "APIAuditLogChangeKeyDeaf" + }, + { + "type": "reference", + "id": 2616, + "name": "APIAuditLogChangeKeyMute" + }, + { + "type": "reference", + "id": 2617, + "name": "APIAuditLogChangeKeyNick" + }, + { + "type": "reference", + "id": 2618, + "name": "APIAuditLogChangeKeyAvatarHash" + }, + { + "type": "reference", + "id": 2619, + "name": "APIAuditLogChangeKeyId" + }, + { + "type": "reference", + "id": 2620, + "name": "APIAuditLogChangeKeyType" + }, + { + "type": "reference", + "id": 2621, + "name": "APIAuditLogChangeKeyEnableEmoticons" + }, + { + "type": "reference", + "id": 2622, + "name": "APIAuditLogChangeKeyExpireBehavior" + }, + { + "type": "reference", + "id": 2623, + "name": "APIAuditLogChangeKeyExpireGracePeriod" + }, + { + "type": "reference", + "id": 2624, + "name": "APIAuditLogChangeKeyUserLimit" + }, + { + "type": "reference", + "id": 2625, + "name": "APIAuditLogChangeKeyPrivacyLevel" + }, + { + "type": "reference", + "id": 2626, + "name": "APIAuditLogChangeKeyTags" + }, + { + "type": "reference", + "id": 2627, + "name": "APIAuditLogChangeKeyFormatType" + }, + { + "type": "reference", + "id": 2628, + "name": "APIAuditLogChangeKeyAsset" + }, + { + "type": "reference", + "id": 2629, + "name": "APIAuditLogChangeKeyAvailable" + }, + { + "type": "reference", + "id": 2630, + "name": "APIAuditLogChangeKeyGuildId" + }, + { + "type": "reference", + "id": 2631, + "name": "APIAuditLogChangeKeyEntityType" + }, + { + "type": "reference", + "id": 2632, + "name": "APIAuditLogChangeKeyStatus" + }, + { + "type": "reference", + "id": 2633, + "name": "APIAuditLogChangeKeyLocation" + }, + { + "type": "reference", + "id": 2634, + "name": "APIAuditLogChangeKeyCommunicationDisabledUntil" + } + ] + } + }, + { + "id": 2589, + "name": "APIAuditLogChangeKey$Add", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when new role(s) are added", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 452, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "$add" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 3688, + "name": "APIRole" + } + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2590, + "name": "APIAuditLogChangeKey$Remove", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when role(s) are removed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 458, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "$remove" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 3688, + "name": "APIRole" + } + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2580, + "name": "APIAuditLogChangeKeyAFKChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's afk_channel_id is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 392, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "afk_channel_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2581, + "name": "APIAuditLogChangeKeyAFKTimeout", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's afk_timeout is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 398, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "afk_timeout" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2606, + "name": "APIAuditLogChangeKeyAllow", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an overwrite's allowed permissions bitfield is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 555, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "allow" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2600, + "name": "APIAuditLogChangeKeyApplicationId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "The application ID of the added or removed Webhook or Bot", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 518, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "application_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2628, + "name": "APIAuditLogChangeKeyAsset", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Empty string", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 687, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "asset" + }, + { + "type": "literal", + "value": "" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2629, + "name": "APIAuditLogChangeKeyAvailable", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a sticker's availability is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 693, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "available" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2618, + "name": "APIAuditLogChangeKeyAvatarHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's avatar_hash is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 627, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "avatar_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2576, + "name": "APIAuditLogChangeKeyBannerHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's banner hash is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 368, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "banner_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2597, + "name": "APIAuditLogChangeKeyBitrate", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a voice channel's bitrate is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 500, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "bitrate" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2609, + "name": "APIAuditLogChangeKeyChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's or guild scheduled event's channel_id is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 573, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "channel_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2608, + "name": "APIAuditLogChangeKeyCode", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's code is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 567, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "code" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2603, + "name": "APIAuditLogChangeKeyColor", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a role's color is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 537, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "color" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2634, + "name": "APIAuditLogChangeKeyCommunicationDisabledUntil", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's timeout is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 723, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "communication_disabled_until" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2615, + "name": "APIAuditLogChangeKeyDeaf", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's deaf status is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 609, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "deaf" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2587, + "name": "APIAuditLogChangeKeyDefaultMessageNotifications", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's default_message_notifications is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 437, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "default_message_notifications" + }, + { + "type": "reference", + "id": 3123, + "name": "GuildDefaultMessageNotifications" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2607, + "name": "APIAuditLogChangeKeyDeny", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an overwrite's denied permissions bitfield is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 561, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "deny" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2572, + "name": "APIAuditLogChangeKeyDescription", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's or sticker's or guild scheduled event's description is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 344, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "description" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2575, + "name": "APIAuditLogChangeKeyDiscoverySplashHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's discovery splash is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 362, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "discovery_splash_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2621, + "name": "APIAuditLogChangeKeyEnableEmoticons", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an integration's enable_emoticons is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 645, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "enable_emoticons" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2631, + "name": "APIAuditLogChangeKeyEntityType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when entity type of a guild scheduled event is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 705, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "entity_type" + }, + { + "type": "reference", + "id": 3338, + "name": "GuildScheduledEventEntityType" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2622, + "name": "APIAuditLogChangeKeyExpireBehavior", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an integration's expire_behavior is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 651, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "expire_behavior" + }, + { + "type": "reference", + "id": 3222, + "name": "IntegrationExpireBehavior" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2623, + "name": "APIAuditLogChangeKeyExpireGracePeriod", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an integration's expire_grace_period is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 657, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "expire_grace_period" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2586, + "name": "APIAuditLogChangeKeyExplicitContentFilter", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's explicit_content_filter is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 428, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "explicit_content_filter" + }, + { + "type": "reference", + "id": 3126, + "name": "GuildExplicitContentFilter" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2627, + "name": "APIAuditLogChangeKeyFormatType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a sticker's format_type is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 681, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "format_type" + }, + { + "type": "reference", + "id": 3735, + "name": "StickerFormatType" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2630, + "name": "APIAuditLogChangeKeyGuildId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a sticker's guild_id is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 699, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "guild_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2604, + "name": "APIAuditLogChangeKeyHoist", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a role's hoist status is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 543, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "hoist" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2573, + "name": "APIAuditLogChangeKeyIconHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's icon is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 350, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "icon_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2619, + "name": "APIAuditLogChangeKeyId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "The ID of the changed entity - sometimes used in conjunction with other keys", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 633, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2610, + "name": "APIAuditLogChangeKeyInviterId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's inviter_id is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 579, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "inviter_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2633, + "name": "APIAuditLogChangeKeyLocation", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when location of a guild scheduled event is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 717, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "location" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2584, + "name": "APIAuditLogChangeKeyMFALevel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's mfa_level is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 416, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "mfa_level" + }, + { + "type": "reference", + "id": 3130, + "name": "GuildMFALevel" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2613, + "name": "APIAuditLogChangeKeyMaxAge", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's max_age is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 597, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "max_age" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2611, + "name": "APIAuditLogChangeKeyMaxUses", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's max_uses is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 585, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "max_uses" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2605, + "name": "APIAuditLogChangeKeyMentionable", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a role's mentionable status is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 549, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "mentionable" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2616, + "name": "APIAuditLogChangeKeyMute", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's mute status is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 615, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "mute" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2599, + "name": "APIAuditLogChangeKeyNSFW", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's NSFW restriction is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 512, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "nsfw" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2571, + "name": "APIAuditLogChangeKeyName", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an entity's name is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 338, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "name" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2617, + "name": "APIAuditLogChangeKeyNick", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's nick is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 621, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "nick" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2577, + "name": "APIAuditLogChangeKeyOwnerId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's owner_id is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 374, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "owner_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2598, + "name": "APIAuditLogChangeKeyPermissionOverwrites", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's permission overwrites is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 506, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "permission_overwrites" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 2810, + "name": "APIOverwrite" + } + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2602, + "name": "APIAuditLogChangeKeyPermissions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a permission bitfield is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 531, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "permissions" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2595, + "name": "APIAuditLogChangeKeyPosition", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's position is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 488, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "position" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2579, + "name": "APIAuditLogChangeKeyPreferredLocale", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's preferred_locale is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 386, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "preferred_locale" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2625, + "name": "APIAuditLogChangeKeyPrivacyLevel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when privacy level of a stage instance or guild scheduled event is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 669, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "privacy_level" + }, + { + "type": "reference", + "id": 3711, + "name": "StageInstancePrivacyLevel" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2591, + "name": "APIAuditLogChangeKeyPruneDeleteDays", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when there is a change in number of days after which inactive and role-unassigned members are kicked", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 464, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "prune_delete_days" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2583, + "name": "APIAuditLogChangeKeyPublicUpdatesChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's public_updates_channel_id is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 410, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "public_updates_channel_id" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2601, + "name": "APIAuditLogChangeKeyRateLimitPerUser", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's amount of seconds a user has to wait before sending another message\nis changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 525, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "rate_limit_per_user" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2578, + "name": "APIAuditLogChangeKeyRegion", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's region is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 380, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "region" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2582, + "name": "APIAuditLogChangeKeyRulesChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's rules_channel_id is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 404, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "rules_channel_id" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2574, + "name": "APIAuditLogChangeKeySplashHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's splash is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 356, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "splash_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2632, + "name": "APIAuditLogChangeKeyStatus", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when status of a guild scheduled event is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 711, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "status" + }, + { + "type": "reference", + "id": 3342, + "name": "GuildScheduledEventStatus" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2594, + "name": "APIAuditLogChangeKeySystemChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's system_channel_id is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 482, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "system_channel_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2626, + "name": "APIAuditLogChangeKeyTags", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a sticker's related emoji is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 675, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "tags" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2614, + "name": "APIAuditLogChangeKeyTemporary", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's temporary status is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 603, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "temporary" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2596, + "name": "APIAuditLogChangeKeyTopic", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's topic is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 494, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "topic" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2620, + "name": "APIAuditLogChangeKeyType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "The type of entity created", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 639, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "type" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2624, + "name": "APIAuditLogChangeKeyUserLimit", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a voice channel's user_limit is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 663, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "user_limit" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2612, + "name": "APIAuditLogChangeKeyUses", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's uses is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 591, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "uses" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2588, + "name": "APIAuditLogChangeKeyVanityURLCode", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's vanity_url_code is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 446, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "vanity_url_code" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2585, + "name": "APIAuditLogChangeKeyVerificationLevel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's verification_level is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 422, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "verification_level" + }, + { + "type": "reference", + "id": 3138, + "name": "GuildVerificationLevel" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2593, + "name": "APIAuditLogChangeKeyWidgetChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's widget_channel_id is changed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 476, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "widget_channel_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2592, + "name": "APIAuditLogChangeKeyWidgetEnabled", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's widget is enabled", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/auditLog.ts", + "line": 470, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "widget_enabled" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 2924, + "name": "APIButtonComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1164, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2910, + "name": "APIButtonComponentWithCustomId" + }, + { + "type": "reference", + "id": 2917, + "name": "APIButtonComponentWithURL" + } + ] + } + }, + { + "id": 2715, + "name": "APIChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-object-channel-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 217, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2706, + "name": "APIGroupDMChannel" + }, + { + "type": "reference", + "id": 2705, + "name": "APIDMChannel" + }, + { + "type": "reference", + "id": 2676, + "name": "APITextChannel" + }, + { + "type": "reference", + "id": 2689, + "name": "APINewsChannel" + }, + { + "type": "reference", + "id": 2691, + "name": "APIGuildStoreChannel" + }, + { + "type": "reference", + "id": 2692, + "name": "APIVoiceChannel" + }, + { + "type": "reference", + "id": 2690, + "name": "APIGuildCategoryChannel" + }, + { + "type": "reference", + "id": 2689, + "name": "APINewsChannel" + } + ] + } + }, + { + "id": 3407, + "name": "APIChatInputApplicationCommandDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 149, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3557, + "typeArguments": [ + { + "type": "reference", + "id": 3406, + "name": "APIChatInputApplicationCommandInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 3408, + "name": "APIChatInputApplicationCommandGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 156, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3559, + "typeArguments": [ + { + "type": "reference", + "id": 3406, + "name": "APIChatInputApplicationCommandInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 3406, + "name": "APIChatInputApplicationCommandInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/chatInput.ts", + "line": 142, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3385, + "typeArguments": [ + { + "type": "reference", + "id": 3394, + "name": "APIChatInputApplicationCommandInteractionData" + } + ], + "name": "APIApplicationCommandInteractionWrapper" + } + }, + { + "id": 3505, + "name": "APIContextMenuDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 108, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3499, + "name": "APIUserApplicationCommandDMInteraction" + }, + { + "type": "reference", + "id": 3502, + "name": "APIMessageApplicationCommandDMInteraction" + } + ] + } + }, + { + "id": 3506, + "name": "APIContextMenuGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 116, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3500, + "name": "APIUserApplicationCommandGuildInteraction" + }, + { + "type": "reference", + "id": 3503, + "name": "APIMessageApplicationCommandGuildInteraction" + } + ] + } + }, + { + "id": 3504, + "name": "APIContextMenuInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 102, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3498, + "name": "APIUserApplicationCommandInteraction" + }, + { + "type": "reference", + "id": 3501, + "name": "APIMessageApplicationCommandInteraction" + } + ] + } + }, + { + "id": 3497, + "name": "APIContextMenuInteractionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 53, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3480, + "name": "APIUserApplicationCommandInteractionData" + }, + { + "type": "reference", + "id": 3489, + "name": "APIMessageApplicationCommandInteractionData" + } + ] + } + }, + { + "id": 2705, + "name": "APIDMChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 189, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2718, + "name": "ChannelType.DM" + } + ], + "name": "APIDMChannelBase" + } + }, + { + "id": 3354, + "name": "APIDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/interactions.ts", + "line": 46, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3388, + "name": "APIApplicationCommandDMInteraction" + }, + { + "type": "reference", + "id": 3572, + "name": "APIMessageComponentDMInteraction" + }, + { + "type": "reference", + "id": 3520, + "name": "APIApplicationCommandAutocompleteDMInteraction" + }, + { + "type": "reference", + "id": 3585, + "name": "APIModalSubmitDMInteraction" + } + ] + } + }, + { + "id": 3557, + "name": "APIDMInteractionWrapper", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 126, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 3558, + "name": "Original", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 3541, + "typeArguments": [ + { + "type": "reference", + "id": 3588, + "name": "InteractionType" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "APIBaseInteraction" + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3558, + "name": "Original" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "member" + }, + { + "type": "literal", + "value": "guild_id" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3558, + "name": "Original" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 2690, + "name": "APIGuildCategoryChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 141, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2652, + "typeArguments": [ + { + "type": "reference", + "id": 2721, + "name": "ChannelType.GuildCategory" + } + ], + "name": "APIGuildChannel" + } + }, + { + "id": 4301, + "name": "APIGuildChannelResolvable", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 44, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2715, + "name": "APIChannel" + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2705, + "name": "APIDMChannel" + }, + { + "type": "reference", + "id": 2706, + "name": "APIGroupDMChannel" + } + ] + } + ], + "qualifiedName": "Exclude", + "package": "typescript", + "name": "Exclude" + } + }, + { + "id": 4302, + "name": "APIGuildCreatePartialChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 49, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4301, + "name": "APIGuildChannelResolvable" + } + ], + "name": "UnionToIntersection" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "type" + }, + { + "type": "literal", + "value": "topic" + }, + { + "type": "literal", + "value": "nsfw" + }, + { + "type": "literal", + "value": "bitrate" + }, + { + "type": "literal", + "value": "user_limit" + }, + { + "type": "literal", + "value": "rate_limit_per_user" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "name": "StrictPartial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4303, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4305, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 4304, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4306, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 58, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4307, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 59, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 4296, + "name": "APIGuildCreateOverwrite" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4305, + 4304, + 4306, + 4307 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 55, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 3355, + "name": "APIGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/interactions.ts", + "line": 56, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3389, + "name": "APIApplicationCommandGuildInteraction" + }, + { + "type": "reference", + "id": 3573, + "name": "APIMessageComponentGuildInteraction" + }, + { + "type": "reference", + "id": 3521, + "name": "APIApplicationCommandAutocompleteGuildInteraction" + }, + { + "type": "reference", + "id": 3586, + "name": "APIModalSubmitGuildInteraction" + } + ] + } + }, + { + "id": 3221, + "name": "APIGuildInteractionType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/guild.ts", + "line": 777, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "twitch" + }, + { + "type": "literal", + "value": "youtube" + }, + { + "type": "literal", + "value": "discord" + } + ] + } + }, + { + "id": 3559, + "name": "APIGuildInteractionWrapper", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 135, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 3560, + "name": "Original", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 3541, + "typeArguments": [ + { + "type": "reference", + "id": 3588, + "name": "InteractionType" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "APIBaseInteraction" + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3560, + "name": "Original" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3560, + "name": "Original" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "member" + }, + { + "type": "literal", + "value": "guild_id" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 3335, + "name": "APIGuildScheduledEvent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/guildScheduledEvent.ts", + "line": 105, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3284, + "name": "APIStageInstanceGuildScheduledEvent" + }, + { + "type": "reference", + "id": 3301, + "name": "APIVoiceGuildScheduledEvent" + }, + { + "type": "reference", + "id": 3318, + "name": "APIExternalGuildScheduledEvent" + } + ] + } + }, + { + "id": 2691, + "name": "APIGuildStoreChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 146, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2652, + "typeArguments": [ + { + "type": "reference", + "id": 2723, + "name": "ChannelType.GuildStore" + } + ], + "name": "APIGuildChannel" + } + }, + { + "id": 3353, + "name": "APIInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/interactions.ts", + "line": 35, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3587, + "name": "APIPingInteraction" + }, + { + "type": "reference", + "id": 3387, + "name": "APIApplicationCommandInteraction" + }, + { + "type": "reference", + "id": 3561, + "name": "APIMessageComponentInteraction" + }, + { + "type": "reference", + "id": 3519, + "name": "APIApplicationCommandAutocompleteInteraction" + }, + { + "type": "reference", + "id": 3584, + "name": "APIModalSubmitInteraction" + } + ] + } + }, + { + "id": 3594, + "name": "APIInteractionResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 22, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3595, + "name": "APIInteractionResponsePong" + }, + { + "type": "reference", + "id": 3603, + "name": "APIInteractionResponseChannelMessageWithSource" + }, + { + "type": "reference", + "id": 3606, + "name": "APIInteractionResponseDeferredChannelMessageWithSource" + }, + { + "type": "reference", + "id": 3609, + "name": "APIInteractionResponseDeferredMessageUpdate" + }, + { + "type": "reference", + "id": 3611, + "name": "APIInteractionResponseUpdateMessage" + }, + { + "type": "reference", + "id": 3597, + "name": "APIApplicationCommandAutocompleteResponse" + }, + { + "type": "reference", + "id": 3600, + "name": "APIModalInteractionResponse" + } + ] + } + }, + { + "id": 3622, + "name": "APIInteractionResponseCallbackData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-data-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 124, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4745, + "name": "RESTPostAPIWebhookWithTokenJSONBody" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "username" + }, + { + "type": "literal", + "value": "avatar_url" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reflection", + "declaration": { + "id": 3623, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 3624, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 127, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 2795, + "name": "MessageFlags" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 3624 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v8/_interactions/responses.ts", + "line": 127, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 3631, + "name": "APIInviteGuild", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v8/invite.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3071, + "name": "APIGuild" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "name" + }, + { + "type": "literal", + "value": "splash" + }, + { + "type": "literal", + "value": "banner" + }, + { + "type": "literal", + "value": "icon" + }, + { + "type": "literal", + "value": "vanity_url_code" + }, + { + "type": "literal", + "value": "description" + }, + { + "type": "literal", + "value": "features" + }, + { + "type": "literal", + "value": "verification_level" + }, + { + "type": "literal", + "value": "nsfw_level" + }, + { + "type": "literal", + "value": "premium_subscription_count" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 2961, + "name": "APIMessageActionRowComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#message-components", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1309, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2924, + "name": "APIButtonComponent" + }, + { + "type": "reference", + "id": 2934, + "name": "APISelectMenuComponent" + } + ] + } + }, + { + "id": 3502, + "name": "APIMessageApplicationCommandDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 88, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3557, + "typeArguments": [ + { + "type": "reference", + "id": 3501, + "name": "APIMessageApplicationCommandInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 3503, + "name": "APIMessageApplicationCommandGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 95, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3559, + "typeArguments": [ + { + "type": "reference", + "id": 3501, + "name": "APIMessageApplicationCommandInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 3501, + "name": "APIMessageApplicationCommandInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 81, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3385, + "typeArguments": [ + { + "type": "reference", + "id": 3489, + "name": "APIMessageApplicationCommandInteractionData" + } + ], + "name": "APIApplicationCommandInteractionWrapper" + } + }, + { + "id": 3567, + "name": "APIMessageButtonInteractionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/messageComponents.ts", + "line": 41, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3563, + "typeArguments": [ + { + "type": "reference", + "id": 2899, + "name": "ComponentType.Button" + } + ], + "name": "APIMessageComponentBaseInteractionData" + } + }, + { + "id": 2958, + "name": "APIMessageComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#message-components", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1294, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2961, + "name": "APIMessageActionRowComponent" + }, + { + "type": "reference", + "id": 2902, + "typeArguments": [ + { + "type": "reference", + "id": 2961, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + ] + } + }, + { + "id": 3572, + "name": "APIMessageComponentDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/messageComponents.ts", + "line": 54, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3557, + "typeArguments": [ + { + "type": "reference", + "id": 3561, + "name": "APIMessageComponentInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 3573, + "name": "APIMessageComponentGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/messageComponents.ts", + "line": 59, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3559, + "typeArguments": [ + { + "type": "reference", + "id": 3561, + "name": "APIMessageComponentInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 3561, + "name": "APIMessageComponentInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/messageComponents.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 3541, + "typeArguments": [ + { + "type": "reference", + "id": 3591, + "name": "InteractionType.MessageComponent" + }, + { + "type": "reference", + "id": 3562, + "name": "APIMessageComponentInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3541, + "typeArguments": [ + { + "type": "reference", + "id": 3591, + "name": "InteractionType.MessageComponent" + }, + { + "type": "reference", + "id": 3562, + "name": "APIMessageComponentInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "channel_id" + }, + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "message" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 3562, + "name": "APIMessageComponentInteractionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/messageComponents.ts", + "line": 22, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3567, + "name": "APIMessageButtonInteractionData" + }, + { + "type": "reference", + "id": 3568, + "name": "APIMessageSelectMenuInteractionData" + } + ] + } + }, + { + "id": 4203, + "name": "APIMessageReferenceSend", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-reference-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 171, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2786, + "name": "APIMessageReference" + } + ], + "name": "StrictPartial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2786, + "name": "APIMessageReference" + }, + { + "type": "literal", + "value": "message_id" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4204, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4205, + "name": "fail_if_not_exists", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message", + "tags": [ + { + "tag": "default", + "text": "true\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 179, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4205 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 173, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 2962, + "name": "APIModalActionRowComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1315, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2948, + "name": "APITextInputComponent" + } + }, + { + "id": 2959, + "name": "APIModalComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 1298, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2962, + "name": "APIModalActionRowComponent" + }, + { + "type": "reference", + "id": 2902, + "typeArguments": [ + { + "type": "reference", + "id": 2962, + "name": "APIModalActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + ] + } + }, + { + "id": 3585, + "name": "APIModalSubmitDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/modalSubmit.ts", + "line": 52, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3557, + "typeArguments": [ + { + "type": "reference", + "id": 3584, + "name": "APIModalSubmitInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 3586, + "name": "APIModalSubmitGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/modalSubmit.ts", + "line": 58, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3559, + "typeArguments": [ + { + "type": "reference", + "id": 3584, + "name": "APIModalSubmitInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 3584, + "name": "APIModalSubmitInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/modalSubmit.ts", + "line": 45, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 3541, + "typeArguments": [ + { + "type": "reference", + "id": 3593, + "name": "InteractionType.ModalSubmit" + }, + { + "type": "reference", + "id": 3581, + "name": "APIModalSubmission" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3541, + "typeArguments": [ + { + "type": "reference", + "id": 3593, + "name": "InteractionType.ModalSubmit" + }, + { + "type": "reference", + "id": 3581, + "name": "APIModalSubmission" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 2689, + "name": "APINewsChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 136, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2663, + "typeArguments": [ + { + "type": "reference", + "id": 2722, + "name": "ChannelType.GuildNews" + } + ], + "name": "APIGuildTextChannel" + } + }, + { + "id": 3587, + "name": "APIPingInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/ping.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3541, + "typeArguments": [ + { + "type": "reference", + "id": 3589, + "name": "InteractionType.Ping" + }, + { + "type": "intrinsic", + "name": "never" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "literal", + "value": "locale" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 3739, + "name": "APIStickerItem", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-item-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/sticker.ts", + "line": 97, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3719, + "name": "APISticker" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "name" + }, + { + "type": "literal", + "value": "format_type" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 3499, + "name": "APIUserApplicationCommandDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 68, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3557, + "typeArguments": [ + { + "type": "reference", + "id": 3498, + "name": "APIUserApplicationCommandInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 3500, + "name": "APIUserApplicationCommandGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 74, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3559, + "typeArguments": [ + { + "type": "reference", + "id": 3498, + "name": "APIUserApplicationCommandInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 3498, + "name": "APIUserApplicationCommandInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/_applicationCommands/contextMenu.ts", + "line": 61, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3385, + "typeArguments": [ + { + "type": "reference", + "id": 3480, + "name": "APIUserApplicationCommandInteractionData" + } + ], + "name": "APIApplicationCommandInteractionWrapper" + } + }, + { + "id": 3041, + "name": "GatewayActivityAssets", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-assets", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 299, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "large_image" + }, + { + "type": "literal", + "value": "large_text" + }, + { + "type": "literal", + "value": "small_image" + }, + { + "type": "literal", + "value": "small_text" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 3037, + "name": "GatewayActivityEmoji", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-emoji", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 278, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2967, + "name": "APIEmoji" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "animated" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2967, + "name": "APIEmoji" + }, + { + "type": "literal", + "value": "name" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ] + } + }, + { + "id": 3042, + "name": "GatewayActivitySecrets", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-secrets", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/gateway.ts", + "line": 307, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "join" + }, + { + "type": "literal", + "value": "spectate" + }, + { + "type": "literal", + "value": "match" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 2453, + "name": "GatewayActivityUpdateData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-structure", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1708, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3003, + "name": "GatewayActivity" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "name" + }, + { + "type": "literal", + "value": "type" + }, + { + "type": "literal", + "value": "url" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 2214, + "name": "GatewayChannelCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 462, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2212, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 2215, + "name": "GatewayChannelCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 468, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2213, + "name": "GatewayChannelModifyDispatchData" + } + }, + { + "id": 2218, + "name": "GatewayChannelDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 486, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2212, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 2219, + "name": "GatewayChannelDeleteDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 492, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2213, + "name": "GatewayChannelModifyDispatchData" + } + }, + { + "id": 2212, + "name": "GatewayChannelModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-create\nhttps://discord.com/developers/docs/topics/gateway#channel-update\nhttps://discord.com/developers/docs/topics/gateway#channel-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 445, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2123, + "name": "GatewayDispatchEvents.ChannelCreate" + }, + { + "type": "reference", + "id": 2124, + "name": "GatewayDispatchEvents.ChannelDelete" + }, + { + "type": "reference", + "id": 2126, + "name": "GatewayDispatchEvents.ChannelUpdate" + } + ] + }, + { + "type": "reference", + "id": 2213, + "name": "GatewayChannelModifyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2213, + "name": "GatewayChannelModifyDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-create\nhttps://discord.com/developers/docs/topics/gateway#channel-update\nhttps://discord.com/developers/docs/topics/gateway#channel-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 456, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2715, + "name": "APIChannel" + } + }, + { + "id": 2220, + "name": "GatewayChannelPinsUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-pins-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 498, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2125, + "name": "GatewayDispatchEvents.ChannelPinsUpdate" + }, + { + "type": "reference", + "id": 2221, + "name": "GatewayChannelPinsUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2216, + "name": "GatewayChannelUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 474, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2212, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 2217, + "name": "GatewayChannelUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 480, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2213, + "name": "GatewayChannelModifyDispatchData" + } + }, + { + "id": 2174, + "name": "GatewayDispatchPayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 276, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2212, + "name": "GatewayChannelModifyDispatch" + }, + { + "type": "reference", + "id": 2220, + "name": "GatewayChannelPinsUpdateDispatch" + }, + { + "type": "reference", + "id": 2233, + "name": "GatewayGuildBanModifyDispatch" + }, + { + "type": "reference", + "id": 2231, + "name": "GatewayGuildDeleteDispatch" + }, + { + "type": "reference", + "id": 2241, + "name": "GatewayGuildEmojisUpdateDispatch" + }, + { + "type": "reference", + "id": 2249, + "name": "GatewayGuildIntegrationsUpdateDispatch" + }, + { + "type": "reference", + "id": 2252, + "name": "GatewayGuildMemberAddDispatch" + }, + { + "type": "reference", + "id": 2265, + "name": "GatewayGuildMemberRemoveDispatch" + }, + { + "type": "reference", + "id": 2273, + "name": "GatewayGuildMembersChunkDispatch" + }, + { + "type": "reference", + "id": 2269, + "name": "GatewayGuildMemberUpdateDispatch" + }, + { + "type": "reference", + "id": 2225, + "name": "GatewayGuildModifyDispatch" + }, + { + "type": "reference", + "id": 2290, + "name": "GatewayGuildRoleDeleteDispatch" + }, + { + "type": "reference", + "id": 2282, + "name": "GatewayGuildRoleModifyDispatch" + }, + { + "type": "reference", + "id": 2294, + "name": "GatewayGuildScheduledEventCreateDispatch" + }, + { + "type": "reference", + "id": 2296, + "name": "GatewayGuildScheduledEventUpdateDispatch" + }, + { + "type": "reference", + "id": 2298, + "name": "GatewayGuildScheduledEventDeleteDispatch" + }, + { + "type": "reference", + "id": 2300, + "name": "GatewayGuildScheduledEventUserAddDispatch" + }, + { + "type": "reference", + "id": 2305, + "name": "GatewayGuildScheduledEventUserRemoveDispatch" + }, + { + "type": "reference", + "id": 2245, + "name": "GatewayGuildStickersUpdateDispatch" + }, + { + "type": "reference", + "id": 2310, + "name": "GatewayIntegrationCreateDispatch" + }, + { + "type": "reference", + "id": 2318, + "name": "GatewayIntegrationDeleteDispatch" + }, + { + "type": "reference", + "id": 2314, + "name": "GatewayIntegrationUpdateDispatch" + }, + { + "type": "reference", + "id": 2323, + "name": "GatewayInteractionCreateDispatch" + }, + { + "type": "reference", + "id": 2325, + "name": "GatewayInviteCreateDispatch" + }, + { + "type": "reference", + "id": 2339, + "name": "GatewayInviteDeleteDispatch" + }, + { + "type": "reference", + "id": 2344, + "name": "GatewayMessageCreateDispatch" + }, + { + "type": "reference", + "id": 2356, + "name": "GatewayMessageDeleteBulkDispatch" + }, + { + "type": "reference", + "id": 2351, + "name": "GatewayMessageDeleteDispatch" + }, + { + "type": "reference", + "id": 2361, + "name": "GatewayMessageReactionAddDispatch" + }, + { + "type": "reference", + "id": 2365, + "name": "GatewayMessageReactionRemoveAllDispatch" + }, + { + "type": "reference", + "id": 2363, + "name": "GatewayMessageReactionRemoveDispatch" + }, + { + "type": "reference", + "id": 2367, + "name": "GatewayMessageReactionRemoveEmojiDispatch" + }, + { + "type": "reference", + "id": 2346, + "name": "GatewayMessageUpdateDispatch" + }, + { + "type": "reference", + "id": 2373, + "name": "GatewayPresenceUpdateDispatch" + }, + { + "type": "reference", + "id": 2375, + "name": "GatewayStageInstanceCreateDispatch" + }, + { + "type": "reference", + "id": 2377, + "name": "GatewayStageInstanceDeleteDispatch" + }, + { + "type": "reference", + "id": 2379, + "name": "GatewayStageInstanceUpdateDispatch" + }, + { + "type": "reference", + "id": 2203, + "name": "GatewayReadyDispatch" + }, + { + "type": "reference", + "id": 2211, + "name": "GatewayResumedDispatch" + }, + { + "type": "reference", + "id": 2381, + "name": "GatewayTypingStartDispatch" + }, + { + "type": "reference", + "id": 2388, + "name": "GatewayUserUpdateDispatch" + }, + { + "type": "reference", + "id": 2392, + "name": "GatewayVoiceServerUpdateDispatch" + }, + { + "type": "reference", + "id": 2390, + "name": "GatewayVoiceStateUpdateDispatch" + }, + { + "type": "reference", + "id": 2397, + "name": "GatewayWebhooksUpdateDispatch" + } + ] + } + }, + { + "id": 2237, + "name": "GatewayGuildBanAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-add", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 607, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2233, + "name": "GatewayGuildBanModifyDispatch" + } + }, + { + "id": 2238, + "name": "GatewayGuildBanAddDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-add", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 613, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2234, + "name": "GatewayGuildBanModifyDispatchData" + } + }, + { + "id": 2233, + "name": "GatewayGuildBanModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-add\nhttps://discord.com/developers/docs/topics/gateway#guild-ban-remove", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 580, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2127, + "name": "GatewayDispatchEvents.GuildBanAdd" + }, + { + "type": "reference", + "id": 2128, + "name": "GatewayDispatchEvents.GuildBanRemove" + } + ] + }, + { + "type": "reference", + "id": 2234, + "name": "GatewayGuildBanModifyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2239, + "name": "GatewayGuildBanRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-remove", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 619, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2233, + "name": "GatewayGuildBanModifyDispatch" + } + }, + { + "id": 2240, + "name": "GatewayGuildBanRemoveDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-remove", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 625, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2234, + "name": "GatewayGuildBanModifyDispatchData" + } + }, + { + "id": 2227, + "name": "GatewayGuildCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 543, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2225, + "name": "GatewayGuildModifyDispatch" + } + }, + { + "id": 2228, + "name": "GatewayGuildCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 549, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2226, + "name": "GatewayGuildModifyDispatchData" + } + }, + { + "id": 2231, + "name": "GatewayGuildDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 567, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2130, + "name": "GatewayDispatchEvents.GuildDelete" + }, + { + "type": "reference", + "id": 2232, + "name": "GatewayGuildDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2232, + "name": "GatewayGuildDeleteDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 573, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3056, + "name": "APIUnavailableGuild" + } + }, + { + "id": 2241, + "name": "GatewayGuildEmojisUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-emojis-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 631, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2131, + "name": "GatewayDispatchEvents.GuildEmojisUpdate" + }, + { + "type": "reference", + "id": 2242, + "name": "GatewayGuildEmojisUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2249, + "name": "GatewayGuildIntegrationsUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-integrations-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 683, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2132, + "name": "GatewayDispatchEvents.GuildIntegrationsUpdate" + }, + { + "type": "reference", + "id": 2250, + "name": "GatewayGuildIntegrationsUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2252, + "name": "GatewayGuildMemberAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-add", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 703, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2133, + "name": "GatewayDispatchEvents.GuildMemberAdd" + }, + { + "type": "reference", + "id": 2253, + "name": "GatewayGuildMemberAddDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2265, + "name": "GatewayGuildMemberRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-remove", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 723, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2134, + "name": "GatewayDispatchEvents.GuildMemberRemove" + }, + { + "type": "reference", + "id": 2266, + "name": "GatewayGuildMemberRemoveDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2269, + "name": "GatewayGuildMemberUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 749, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2136, + "name": "GatewayDispatchEvents.GuildMemberUpdate" + }, + { + "type": "reference", + "id": 2270, + "name": "GatewayGuildMemberUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2270, + "name": "GatewayGuildMemberUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 758, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "deaf" + }, + { + "type": "literal", + "value": "mute" + }, + { + "type": "literal", + "value": "user" + }, + { + "type": "literal", + "value": "joined_at" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "deaf" + }, + { + "type": "literal", + "value": "mute" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + }, + { + "type": "literal", + "value": "joined_at" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "name": "Nullable" + }, + { + "type": "reflection", + "declaration": { + "id": 2271, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 2272, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 765, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2272 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 761, + "character": 47 + } + ] + } + } + ] + } + }, + { + "id": 2273, + "name": "GatewayGuildMembersChunkDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-members-chunk", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 772, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2135, + "name": "GatewayDispatchEvents.GuildMembersChunk" + }, + { + "type": "reference", + "id": 2274, + "name": "GatewayGuildMembersChunkDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2225, + "name": "GatewayGuildModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-create\nhttps://discord.com/developers/docs/topics/gateway#guild-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 527, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2129, + "name": "GatewayDispatchEvents.GuildCreate" + }, + { + "type": "reference", + "id": 2141, + "name": "GatewayDispatchEvents.GuildUpdate" + } + ] + }, + { + "type": "reference", + "id": 2226, + "name": "GatewayGuildModifyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2226, + "name": "GatewayGuildModifyDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-create\nhttps://discord.com/developers/docs/topics/gateway#guild-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 537, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3071, + "name": "APIGuild" + } + }, + { + "id": 2286, + "name": "GatewayGuildRoleCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 850, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2282, + "name": "GatewayGuildRoleModifyDispatch" + } + }, + { + "id": 2287, + "name": "GatewayGuildRoleCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 856, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2283, + "name": "GatewayGuildRoleModifyDispatchData" + } + }, + { + "id": 2290, + "name": "GatewayGuildRoleDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 874, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2138, + "name": "GatewayDispatchEvents.GuildRoleDelete" + }, + { + "type": "reference", + "id": 2291, + "name": "GatewayGuildRoleDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2282, + "name": "GatewayGuildRoleModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-create\nhttps://discord.com/developers/docs/topics/gateway#guild-role-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 823, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2137, + "name": "GatewayDispatchEvents.GuildRoleCreate" + }, + { + "type": "reference", + "id": 2139, + "name": "GatewayDispatchEvents.GuildRoleUpdate" + } + ] + }, + { + "type": "reference", + "id": 2283, + "name": "GatewayGuildRoleModifyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2288, + "name": "GatewayGuildRoleUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 862, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2282, + "name": "GatewayGuildRoleModifyDispatch" + } + }, + { + "id": 2289, + "name": "GatewayGuildRoleUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 868, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2283, + "name": "GatewayGuildRoleModifyDispatchData" + } + }, + { + "id": 2294, + "name": "GatewayGuildScheduledEventCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 897, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2167, + "name": "GatewayDispatchEvents.GuildScheduledEventCreate" + }, + { + "type": "reference", + "id": 2295, + "name": "GatewayGuildScheduledEventCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2295, + "name": "GatewayGuildScheduledEventCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 905, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3335, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 2298, + "name": "GatewayGuildScheduledEventDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 923, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2169, + "name": "GatewayDispatchEvents.GuildScheduledEventDelete" + }, + { + "type": "reference", + "id": 2299, + "name": "GatewayGuildScheduledEventDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2299, + "name": "GatewayGuildScheduledEventDeleteDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 931, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3335, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 2296, + "name": "GatewayGuildScheduledEventUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 910, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2168, + "name": "GatewayDispatchEvents.GuildScheduledEventUpdate" + }, + { + "type": "reference", + "id": 2297, + "name": "GatewayGuildScheduledEventUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2297, + "name": "GatewayGuildScheduledEventUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 918, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3335, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 2300, + "name": "GatewayGuildScheduledEventUserAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 936, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2170, + "name": "GatewayDispatchEvents.GuildScheduledEventUserAdd" + }, + { + "type": "reference", + "id": 2301, + "name": "GatewayGuildScheduledEventUserAddDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2305, + "name": "GatewayGuildScheduledEventUserRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 953, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2171, + "name": "GatewayDispatchEvents.GuildScheduledEventUserRemove" + }, + { + "type": "reference", + "id": 2301, + "name": "GatewayGuildScheduledEventUserAddDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2245, + "name": "GatewayGuildStickersUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-stickers-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 657, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2140, + "name": "GatewayDispatchEvents.GuildStickersUpdate" + }, + { + "type": "reference", + "id": 2246, + "name": "GatewayGuildStickersUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2229, + "name": "GatewayGuildUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 555, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2225, + "name": "GatewayGuildModifyDispatch" + } + }, + { + "id": 2230, + "name": "GatewayGuildUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 561, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2226, + "name": "GatewayGuildModifyDispatchData" + } + }, + { + "id": 2404, + "name": "GatewayHeartbeatData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1485, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 2310, + "name": "GatewayIntegrationCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 971, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2142, + "name": "GatewayDispatchEvents.IntegrationCreate" + }, + { + "type": "reference", + "id": 2311, + "name": "GatewayIntegrationCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2311, + "name": "GatewayIntegrationCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 980, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 3205, + "name": "APIGuildIntegration" + }, + { + "type": "reflection", + "declaration": { + "id": 2312, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 2313, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 980, + "character": 75 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2313 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 980, + "character": 73 + } + ] + } + } + ] + } + }, + { + "id": 2318, + "name": "GatewayIntegrationDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1001, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2143, + "name": "GatewayDispatchEvents.IntegrationDelete" + }, + { + "type": "reference", + "id": 2319, + "name": "GatewayIntegrationDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2314, + "name": "GatewayIntegrationUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 986, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2144, + "name": "GatewayDispatchEvents.IntegrationUpdate" + }, + { + "type": "reference", + "id": 2315, + "name": "GatewayIntegrationUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2315, + "name": "GatewayIntegrationUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 995, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 3205, + "name": "APIGuildIntegration" + }, + { + "type": "reflection", + "declaration": { + "id": 2316, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 2317, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 995, + "character": 75 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2317 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 995, + "character": 73 + } + ] + } + } + ] + } + }, + { + "id": 2323, + "name": "GatewayInteractionCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#interaction-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1029, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2145, + "name": "GatewayDispatchEvents.InteractionCreate" + }, + { + "type": "reference", + "id": 2324, + "name": "GatewayInteractionCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2324, + "name": "GatewayInteractionCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#interaction-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1038, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3353, + "name": "APIInteraction" + } + }, + { + "id": 2197, + "name": "GatewayInvalidSessionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invalid-session", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 375, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2325, + "name": "GatewayInviteCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invite-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1044, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2146, + "name": "GatewayDispatchEvents.InviteCreate" + }, + { + "type": "reference", + "id": 2326, + "name": "GatewayInviteCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2339, + "name": "GatewayInviteDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invite-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1116, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2147, + "name": "GatewayDispatchEvents.InviteDelete" + }, + { + "type": "reference", + "id": 2340, + "name": "GatewayInviteDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2344, + "name": "GatewayMessageCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1146, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2148, + "name": "GatewayDispatchEvents.MessageCreate" + }, + { + "type": "reference", + "id": 2345, + "name": "GatewayMessageCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2345, + "name": "GatewayMessageCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1155, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + }, + { + "id": 2356, + "name": "GatewayMessageDeleteBulkDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-delete-bulk", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1207, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2150, + "name": "GatewayDispatchEvents.MessageDeleteBulk" + }, + { + "type": "reference", + "id": 2357, + "name": "GatewayMessageDeleteBulkDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2351, + "name": "GatewayMessageDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1179, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2149, + "name": "GatewayDispatchEvents.MessageDelete" + }, + { + "type": "reference", + "id": 2352, + "name": "GatewayMessageDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2361, + "name": "GatewayMessageReactionAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-add", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1235, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2151, + "name": "GatewayDispatchEvents.MessageReactionAdd" + } + ], + "name": "ReactionData" + } + }, + { + "id": 2362, + "name": "GatewayMessageReactionAddDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-add", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1241, + "character": 12 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "d" + }, + "objectType": { + "type": "reference", + "id": 2361, + "name": "GatewayMessageReactionAddDispatch" + } + } + }, + { + "id": 2365, + "name": "GatewayMessageReactionRemoveAllDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove-all", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1259, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2153, + "name": "GatewayDispatchEvents.MessageReactionRemoveAll" + }, + { + "type": "reference", + "id": 2366, + "name": "GatewayMessageReactionRemoveAllDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2366, + "name": "GatewayMessageReactionRemoveAllDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove-all", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1268, + "character": 12 + } + ], + "type": { + "type": "reference", + "name": "MessageReactionRemoveData" + } + }, + { + "id": 2363, + "name": "GatewayMessageReactionRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1247, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2152, + "name": "GatewayDispatchEvents.MessageReactionRemove" + }, + { + "type": "literal", + "value": "member" + } + ], + "name": "ReactionData" + } + }, + { + "id": 2364, + "name": "GatewayMessageReactionRemoveDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1253, + "character": 12 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "d" + }, + "objectType": { + "type": "reference", + "id": 2363, + "name": "GatewayMessageReactionRemoveDispatch" + } + } + }, + { + "id": 2367, + "name": "GatewayMessageReactionRemoveEmojiDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1274, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2154, + "name": "GatewayDispatchEvents.MessageReactionRemoveEmoji" + }, + { + "type": "reference", + "id": 2368, + "name": "GatewayMessageReactionRemoveEmojiDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2346, + "name": "GatewayMessageUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1161, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2155, + "name": "GatewayDispatchEvents.MessageUpdate" + }, + { + "type": "reference", + "id": 2347, + "name": "GatewayMessageUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2347, + "name": "GatewayMessageUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1170, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 2348, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 2350, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1172, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 2349, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1171, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 2350, + 2349 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1170, + "character": 47 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + }, + { + "id": 2373, + "name": "GatewayPresenceUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#presence-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1294, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2156, + "name": "GatewayDispatchEvents.PresenceUpdate" + }, + { + "type": "reference", + "id": 2374, + "name": "GatewayPresenceUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2374, + "name": "GatewayPresenceUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#presence-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1303, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2987, + "name": "RawGatewayPresenceUpdate" + } + }, + { + "id": 2203, + "name": "GatewayReadyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#ready", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 390, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2160, + "name": "GatewayDispatchEvents.Ready" + }, + { + "type": "reference", + "id": 2204, + "name": "GatewayReadyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2173, + "name": "GatewayReceivePayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 265, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2175, + "name": "GatewayHello" + }, + { + "type": "reference", + "id": 2182, + "name": "GatewayHeartbeatRequest" + }, + { + "type": "reference", + "id": 2187, + "name": "GatewayHeartbeatAck" + }, + { + "type": "reference", + "id": 2192, + "name": "GatewayInvalidSession" + }, + { + "type": "reference", + "id": 2198, + "name": "GatewayReconnect" + }, + { + "type": "reference", + "id": 2174, + "name": "GatewayDispatchPayload" + } + ] + } + }, + { + "id": 2211, + "name": "GatewayResumedDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#resumed", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 437, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2161, + "name": "GatewayDispatchEvents.Resumed" + }, + { + "type": "intrinsic", + "name": "never" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2172, + "name": "GatewaySendPayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 254, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2401, + "name": "GatewayHeartbeat" + }, + { + "type": "reference", + "id": 2405, + "name": "GatewayIdentify" + }, + { + "type": "reference", + "id": 2445, + "name": "GatewayUpdatePresence" + }, + { + "type": "reference", + "id": 2437, + "name": "GatewayVoiceStateUpdate" + }, + { + "type": "reference", + "id": 2420, + "name": "GatewayResume" + }, + { + "type": "reference", + "id": 2427, + "name": "GatewayRequestGuildMembers" + } + ] + } + }, + { + "id": 2375, + "name": "GatewayStageInstanceCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1309, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2157, + "name": "GatewayDispatchEvents.StageInstanceCreate" + }, + { + "type": "reference", + "id": 2376, + "name": "GatewayStageInstanceCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2376, + "name": "GatewayStageInstanceCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-create", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1318, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3704, + "name": "APIStageInstance" + } + }, + { + "id": 2377, + "name": "GatewayStageInstanceDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1324, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2158, + "name": "GatewayDispatchEvents.StageInstanceDelete" + }, + { + "type": "reference", + "id": 2378, + "name": "GatewayStageInstanceDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2378, + "name": "GatewayStageInstanceDeleteDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-delete", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1333, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3704, + "name": "APIStageInstance" + } + }, + { + "id": 2379, + "name": "GatewayStageInstanceUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1339, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2159, + "name": "GatewayDispatchEvents.StageInstanceUpdate" + }, + { + "type": "reference", + "id": 2380, + "name": "GatewayStageInstanceUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2380, + "name": "GatewayStageInstanceUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1348, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3704, + "name": "APIStageInstance" + } + }, + { + "id": 2381, + "name": "GatewayTypingStartDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#typing-start", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1354, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2162, + "name": "GatewayDispatchEvents.TypingStart" + }, + { + "type": "reference", + "id": 2382, + "name": "GatewayTypingStartDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2388, + "name": "GatewayUserUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#user-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1389, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2163, + "name": "GatewayDispatchEvents.UserUpdate" + }, + { + "type": "reference", + "id": 2389, + "name": "GatewayUserUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2389, + "name": "GatewayUserUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#user-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1395, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + }, + { + "id": 2392, + "name": "GatewayVoiceServerUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#voice-server-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1416, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2164, + "name": "GatewayDispatchEvents.VoiceServerUpdate" + }, + { + "type": "reference", + "id": 2393, + "name": "GatewayVoiceServerUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2390, + "name": "GatewayVoiceStateUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#voice-state-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1401, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2165, + "name": "GatewayDispatchEvents.VoiceStateUpdate" + }, + { + "type": "reference", + "id": 2391, + "name": "GatewayVoiceStateUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 2391, + "name": "GatewayVoiceStateUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#voice-state-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1410, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3839, + "name": "GatewayVoiceState" + } + }, + { + "id": 2397, + "name": "GatewayWebhooksUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#webhooks-update", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 1448, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2166, + "name": "GatewayDispatchEvents.WebhooksUpdate" + }, + { + "type": "reference", + "id": 2398, + "name": "GatewayWebhooksUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4725, + "name": "GetAPIVoiceRegionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/voice#list-voice-regions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/voice.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3853, + "name": "APIVoiceRegion" + } + } + }, + { + "id": 2645, + "name": "GuildChannelType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 53, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2644, + "name": "TextChannelType" + }, + { + "type": "reference", + "id": 2719, + "name": "ChannelType.GuildVoice" + }, + { + "type": "reference", + "id": 2724, + "name": "ChannelType.GuildStageVoice" + }, + { + "type": "reference", + "id": 2722, + "name": "ChannelType.GuildNews" + }, + { + "type": "reference", + "id": 2723, + "name": "ChannelType.GuildStore" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2718, + "name": "ChannelType.DM" + }, + { + "type": "reference", + "id": 2720, + "name": "ChannelType.GroupDM" + } + ] + } + ], + "qualifiedName": "Exclude", + "package": "typescript", + "name": "Exclude" + } + }, + { + "id": 2662, + "name": "GuildTextChannelType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 103, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2644, + "name": "TextChannelType" + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2718, + "name": "ChannelType.DM" + }, + { + "type": "reference", + "id": 2720, + "name": "ChannelType.GroupDM" + } + ] + } + ], + "qualifiedName": "Exclude", + "package": "typescript", + "name": "Exclude" + } + }, + { + "id": 3522, + "name": "PartialAPIMessageInteractionGuildMember", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/_interactions/base.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "roles" + }, + { + "type": "literal", + "value": "premium_since" + }, + { + "type": "literal", + "value": "pending" + }, + { + "type": "literal", + "value": "nick" + }, + { + "type": "literal", + "value": "mute" + }, + { + "type": "literal", + "value": "joined_at" + }, + { + "type": "literal", + "value": "deaf" + }, + { + "type": "literal", + "value": "communication_disabled_until" + }, + { + "type": "literal", + "value": "avatar" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 4231, + "name": "RESTDeleteAPIChannelAllMessageReactionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-all-reactions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 316, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4225, + "name": "RESTDeleteAPIChannelMessageOwnReaction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-own-reaction", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 281, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4232, + "name": "RESTDeleteAPIChannelMessageReactionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-all-reactions-for-emoji", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 322, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4246, + "name": "RESTDeleteAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 400, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4226, + "name": "RESTDeleteAPIChannelMessageUserReactionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-user-reaction", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 287, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4266, + "name": "RESTDeleteAPIChannelPermissionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-channel-permission", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 518, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4273, + "name": "RESTDeleteAPIChannelPinResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-pinned-channel-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 559, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4279, + "name": "RESTDeleteAPIChannelRecipientResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#group-dm-remove-recipient", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 586, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 4195, + "name": "RESTDeleteAPIChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#deleteclose-channel", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 128, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2715, + "name": "APIChannel" + } + }, + { + "id": 4720, + "name": "RESTDeleteAPICurrentUserGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#leave-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 87, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4414, + "name": "RESTDeleteAPIGuildBanResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#remove-guild-ban", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 589, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4293, + "name": "RESTDeleteAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#delete-guild-emoji", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/emoji.ts", + "line": 69, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4457, + "name": "RESTDeleteAPIGuildIntegrationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#delete-guild-integration", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 801, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4406, + "name": "RESTDeleteAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#remove-guild-member", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 548, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4405, + "name": "RESTDeleteAPIGuildMemberRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#remove-guild-member-role", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 542, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4360, + "name": "RESTDeleteAPIGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#delete-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 304, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4441, + "name": "RESTDeleteAPIGuildRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#delete-guild-role", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 716, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4510, + "name": "RESTDeleteAPIGuildScheduledEventResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#delete-guild-scheduled-event", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 117, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4683, + "name": "RESTDeleteAPIGuildStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 79, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4699, + "name": "RESTDeleteAPIGuildTemplateResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/template#delete-guild-template", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 82, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3762, + "name": "APITemplate" + } + }, + { + "id": 4560, + "name": "RESTDeleteAPIInteractionFollowupResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#delete-followup-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 241, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4778, + "name": "RESTDeleteAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 4550, + "name": "RESTDeleteAPIInteractionOriginalResponseResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#delete-original-interaction-response", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 186, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4778, + "name": "RESTDeleteAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 4573, + "name": "RESTDeleteAPIInviteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#delete-invite", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/invite.ts", + "line": 32, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3632, + "name": "APIInvite" + } + }, + { + "id": 4665, + "name": "RESTDeleteAPIStageInstanceResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#delete-stage-instance", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/stageInstance.ts", + "line": 63, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4743, + "name": "RESTDeleteAPIWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#delete-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 104, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4778, + "name": "RESTDeleteAPIWebhookWithTokenMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#delete-webhook-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 297, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4744, + "name": "RESTDeleteAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#delete-webhook-with-token", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 110, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4562, + "name": "RESTGetAPIApplicationCommandPermissionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-application-command-permissions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 253, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3507, + "name": "APIGuildApplicationCommandPermissions" + } + }, + { + "id": 4518, + "name": "RESTGetAPIApplicationCommandResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-global-application-command", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 29, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3356, + "name": "APIApplicationCommand" + } + }, + { + "id": 4517, + "name": "RESTGetAPIApplicationCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-global-application-commands", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 23, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3356, + "name": "APIApplicationCommand" + } + } + }, + { + "id": 4535, + "name": "RESTGetAPIApplicationGuildCommandResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-guild-application-commands", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 101, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3356, + "name": "APIApplicationCommand" + } + }, + { + "id": 4534, + "name": "RESTGetAPIApplicationGuildCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-guild-application-commands", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 95, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3356, + "name": "APIApplicationCommand" + } + } + }, + { + "id": 4173, + "name": "RESTGetAPIAuditLogResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/auditLog.ts", + "line": 32, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2499, + "name": "APIAuditLog" + } + }, + { + "id": 4255, + "name": "RESTGetAPIChannelInvitesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel-invites", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 456, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3648, + "name": "APIExtendedInvite" + } + } + }, + { + "id": 4230, + "name": "RESTGetAPIChannelMessageReactionUsersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-reactions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 310, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + } + }, + { + "id": 4202, + "name": "RESTGetAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 165, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + }, + { + "id": 4201, + "name": "RESTGetAPIChannelMessagesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel-messages", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 159, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + } + }, + { + "id": 4271, + "name": "RESTGetAPIChannelPinsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-pinned-messages", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 547, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + } + }, + { + "id": 4179, + "name": "RESTGetAPIChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 33, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2715, + "name": "APIChannel" + } + }, + { + "id": 4731, + "name": "RESTGetAPIChannelWebhooksResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-channel-webhooks", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 41, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3859, + "name": "APIWebhook" + } + } + }, + { + "id": 4724, + "name": "RESTGetAPICurrentUserConnectionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-user-connections", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 110, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3826, + "name": "APIConnection" + } + } + }, + { + "id": 4719, + "name": "RESTGetAPICurrentUserGuildsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-current-user-guilds", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 81, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 4712, + "name": "RESTAPIPartialCurrentUserGuild" + } + } + }, + { + "id": 4700, + "name": "RESTGetAPICurrentUserResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-current-user", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + }, + { + "id": 4295, + "name": "RESTGetAPIGatewayBotResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway-bot", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/gateway.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2978, + "name": "APIGatewayBotInfo" + } + }, + { + "id": 4294, + "name": "RESTGetAPIGatewayResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/gateway.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2976, + "name": "APIGatewayInfo" + } + }, + { + "id": 4561, + "name": "RESTGetAPIGuildApplicationCommandsPermissionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-guild-application-command-permissions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 247, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3507, + "name": "APIGuildApplicationCommandPermissions" + } + } + }, + { + "id": 4408, + "name": "RESTGetAPIGuildBanResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-ban", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 560, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3235, + "name": "APIBan" + } + }, + { + "id": 4407, + "name": "RESTGetAPIGuildBansResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-bans", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 554, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3235, + "name": "APIBan" + } + } + }, + { + "id": 4361, + "name": "RESTGetAPIGuildChannelsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-channels", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 310, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2715, + "name": "APIChannel" + } + } + }, + { + "id": 4281, + "name": "RESTGetAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#get-guild-emoji", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/emoji.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2967, + "name": "APIEmoji" + } + }, + { + "id": 4280, + "name": "RESTGetAPIGuildEmojisResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#list-guild-emojis", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/emoji.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2967, + "name": "APIEmoji" + } + } + }, + { + "id": 4456, + "name": "RESTGetAPIGuildIntegrationsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-integrations", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 795, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3205, + "name": "APIGuildIntegration" + } + } + }, + { + "id": 4455, + "name": "RESTGetAPIGuildInvitesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-invites", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 789, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3648, + "name": "APIExtendedInvite" + } + } + }, + { + "id": 4371, + "name": "RESTGetAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-member", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 359, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + } + }, + { + "id": 4468, + "name": "RESTGetAPIGuildMemberVerificationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 859, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3273, + "name": "APIGuildMembershipScreening" + } + }, + { + "id": 4375, + "name": "RESTGetAPIGuildMembersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#list-guild-members", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 384, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + } + } + }, + { + "id": 4379, + "name": "RESTGetAPIGuildMembersSearchResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 406, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + } + } + }, + { + "id": 4336, + "name": "RESTGetAPIGuildPreviewResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-preview", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 187, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3179, + "name": "APIGuildPreview" + } + }, + { + "id": 4335, + "name": "RESTGetAPIGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 181, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3071, + "name": "APIGuild" + } + }, + { + "id": 4415, + "name": "RESTGetAPIGuildRolesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-roles", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 595, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3688, + "name": "APIRole" + } + } + }, + { + "id": 4505, + "name": "RESTGetAPIGuildScheduledEventResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 93, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3335, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 4516, + "name": "RESTGetAPIGuildScheduledEventUsersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event-users", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 148, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3349, + "name": "APIGuildScheduledEventUser" + } + } + }, + { + "id": 4490, + "name": "RESTGetAPIGuildScheduledEventsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#list-scheduled-events-for-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 27, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3335, + "name": "APIGuildScheduledEvent" + } + } + }, + { + "id": 4670, + "name": "RESTGetAPIGuildStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 24, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3719, + "name": "APISticker" + } + }, + { + "id": 4669, + "name": "RESTGetAPIGuildStickersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 19, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3719, + "name": "APISticker" + } + } + }, + { + "id": 4690, + "name": "RESTGetAPIGuildTemplatesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/template#get-guild-templates", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 37, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3762, + "name": "APITemplate" + } + } + }, + { + "id": 4454, + "name": "RESTGetAPIGuildVoiceRegionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-voice-regions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 783, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3853, + "name": "APIVoiceRegion" + } + } + }, + { + "id": 4732, + "name": "RESTGetAPIGuildWebhooksResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-guild-webhooks", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 47, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3859, + "name": "APIWebhook" + } + } + }, + { + "id": 4484, + "name": "RESTGetAPIGuildWelcomeScreenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-welcome-screen", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 920, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3265, + "name": "APIGuildWelcomeScreen" + } + }, + { + "id": 4467, + "name": "RESTGetAPIGuildWidgetImageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Note: while the return type is `ArrayBuffer`, the expected result is\na buffer of sorts (depends if in browser or on node.js/deno).", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 854, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "ArrayBuffer", + "package": "typescript", + "name": "ArrayBuffer" + } + }, + { + "id": 4461, + "name": "RESTGetAPIGuildWidgetJSONResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 825, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3238, + "name": "APIGuildWidget" + } + }, + { + "id": 4458, + "name": "RESTGetAPIGuildWidgetSettingsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-settings", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 807, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3191, + "name": "APIGuildWidgetSettings" + } + }, + { + "id": 4556, + "name": "RESTGetAPIInteractionFollowupResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#get-followup-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 217, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4770, + "name": "RESTGetAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 4546, + "name": "RESTGetAPIInteractionOriginalResponseResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#get-original-interaction-response", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 162, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4770, + "name": "RESTGetAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 4572, + "name": "RESTGetAPIInviteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/invite.ts", + "line": 26, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3632, + "name": "APIInvite" + } + }, + { + "id": 4574, + "name": "RESTGetAPIOAuth2CurrentApplicationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#get-current-application-information", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2460, + "name": "APIApplication" + }, + { + "type": "literal", + "value": "flags" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 4659, + "name": "RESTGetAPIStageInstanceResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#get-stage-instance", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/stageInstance.ts", + "line": 36, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3704, + "name": "APIStageInstance" + } + }, + { + "id": 4666, + "name": "RESTGetAPIStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3719, + "name": "APISticker" + } + }, + { + "id": 4684, + "name": "RESTGetAPITemplateResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/template#get-template", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3762, + "name": "APITemplate" + } + }, + { + "id": 4701, + "name": "RESTGetAPIUserResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-user", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + }, + { + "id": 4733, + "name": "RESTGetAPIWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 53, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3859, + "name": "APIWebhook" + } + }, + { + "id": 4770, + "name": "RESTGetAPIWebhookWithTokenMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-webhook-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 255, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + }, + { + "id": 4734, + "name": "RESTGetAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-webhook-with-token", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 59, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3859, + "name": "APIWebhook" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 4702, + "name": "RESTGetCurrentUserGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-current-user-guild-member", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 21, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + } + }, + { + "id": 4615, + "name": "RESTOAuth2ImplicitAuthorizationURLFragmentResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#implicit-grant-redirect-url-example", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 112, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4596, + "name": "RESTPostOAuth2AccessTokenResult" + }, + { + "type": "literal", + "value": "refresh_token" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 4530, + "name": "RESTPatchAPIApplicationCommandJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-global-application-command", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 71, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4528, + "name": "RESTPostAPIApplicationCommandsJSONBody" + } + ], + "name": "StrictPartial" + } + }, + { + "id": 4531, + "name": "RESTPatchAPIApplicationCommandResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-global-application-command", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 77, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3356, + "name": "APIApplicationCommand" + } + }, + { + "id": 4538, + "name": "RESTPatchAPIApplicationGuildCommandJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-guild-application-command", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 119, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4528, + "name": "RESTPostAPIApplicationCommandsJSONBody" + } + ], + "name": "StrictPartial" + } + }, + { + "id": 4539, + "name": "RESTPatchAPIApplicationGuildCommandResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-guild-application-command", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 125, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3356, + "name": "APIApplicationCommand" + } + }, + { + "id": 4180, + "name": "RESTPatchAPIChannelJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#modify-channel", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 39, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4181, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4188, + "name": "bitrate", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitrate (in bits) of the voice channel; 8000 to 96000 (128000 for VIP servers)", + "text": "Channel types: voice\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4182, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "1-100 character channel name", + "text": "Channel types: all\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4186, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw", + "text": "Channel types: text, news, store\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4191, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the new parent category for a channel", + "text": "Channel types: text, news, store, voice\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 103, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4190, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Channel or category-specific permissions", + "text": "Channel types: all\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 97, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 4174, + "name": "APIChannelPatchOverwrite" + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4184, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The position of the channel in the left-hand listing", + "text": "Channel types: all\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4187, + "name": "rate_limit_per_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Amount of seconds a user has to wait before sending another message (0-21600);\nbots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`,\nare unaffected", + "text": "Channel types: text\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4192, + "name": "rtc_region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id for the voice or stage channel, automatic when set to `null`", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 109, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4185, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "0-1024 character channel topic", + "text": "Channel types: text, news\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4183, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of channel; only conversion between `text` and `news`\nis supported and only in guilds with the \"NEWS\" feature", + "text": "Channel types: text, news\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2722, + "name": "ChannelType.GuildNews" + }, + { + "type": "reference", + "id": 2717, + "name": "ChannelType.GuildText" + } + ] + } + }, + { + "id": 4189, + "name": "user_limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user limit of the voice channel; 0 refers to no limit, 1 to 99 refers to a user limit", + "text": "Channel types: voice\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 91, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4193, + "name": "video_quality_mode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The camera video quality mode of the voice channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-video-quality-modes\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 115, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2725, + "name": "VideoQualityMode" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4188, + 4182, + 4186, + 4191, + 4190, + 4184, + 4187, + 4192, + 4185, + 4183, + 4189, + 4193 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 39, + "character": 95 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4242, + "name": "RESTPatchAPIChannelMessageFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 381, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 4243, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4244, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 386, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4244 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 382, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 4233, + "name": "RESTPatchAPIChannelMessageJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 4233, + "name": "RESTPatchAPIChannelMessageJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 328, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4234, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4239, + "name": "allowed_mentions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Allowed mentions for the message", + "text": "See https://discord.com/developers/docs/resources/channel#allowed-mentions-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 360, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2889, + "name": "APIAllowedMentions" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4240, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Attached files to keep", + "text": "Starting with API v10, the `attachments` array must contain all attachments that should be present after edit, including **retained and new** attachments provided in the request body.\n\nSee https://discord.com/developers/docs/resources/channel#attachment-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 368, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2869, + "name": "APIAttachment" + }, + { + "type": "literal", + "value": "id" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2869, + "name": "APIAttachment" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "filename" + }, + { + "type": "literal", + "value": "description" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + } + }, + { + "id": 4241, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The components to include with the message", + "text": "See https://discord.com/developers/docs/interactions/message-components#component-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 374, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 2902, + "typeArguments": [ + { + "type": "reference", + "id": 2961, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4235, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The new message contents (up to 2000 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 332, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4237, + "name": "embed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Embedded `rich` content", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object", + "tags": [ + { + "tag": "deprecated", + "text": "Use `embeds` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 345, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2818, + "name": "APIEmbed" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4236, + "name": "embeds", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Embedded `rich` content (up to 6000 characters)", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 338, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 2818, + "name": "APIEmbed" + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4238, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Edit the flags of a message (only `SUPPRESS_EMBEDS` can currently be set/unset)", + "text": "When specifying flags, ensure to include all previously set flags/bits\nin addition to ones that you are modifying\n\nSee https://discord.com/developers/docs/resources/channel#message-object-message-flags\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 354, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2795, + "name": "MessageFlags" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4239, + 4240, + 4241, + 4235, + 4237, + 4236, + 4238 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 328, + "character": 102 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4245, + "name": "RESTPatchAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 394, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + }, + { + "id": 4194, + "name": "RESTPatchAPIChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#modify-channel", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 122, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2715, + "name": "APIChannel" + } + }, + { + "id": 4400, + "name": "RESTPatchAPICurrentGuildMemberJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-current-member", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 514, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4401, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4402, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value to set users nickname to", + "text": "Requires `CHANGE_NICKNAME` permission\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 520, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4402 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 514, + "character": 106 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4397, + "name": "RESTPatchAPICurrentGuildMemberNicknameJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-current-user-nick", + "tags": [ + { + "tag": "deprecated", + "text": "Use [Modify Current Member](https://discord.com/developers/docs/resources/guild#modify-current-member) instead." + }, + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 501, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4398, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4399, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value to set users nickname to", + "text": "Requires `CHANGE_NICKNAME` permission\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 507, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4399 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 501, + "character": 114 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4403, + "name": "RESTPatchAPICurrentGuildMemberNicknameResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-current-user-nick", + "tags": [ + { + "tag": "deprecated", + "text": "Use [Modify Current Member](https://discord.com/developers/docs/resources/guild#modify-current-member) instead." + }, + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 529, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4397, + "name": "RESTPatchAPICurrentGuildMemberNicknameJSONBody" + } + ], + "name": "StrictRequired" + } + }, + { + "id": 4703, + "name": "RESTPatchAPICurrentUserJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#modify-current-user", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 27, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4704, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4706, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If passed, modifies the user's avatar" + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4705, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User's username, if changed may cause the user's discriminator to be randomized" + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4706, + 4705 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 27, + "character": 99 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4707, + "name": "RESTPatchAPICurrentUserResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#modify-current-user", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 42, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3790, + "name": "APIUser" + } + }, + { + "id": 4364, + "name": "RESTPatchAPIGuildChannelPositionsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-channel-positions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 328, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4365, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4366, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Channel id" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 333, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 4368, + "name": "lock_permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sync channel overwrites with the new parent, when moving to a new `parent_id`" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 341, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4369, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The new parent id of this channel" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 345, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4367, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 337, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4366, + 4368, + 4369, + 4367 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 329, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + } + }, + { + "id": 4370, + "name": "RESTPatchAPIGuildChannelPositionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-channel-positions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 353, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4288, + "name": "RESTPatchAPIGuildEmojiJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#modify-guild-emoji", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/emoji.ts", + "line": 48, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4289, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4290, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the emoji" + }, + "sources": [ + { + "fileName": "rest/v8/emoji.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4291, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Roles for which this emoji will be whitelisted" + }, + "sources": [ + { + "fileName": "rest/v8/emoji.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4290, + 4291 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/emoji.ts", + "line": 48, + "character": 98 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4292, + "name": "RESTPatchAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#modify-guild-emoji", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/emoji.ts", + "line": 63, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2967, + "name": "APIEmoji" + } + }, + { + "id": 4337, + "name": "RESTPatchAPIGuildJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 193, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4338, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4344, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID for afk channel" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 225, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4345, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "AFK timeout in seconds" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 229, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4350, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 16:9 png/jpeg image for the guild banner (when the server has the `BANNER` feature; can be animated gif when the server has the `ANIMATED_BANNER` feature)" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 253, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4342, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default message notification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 215, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3123, + "name": "GuildDefaultMessageNotifications" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4357, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description for the guild, if the guild is discoverable" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 287, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4349, + "name": "discovery_splash", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 png/jpeg image for the guild discovery splash (when the guild has `DISCOVERABLE` feature)" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 249, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4343, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit content filter level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 221, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3126, + "name": "GuildExplicitContentFilter" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4356, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Enabled guild features", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-features\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 283, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3154, + "name": "GuildFeature" + } + } + }, + { + "id": 4346, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when the guild has `ANIMATED_ICON` feature)", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 235, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4339, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New name for the guild (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 197, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4347, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User id to transfer guild ownership to (must be owner)" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 239, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 4355, + "name": "preferred_locale", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The preferred locale of a Community guild used in server discovery and notices from Discord; defaults to \"en-US\"", + "tags": [ + { + "tag": "default", + "text": "\"en-US\" (if the value is set to `null`)\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 277, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4358, + "name": "premium_progress_bar_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the boosts progress bar should be enabled." + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 291, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4354, + "name": "public_updates_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where admins and moderators of Community guilds receive notices from Discord" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 271, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4340, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 203, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4353, + "name": "rules_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where Community guilds display rules and/or guidelines" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 267, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4348, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 16:9 png/jpeg image for the guild splash (when the guild has `INVITE_SPLASH` feature)", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 245, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4352, + "name": "system_channel_flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "System channel flags", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 263, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3149, + "name": "GuildSystemChannelFlags" + } + }, + { + "id": 4351, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where guild notices such as welcome messages and boost events are posted" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 257, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4341, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 209, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3138, + "name": "GuildVerificationLevel" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4344, + 4345, + 4350, + 4342, + 4357, + 4349, + 4343, + 4356, + 4346, + 4339, + 4347, + 4355, + 4358, + 4354, + 4340, + 4353, + 4348, + 4352, + 4351, + 4341 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 193, + "character": 93 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4388, + "name": "RESTPatchAPIGuildMemberJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-member", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 452, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4389, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4394, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of channel to move user to (if they are connected to voice)", + "text": "Requires `MOVE_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 482, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4395, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 486, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4393, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is deafened in voice channels. Will throw a 400 if the user is not in a voice channel", + "text": "Requires `DEAFEN_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 476, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4392, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is muted in voice channels. Will throw a 400 if the user is not in a voice channel", + "text": "Requires `MUTE_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 470, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4390, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value to set users nickname to", + "text": "Requires `MANAGE_NICKNAMES` permission\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 458, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4391, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of role ids the member is assigned", + "text": "Requires `MANAGE_ROLES` permission\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 464, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4394, + 4395, + 4393, + 4392, + 4390, + 4391 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 452, + "character": 99 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4396, + "name": "RESTPatchAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#add-guild-member", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 493, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + } + }, + { + "id": 4469, + "name": "RESTPatchAPIGuildMemberVerificationJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 864, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4470, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4473, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The server description to show in the screening form" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 876, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4471, + "name": "enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether Membership Screening is enabled" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 868, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4472, + "name": "form_fields", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of field objects serialized in a string" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 872, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4473, + 4471, + 4472 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 864, + "character": 111 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4474, + "name": "RESTPatchAPIGuildMemberVerificationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 882, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3273, + "name": "APIGuildMembershipScreening" + } + }, + { + "id": 4359, + "name": "RESTPatchAPIGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 298, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3071, + "name": "APIGuild" + } + }, + { + "id": 4431, + "name": "RESTPatchAPIGuildRoleJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-role", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 675, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4432, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4435, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "RGB color value" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 687, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4436, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be displayed separately in the sidebar" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 691, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4437, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's icon image (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 695, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4439, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be mentionable" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 703, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4433, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the role" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 679, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4434, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Bitwise value of the enabled/disabled permissions" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 683, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Permissions" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4438, + "name": "unicode_emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's unicode emoji as a standard emoji (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 699, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4435, + 4436, + 4437, + 4439, + 4433, + 4434, + 4438 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 675, + "character": 97 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4426, + "name": "RESTPatchAPIGuildRolePositionsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-role-positions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 652, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4427, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4428, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role id" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 657, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 4429, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the role" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 661, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4428, + 4429 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 653, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + } + }, + { + "id": 4430, + "name": "RESTPatchAPIGuildRolePositionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-role-positions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 669, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3688, + "name": "APIRole" + } + } + }, + { + "id": 4440, + "name": "RESTPatchAPIGuildRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-role", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 710, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3688, + "name": "APIRole" + } + }, + { + "id": 4506, + "name": "RESTPatchAPIGuildScheduledEventJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#modify-guild-scheduled-event", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 99, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4491, + "name": "RESTPostAPIGuildScheduledEventJSONBody" + } + ], + "name": "StrictPartial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4507, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4508, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The status of the scheduled event" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 104, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 3342, + "name": "GuildScheduledEventStatus" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4508 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 100, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 4509, + "name": "RESTPatchAPIGuildScheduledEventResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#modify-guild-scheduled-event", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 111, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3335, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 4677, + "name": "RESTPatchAPIGuildStickerJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 56, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4678, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4680, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Description of the sticker (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4679, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the sticker (2-30 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4681, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The Discord name of a unicode emoji representing the sticker's expression (2-200 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4680, + 4679, + 4681 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 56, + "character": 100 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4682, + "name": "RESTPatchAPIGuildStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 74, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3719, + "name": "APISticker" + } + }, + { + "id": 4697, + "name": "RESTPatchAPIGuildTemplateJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/template#modify-guild-template", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 70, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4691, + "name": "RESTPostAPIGuildTemplatesJSONBody" + } + ], + "name": "StrictPartial" + } + }, + { + "id": 4698, + "name": "RESTPatchAPIGuildTemplateResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/template#modify-guild-template", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 76, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3762, + "name": "APITemplate" + } + }, + { + "id": 4475, + "name": "RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 887, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4476, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4477, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel the user is currently in" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 891, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 4479, + "name": "request_to_speak_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sets the user's request to speak" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 899, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4478, + "name": "suppress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Toggles the user's suppress state" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 895, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4477, + 4479, + 4478 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 887, + "character": 116 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4480, + "name": "RESTPatchAPIGuildVoiceStateUserJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 905, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4481, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4482, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel the user is currently in" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 909, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 4483, + "name": "suppress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Toggles the user's suppress state" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 913, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4482, + 4483 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 905, + "character": 107 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4485, + "name": "RESTPatchAPIGuildWelcomeScreenJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-welcome-screen", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 926, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3265, + "name": "APIGuildWelcomeScreen" + } + ], + "name": "StrictPartial" + } + ], + "name": "Nullable" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4486, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4487, + "name": "enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the welcome screen is enabled" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 931, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4487 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 927, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 4459, + "name": "RESTPatchAPIGuildWidgetSettingsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-widget", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 813, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3191, + "name": "APIGuildWidgetSettings" + } + ], + "name": "StrictPartial" + } + }, + { + "id": 4460, + "name": "RESTPatchAPIGuildWidgetSettingsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-widget", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 819, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3191, + "name": "APIGuildWidgetSettings" + } + }, + { + "id": 4558, + "name": "RESTPatchAPIInteractionFollowupFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-followup-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 229, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4774, + "name": "RESTPatchAPIWebhookWithTokenMessageFormDataBody" + } + }, + { + "id": 4557, + "name": "RESTPatchAPIInteractionFollowupJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-followup-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 223, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4771, + "name": "RESTPatchAPIWebhookWithTokenMessageJSONBody" + } + }, + { + "id": 4559, + "name": "RESTPatchAPIInteractionFollowupResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-followup-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 235, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4777, + "name": "RESTPatchAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 4548, + "name": "RESTPatchAPIInteractionOriginalResponseFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 174, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4774, + "name": "RESTPatchAPIWebhookWithTokenMessageFormDataBody" + } + }, + { + "id": 4547, + "name": "RESTPatchAPIInteractionOriginalResponseJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 168, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4771, + "name": "RESTPatchAPIWebhookWithTokenMessageJSONBody" + } + }, + { + "id": 4549, + "name": "RESTPatchAPIInteractionOriginalResponseResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 180, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4777, + "name": "RESTPatchAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 4660, + "name": "RESTPatchAPIStageInstanceJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#update-stage-instance", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/stageInstance.ts", + "line": 42, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4661, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4663, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The privacy level of the stage instance" + }, + "sources": [ + { + "fileName": "rest/v8/stageInstance.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3711, + "name": "StageInstancePrivacyLevel" + } + }, + { + "id": 4662, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The topic of the stage instance (1-120 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/stageInstance.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4663, + 4662 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/stageInstance.ts", + "line": 42, + "character": 101 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4664, + "name": "RESTPatchAPIStageInstanceResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#update-stage-instance", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/stageInstance.ts", + "line": 57, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3704, + "name": "APIStageInstance" + } + }, + { + "id": 4735, + "name": "RESTPatchAPIWebhookJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#modify-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 65, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4736, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4738, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Image for the default webhook avatar", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4739, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The new channel id this webhook should be moved to" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 4737, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The default name of the webhook" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4738, + 4739, + 4737 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 65, + "character": 95 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4740, + "name": "RESTPatchAPIWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#modify-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 86, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3859, + "name": "APIWebhook" + } + }, + { + "id": 4741, + "name": "RESTPatchAPIWebhookWithTokenJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#modify-webhook-with-token", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 92, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4735, + "name": "RESTPatchAPIWebhookJSONBody" + }, + { + "type": "literal", + "value": "channel_id" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 4774, + "name": "RESTPatchAPIWebhookWithTokenMessageFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#edit-webhook-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 278, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 4775, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4776, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 283, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4776 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 279, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 4771, + "name": "RESTPatchAPIWebhookWithTokenMessageJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 4771, + "name": "RESTPatchAPIWebhookWithTokenMessageJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#edit-webhook-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 261, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4745, + "name": "RESTPostAPIWebhookWithTokenJSONBody" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "content" + }, + { + "type": "literal", + "value": "embeds" + }, + { + "type": "literal", + "value": "allowed_mentions" + }, + { + "type": "literal", + "value": "components" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "name": "Nullable" + }, + { + "type": "reflection", + "declaration": { + "id": 4772, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4773, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Attached files to keep", + "text": "Starting with API v10, the `attachments` array must contain all attachments that should be present after edit, including **retained and new** attachments provided in the request body.\n\nSee https://discord.com/developers/docs/resources/channel#attachment-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 270, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2869, + "name": "APIAttachment" + }, + { + "type": "literal", + "value": "id" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2869, + "name": "APIAttachment" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "filename" + }, + { + "type": "literal", + "value": "description" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4773 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 262, + "character": 113 + } + ] + } + } + ] + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4777, + "name": "RESTPatchAPIWebhookWithTokenMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#edit-webhook-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 291, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + }, + { + "id": 4742, + "name": "RESTPatchAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#modify-webhook-with-token", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 98, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4734, + "name": "RESTGetAPIWebhookWithTokenResult" + } + }, + { + "id": 4528, + "name": "RESTPostAPIApplicationCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-global-application-command", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 57, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 4519, + "name": "RESTPostAPIChatInputApplicationCommandsJSONBody" + }, + { + "type": "reference", + "id": 4523, + "name": "RESTPostAPIContextMenuApplicationCommandsJSONBody" + } + ] + } + }, + { + "id": 4529, + "name": "RESTPostAPIApplicationCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-global-application-command", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 65, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3356, + "name": "APIApplicationCommand" + } + }, + { + "id": 4536, + "name": "RESTPostAPIApplicationGuildCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-guild-application-command", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 107, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4528, + "name": "RESTPostAPIApplicationCommandsJSONBody" + } + }, + { + "id": 4537, + "name": "RESTPostAPIApplicationGuildCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-guild-application-command", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 113, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3356, + "name": "APIApplicationCommand" + } + }, + { + "id": 4269, + "name": "RESTPostAPIChannelFollowersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#follow-news-channel", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 535, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2803, + "name": "APIFollowedChannel" + } + }, + { + "id": 4256, + "name": "RESTPostAPIChannelInviteJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-channel-invite", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 462, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4257, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4258, + "name": "max_age", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Duration of invite in seconds before expiry, or 0 for never", + "tags": [ + { + "tag": "default", + "text": "86400 (24 hours)\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 468, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4259, + "name": "max_uses", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of uses or 0 for unlimited", + "tags": [ + { + "tag": "default", + "text": "0\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 474, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4264, + "name": "target_application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the embedded application to open for this invite\n- Required if `target_type` is 2\n- The application must have the `EMBEDDED` flag" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 505, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 4262, + "name": "target_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of target for this voice channel invite", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 493, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3645, + "name": "InviteTargetType" + } + }, + { + "id": 4263, + "name": "target_user_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the user whose stream to display for this invite\n- Required if `target_type` is 1\n- The user must be streaming in the channel" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 499, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 4260, + "name": "temporary", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this invite only grants temporary membership", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 480, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4261, + "name": "unique", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If true, don't try to reuse a similar invite\n(useful for creating many unique one time use invites)", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 487, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4258, + 4259, + 4264, + 4262, + 4263, + 4260, + 4261 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 462, + "character": 100 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4265, + "name": "RESTPostAPIChannelInviteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-channel-invite", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 512, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3648, + "name": "APIExtendedInvite" + } + }, + { + "id": 4223, + "name": "RESTPostAPIChannelMessageCrosspostResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#crosspost-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 269, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + }, + { + "id": 4219, + "name": "RESTPostAPIChannelMessageFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 250, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 4220, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4221, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 255, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4221 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 251, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 4206, + "name": "RESTPostAPIChannelMessageJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 4206, + "name": "RESTPostAPIChannelMessageJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 186, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4207, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4213, + "name": "allowed_mentions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Allowed mentions for a message", + "text": "See https://discord.com/developers/docs/resources/channel#allowed-mentions-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 217, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2889, + "name": "APIAllowedMentions" + } + }, + { + "id": 4217, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Attachment objects with filename and description" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 239, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2869, + "name": "APIAttachment" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "description" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2869, + "name": "APIAttachment" + }, + { + "type": "literal", + "value": "filename" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + } + }, + { + "id": 4215, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The components to include with the message", + "text": "See https://discord.com/developers/docs/interactions/message-components#component-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 229, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2902, + "typeArguments": [ + { + "type": "reference", + "id": 2961, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + } + }, + { + "id": 4208, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The message contents (up to 2000 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 190, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4212, + "name": "embed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Embedded `rich` content", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object", + "tags": [ + { + "tag": "deprecated", + "text": "Use `embeds` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 211, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2818, + "name": "APIEmbed" + } + }, + { + "id": 4211, + "name": "embeds", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Embedded `rich` content (up to 6000 characters)", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 204, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2818, + "name": "APIEmbed" + } + } + }, + { + "id": 4218, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Message flags combined as a bitfield" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 243, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2795, + "name": "MessageFlags" + } + }, + { + "id": 4214, + "name": "message_reference", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Include to make your message a reply", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-reference-structure\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 223, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 4203, + "name": "APIMessageReferenceSend" + } + }, + { + "id": 4209, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A nonce that can be used for optimistic message sending" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 194, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 4216, + "name": "sticker_ids", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "IDs of up to 3 stickers in the server to send in the message", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 235, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "tuple", + "elements": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ] + }, + { + "type": "tuple", + "elements": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ] + }, + { + "type": "tuple", + "elements": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ] + } + ] + } + }, + { + "id": 4210, + "name": "tts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if this is a TTS message" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 198, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4213, + 4217, + 4215, + 4208, + 4212, + 4211, + 4218, + 4214, + 4209, + 4216, + 4210 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 186, + "character": 101 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4222, + "name": "RESTPostAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 263, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + }, + { + "id": 4249, + "name": "RESTPostAPIChannelMessagesBulkDeleteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#bulk-delete-messages", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 417, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4270, + "name": "RESTPostAPIChannelTypingResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#trigger-typing-indicator", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 541, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4726, + "name": "RESTPostAPIChannelWebhookJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#create-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 18, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4727, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4729, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Image for the default webhook avatar", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4728, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the webhook (1-80 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4729, + 4728 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 18, + "character": 101 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4730, + "name": "RESTPostAPIChannelWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#create-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 35, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3859, + "name": "APIWebhook" + } + }, + { + "id": 4519, + "name": "RESTPostAPIChatInputApplicationCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-global-application-command", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 39, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4520, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4522, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 42, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4521, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 41, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 3367, + "name": "ApplicationCommandType.ChatInput" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4522, + 4521 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 40, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 4723, + "name": "RESTPostAPICurrentUserCreateDMChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#create-dm", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/user.ts", + "line": 104, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2715, + "name": "APIChannel" + } + }, + { + "id": 4362, + "name": "RESTPostAPIGuildChannelJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-channel", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 316, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4302, + "name": "APIGuildCreatePartialChannel" + }, + { + "type": "literal", + "value": "id" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 4363, + "name": "RESTPostAPIGuildChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-channel", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 322, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2715, + "name": "APIChannel" + } + }, + { + "id": 4282, + "name": "RESTPostAPIGuildEmojiJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#create-guild-emoji-json-params", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/emoji.ts", + "line": 21, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4283, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4285, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The 128x128 emoji image", + "text": "https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v8/emoji.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4284, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the emoji" + }, + "sources": [ + { + "fileName": "rest/v8/emoji.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4286, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Roles for which this emoji will be whitelisted" + }, + "sources": [ + { + "fileName": "rest/v8/emoji.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4285, + 4284, + 4286 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/emoji.ts", + "line": 21, + "character": 97 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4287, + "name": "RESTPostAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#create-guild-emoji", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/emoji.ts", + "line": 42, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2967, + "name": "APIEmoji" + } + }, + { + "id": 4447, + "name": "RESTPostAPIGuildPruneJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#begin-guild-prune", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 752, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4448, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4450, + "name": "compute_prune_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether `pruned is returned, discouraged for large guilds", + "tags": [ + { + "tag": "default", + "text": "true\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 764, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4449, + "name": "days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of days to count prune for (1 or more)", + "tags": [ + { + "tag": "default", + "text": "7\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 758, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4451, + "name": "include_roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Role(s) to include" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 768, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4450, + 4449, + 4451 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 752, + "character": 97 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4416, + "name": "RESTPostAPIGuildRoleJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-role", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 601, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4417, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4420, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "RGB color value", + "tags": [ + { + "tag": "default", + "text": "0\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 619, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4421, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be displayed separately in the sidebar", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 625, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4422, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's icon image (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 629, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4424, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be mentionable", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 639, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4418, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the role", + "tags": [ + { + "tag": "default", + "text": "\"new role\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 607, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4419, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Bitwise value of the enabled/disabled permissions", + "tags": [ + { + "tag": "default", + "text": "\"default role permissions in guild\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 613, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Permissions" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4423, + "name": "unicode_emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's unicode emoji as a standard emoji (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 633, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4420, + 4421, + 4422, + 4424, + 4418, + 4419, + 4423 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 601, + "character": 96 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + }, + "extendedBy": [ + { + "type": "reference", + "id": 4308, + "name": "APIGuildCreateRole" + } + ] + }, + { + "id": 4425, + "name": "RESTPostAPIGuildRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-role", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 646, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3688, + "name": "APIRole" + } + }, + { + "id": 4491, + "name": "RESTPostAPIGuildScheduledEventJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#create-guild-scheduled-event", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 33, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4492, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4493, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The stage channel id of the guild event" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 4498, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description of the guild event" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4500, + "name": "entity_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The entity metadata of the scheduled event" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3336, + "name": "APIGuildScheduledEventEntityMetadata" + } + }, + { + "id": 4499, + "name": "entity_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The scheduled entity type of the guild event" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3338, + "name": "GuildScheduledEventEntityType" + } + }, + { + "id": 4501, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The cover image of the scheduled event" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4494, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the guild event" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4495, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the guild event" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3347, + "name": "GuildScheduledEventPrivacyLevel" + } + }, + { + "id": 4497, + "name": "scheduled_end_time", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The time when the scheduled event is scheduled to end" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4496, + "name": "scheduled_start_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time to schedule the guild event at" + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4493, + 4498, + 4500, + 4499, + 4501, + 4494, + 4495, + 4497, + 4496 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 33, + "character": 106 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4502, + "name": "RESTPostAPIGuildScheduledEventResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#create-guild-scheduled-event", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guildScheduledEvent.ts", + "line": 76, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3335, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 4676, + "name": "RESTPostAPIGuildStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/sticker.ts", + "line": 51, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3719, + "name": "APISticker" + } + }, + { + "id": 4691, + "name": "RESTPostAPIGuildTemplatesJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/template#create-guild-template", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 43, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4692, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4694, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Description for the template (0-120 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4693, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the template (1-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4694, + 4693 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 43, + "character": 101 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4695, + "name": "RESTPostAPIGuildTemplatesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/template#create-guild-template", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 58, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3762, + "name": "APITemplate" + } + }, + { + "id": 4317, + "name": "RESTPostAPIGuildsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 73, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4318, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4327, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID for afk channel" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 137, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4328, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "AFK timeout in seconds" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 141, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4326, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New guild's channels", + "text": "**When using the channels parameter, the `position` field is ignored, and none of the default channels are created.**\n\n*When using the channels parameter, the `id` field within each channel object may be set to an integer placeholder,\nand will be replaced by the API upon consumption. Its purpose is to allow you to create `GUILD_CATEGORY` channels\nby setting the `parent_id` field on any children to the category's id field.\nCategory channels must be listed before any children.*\n\nSee https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 133, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 4302, + "name": "APIGuildCreatePartialChannel" + } + } + }, + { + "id": 4323, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default message notification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 101, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3123, + "name": "GuildDefaultMessageNotifications" + } + }, + { + "id": 4324, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit content filter level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3126, + "name": "GuildExplicitContentFilter" + } + }, + { + "id": 4321, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 1024x1024 png/jpeg image for the guild icon", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4319, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the guild (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4331, + "name": "premium_progress_bar_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the boosts progress bar should be enabled." + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 155, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4320, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4325, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New guild roles", + "text": "**When using this parameter, the first member of the array is used to change properties of the guild's @everyone role.\nIf you are trying to bootstrap a guild with additional roles, keep this in mind.**\n\n*When using this parameter, the required `id` field within each role object is an integer placeholder,\nand will be replaced by the API upon consumption. Its purpose is to allow you to overwrite a role's permissions\nin a channel when also passing in channels with the channels array.*\n\nSee https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 120, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 4308, + "name": "APIGuildCreateRole" + } + } + }, + { + "id": 4330, + "name": "system_channel_flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "System channel flags", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 151, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3149, + "name": "GuildSystemChannelFlags" + } + }, + { + "id": 4329, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where guild notices such as welcome messages and boost events are posted" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 145, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 4322, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 95, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 3138, + "name": "GuildVerificationLevel" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4327, + 4328, + 4326, + 4323, + 4324, + 4321, + 4319, + 4331, + 4320, + 4325, + 4330, + 4329, + 4322 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 73, + "character": 93 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4332, + "name": "RESTPostAPIGuildsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 162, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3071, + "name": "APIGuild" + } + }, + { + "id": 4543, + "name": "RESTPostAPIInteractionCallbackFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 149, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 4544, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4545, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 154, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4545 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 150, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 4542, + "name": "RESTPostAPIInteractionCallbackJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 4542, + "name": "RESTPostAPIInteractionCallbackJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 143, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3594, + "name": "APIInteractionResponse" + } + }, + { + "id": 4552, + "name": "RESTPostAPIInteractionFollowupFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-followup-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 198, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 4553, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4554, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 203, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4554 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 199, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 4551, + "name": "RESTPostAPIInteractionFollowupJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 4551, + "name": "RESTPostAPIInteractionFollowupJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-followup-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 192, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3622, + "name": "APIInteractionResponseCallbackData" + } + }, + { + "id": 4555, + "name": "RESTPostAPIInteractionFollowupResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-followup-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 211, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4763, + "name": "RESTPostAPIWebhookWithTokenWaitResult" + } + }, + { + "id": 4658, + "name": "RESTPostAPIStageInstanceResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#create-stage-instance", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/stageInstance.ts", + "line": 30, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3704, + "name": "APIStageInstance" + } + }, + { + "id": 4685, + "name": "RESTPostAPITemplateCreateGuildJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/template#create-guild-from-template", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4686, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4688, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 1024x1024 png/jpeg image for the guild icon", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4687, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the guild (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4688, + 4687 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 14, + "character": 106 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4689, + "name": "RESTPostAPITemplateCreateGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/template#create-guild-from-template", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3071, + "name": "APIGuild" + } + }, + { + "id": 4756, + "name": "RESTPostAPIWebhookWithTokenFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 167, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 4757, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4758, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 172, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4758 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 168, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 4745, + "name": "RESTPostAPIWebhookWithTokenJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 4767, + "name": "RESTPostAPIWebhookWithTokenGitHubQuery", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook-querystring-params", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 234, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4759, + "name": "RESTPostAPIWebhookWithTokenQuery" + } + }, + { + "id": 4768, + "name": "RESTPostAPIWebhookWithTokenGitHubResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 240, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4769, + "name": "RESTPostAPIWebhookWithTokenGitHubWaitResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives\nthe `wait` query parameter set to `true`", + "text": "See https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook-querystring-params", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 249, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + }, + { + "id": 4745, + "name": "RESTPostAPIWebhookWithTokenJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 116, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4746, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4752, + "name": "allowed_mentions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Allowed mentions for the message", + "text": "See https://discord.com/developers/docs/resources/channel#allowed-mentions-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 144, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2889, + "name": "APIAllowedMentions" + } + }, + { + "id": 4754, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Attachment objects with filename and description" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 156, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2869, + "name": "APIAttachment" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "description" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2869, + "name": "APIAttachment" + }, + { + "type": "literal", + "value": "filename" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + } + }, + { + "id": 4749, + "name": "avatar_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Override the default avatar of the webhook" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 128, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4753, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The components to include with the message", + "text": "Requires an application-owned webhook\n\nSee https://discord.com/developers/docs/interactions/message-components#component-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 152, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2902, + "typeArguments": [ + { + "type": "reference", + "id": 2961, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + } + }, + { + "id": 4747, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The message contents (up to 2000 characters)" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 120, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4751, + "name": "embeds", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Embedded `rich` content", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object\n" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 138, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2818, + "name": "APIEmbed" + } + } + }, + { + "id": 4755, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Message flags combined as a bitfield" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 160, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2795, + "name": "MessageFlags" + } + }, + { + "id": 4750, + "name": "tts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if this is a TTS message" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 132, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4748, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Override the default username of the webhook" + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 124, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4752, + 4754, + 4749, + 4753, + 4747, + 4751, + 4755, + 4750, + 4748 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 116, + "character": 103 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4762, + "name": "RESTPostAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 198, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4764, + "name": "RESTPostAPIWebhookWithTokenSlackQuery", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook-querystring-params", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 213, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4759, + "name": "RESTPostAPIWebhookWithTokenQuery" + } + }, + { + "id": 4765, + "name": "RESTPostAPIWebhookWithTokenSlackResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 219, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4766, + "name": "RESTPostAPIWebhookWithTokenSlackWaitResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives\nthe `wait` query parameter set to `true`", + "text": "See https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook-querystring-params", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 228, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + }, + { + "id": 4763, + "name": "RESTPostAPIWebhookWithTokenWaitResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives\nthe `wait` query parameter set to `true`", + "text": "See https://discord.com/developers/docs/resources/webhook#execute-webhook-querystring-params", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/webhook.ts", + "line": 207, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 2728, + "name": "APIMessage" + } + }, + { + "id": 4653, + "name": "RESTPostOAuth2AccessTokenWithBotAndGuildsAndWebhookIncomingScopeResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 224, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 4639, + "name": "RESTPostOAuth2AccessTokenWithBotAndGuildsScopeResult" + }, + { + "type": "reference", + "id": 4646, + "name": "RESTPostOAuth2AccessTokenWithBotAndWebhookIncomingScopeResult" + } + ] + } + }, + { + "id": 4619, + "name": "RESTPostOAuth2ClientCredentialsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 126, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4615, + "name": "RESTOAuth2ImplicitAuthorizationURLFragmentResult" + } + }, + { + "id": 4607, + "name": "RESTPostOAuth2RefreshTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/oauth2.ts", + "line": 93, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4596, + "name": "RESTPostOAuth2AccessTokenResult" + } + }, + { + "id": 4565, + "name": "RESTPutAPIApplicationCommandPermissionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-application-command-permissions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 267, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3507, + "name": "APIGuildApplicationCommandPermissions" + } + }, + { + "id": 4532, + "name": "RESTPutAPIApplicationCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-global-application-commands", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 83, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 4528, + "name": "RESTPostAPIApplicationCommandsJSONBody" + } + } + }, + { + "id": 4533, + "name": "RESTPutAPIApplicationCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-global-application-commands", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 89, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3356, + "name": "APIApplicationCommand" + } + } + }, + { + "id": 4540, + "name": "RESTPutAPIApplicationGuildCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-guild-application-commands", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 131, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 4528, + "name": "RESTPostAPIApplicationCommandsJSONBody" + } + } + }, + { + "id": 4541, + "name": "RESTPutAPIApplicationGuildCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-guild-application-commands", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 137, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3356, + "name": "APIApplicationCommand" + } + } + }, + { + "id": 4224, + "name": "RESTPutAPIChannelMessageReactionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-reaction", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 275, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4254, + "name": "RESTPutAPIChannelPermissionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-channel-permissions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 450, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4272, + "name": "RESTPutAPIChannelPinResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#add-pinned-channel-message", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 553, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4274, + "name": "RESTPutAPIChannelRecipientJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#group-dm-add-recipient", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 565, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4275, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4276, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Access token of a user that has granted your app the `gdm.join` scope" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 569, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4277, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Nickname of the user being added" + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 573, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4276, + 4277 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 565, + "character": 102 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4278, + "name": "RESTPutAPIChannelRecipientResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#group-dm-add-recipient", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/channel.ts", + "line": 580, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 4566, + "name": "RESTPutAPIGuildApplicationCommandsPermissionsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#batch-edit-application-command-permissions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 273, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 3507, + "name": "APIGuildApplicationCommandPermissions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "permissions" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + } + }, + { + "id": 4567, + "name": "RESTPutAPIGuildApplicationCommandsPermissionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#batch-edit-application-command-permissions", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/interactions.ts", + "line": 282, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 3507, + "name": "APIGuildApplicationCommandPermissions" + } + } + }, + { + "id": 4409, + "name": "RESTPutAPIGuildBanJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-ban", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 566, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4410, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4411, + "name": "delete_message_days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of days to delete messages for (0-7)" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 570, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4412, + "name": "reason", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Reason for the ban", + "tags": [ + { + "tag": "deprecated", + "text": "Removed in API v10, use the `X-Audit-Log-Reason` header instead.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 576, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4411, + 4412 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 566, + "character": 94 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4413, + "name": "RESTPutAPIGuildBanResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-ban", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 583, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4380, + "name": "RESTPutAPIGuildMemberJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#add-guild-member", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 412, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 4381, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4382, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "An oauth2 access token granted with the `guilds.join` to the bot's application for the user you want to add to the guild" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 416, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4386, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is deafened in voice channels", + "text": "Requires `DEAFEN_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 440, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4385, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is muted in voice channels", + "text": "Requires `MUTE_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 434, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4383, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value to set users nickname to", + "text": "Requires `MANAGE_NICKNAMES` permission\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 422, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4384, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of role ids the member is assigned", + "text": "Requires `MANAGE_ROLES` permission\n" + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 428, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4382, + 4386, + 4385, + 4383, + 4384 + ] + } + ], + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 412, + "character": 97 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 4387, + "name": "RESTPutAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 446, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 3194, + "name": "APIGuildMember" + }, + { + "type": "intrinsic", + "name": "never" + } + ] + } + }, + { + "id": 4404, + "name": "RESTPutAPIGuildMemberRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#add-guild-member-role", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/guild.ts", + "line": 536, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 4696, + "name": "RESTPutAPIGuildTemplateSyncResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/template#sync-guild-template", + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v8/template.ts", + "line": 64, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 3762, + "name": "APITemplate" + } + }, + { + "id": 2644, + "name": "TextChannelType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v8/channel.ts", + "line": 48, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2718, + "name": "ChannelType.DM" + }, + { + "type": "reference", + "id": 2720, + "name": "ChannelType.GroupDM" + }, + { + "type": "reference", + "id": 2722, + "name": "ChannelType.GuildNews" + }, + { + "type": "reference", + "id": 2717, + "name": "ChannelType.GuildText" + } + ] + } + }, + { + "id": 3876, + "name": "APIVersion", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 21, + "character": 13 + } + ], + "type": { + "type": "literal", + "value": "8" + }, + "defaultValue": "'8'" + }, + { + "id": 2077, + "name": "GatewayVersion", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v8.ts", + "line": 34, + "character": 13 + } + ], + "type": { + "type": "literal", + "value": "8" + }, + "defaultValue": "'8'" + }, + { + "id": 4160, + "name": "OAuth2Routes", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 793, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 4161, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4162, + "name": "authorizationURL", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 794, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/api/v8/oauth2/authorize" + }, + "defaultValue": "..." + }, + { + "id": 4164, + "name": "tokenRevocationURL", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "See https://tools.ietf.org/html/rfc7009" + }, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 799, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/api/v8/oauth2/token/revoke" + }, + "defaultValue": "..." + }, + { + "id": 4163, + "name": "tokenURL", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 795, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/api/v8/oauth2/token" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4162, + 4164, + 4163 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 4152, + "name": "RouteBases", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 781, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 4153, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4154, + "name": "api", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 782, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/api/v8" + }, + "defaultValue": "..." + }, + { + "id": 4155, + "name": "cdn", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 783, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://cdn.discordapp.com" + }, + "defaultValue": "'https://cdn.discordapp.com'" + }, + { + "id": 4158, + "name": "gift", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 786, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.gift" + }, + "defaultValue": "'https://discord.gift'" + }, + { + "id": 4156, + "name": "invite", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 784, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.gg" + }, + "defaultValue": "'https://discord.gg'" + }, + { + "id": 4159, + "name": "scheduledEvent", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 787, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/events" + }, + "defaultValue": "'https://discord.com/events'" + }, + { + "id": 4157, + "name": "template", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 785, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.new" + }, + "defaultValue": "'https://discord.new'" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4154, + 4155, + 4158, + 4156, + 4159, + 4157 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 3877, + "name": "Routes", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 23, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 3878, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4088, + "name": "applicationCommand", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 623, + "character": 1 + } + ], + "signatures": [ + { + "id": 4089, + "name": "applicationCommand", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/commands/{command.id}`\n- PATCH `/applications/{application.id}/commands/{command.id}`\n- DELETE `/applications/{application.id}/commands/{command.id}`" + }, + "parameters": [ + { + "id": 4090, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4091, + "name": "commandId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4116, + "name": "applicationCommandPermissions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 687, + "character": 1 + } + ], + "signatures": [ + { + "id": 4117, + "name": "applicationCommandPermissions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}/permissions`\n- PUT `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}/permissions`" + }, + "parameters": [ + { + "id": 4118, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4119, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4120, + "name": "commandId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/guilds/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/permissions" + ] + ] + } + } + ] + }, + { + "id": 4085, + "name": "applicationCommands", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 613, + "character": 1 + } + ], + "signatures": [ + { + "id": 4086, + "name": "applicationCommands", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/commands`\n- PUT `/applications/{application.id}/commands`\n- POST `/applications/{application.id}/commands`" + }, + "parameters": [ + { + "id": 4087, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands" + ] + ] + } + } + ] + }, + { + "id": 4096, + "name": "applicationGuildCommand", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 643, + "character": 1 + } + ], + "signatures": [ + { + "id": 4097, + "name": "applicationGuildCommand", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}`\n- PATCH `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}`\n- DELETE `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}`" + }, + "parameters": [ + { + "id": 4098, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4099, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4100, + "name": "commandId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/guilds/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4092, + "name": "applicationGuildCommands", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 633, + "character": 1 + } + ], + "signatures": [ + { + "id": 4093, + "name": "applicationGuildCommands", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/guilds/{guild.id}/commands`\n- PUT `/applications/{application.id}/guilds/{guild.id}/commands`\n- POST `/applications/{application.id}/guilds/{guild.id}/commands`" + }, + "parameters": [ + { + "id": 4094, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4095, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/guilds/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands" + ] + ] + } + } + ] + }, + { + "id": 3882, + "name": "channel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 38, + "character": 1 + } + ], + "signatures": [ + { + "id": 3883, + "name": "channel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}`\n- PATCH `/channels/{channel.id}`\n- DELETE `/channels/{channel.id}`" + }, + "parameters": [ + { + "id": 3884, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 3916, + "name": "channelBulkDelete", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 113, + "character": 1 + } + ], + "signatures": [ + { + "id": 3917, + "name": "channelBulkDelete", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/messages/bulk-delete`" + }, + "parameters": [ + { + "id": 3918, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/bulk-delete" + ] + ] + } + } + ] + }, + { + "id": 3926, + "name": "channelFollowers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 139, + "character": 1 + } + ], + "signatures": [ + { + "id": 3927, + "name": "channelFollowers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/followers`" + }, + "parameters": [ + { + "id": 3928, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/followers" + ] + ] + } + } + ] + }, + { + "id": 3923, + "name": "channelInvites", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 131, + "character": 1 + } + ], + "signatures": [ + { + "id": 3924, + "name": "channelInvites", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/invites`\n- POST `/channels/{channel.id}/invites`" + }, + "parameters": [ + { + "id": 3925, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/invites" + ] + ] + } + } + ] + }, + { + "id": 3888, + "name": "channelMessage", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 57, + "character": 1 + } + ], + "signatures": [ + { + "id": 3889, + "name": "channelMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/messages/{message.id}`\n- PATCH `/channels/{channel.id}/messages/{message.id}`\n- DELETE `/channels/{channel.id}/messages/{message.id}`" + }, + "parameters": [ + { + "id": 3890, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3891, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 3912, + "name": "channelMessageAllReactions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 105, + "character": 1 + } + ], + "signatures": [ + { + "id": 3913, + "name": "channelMessageAllReactions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions`" + }, + "parameters": [ + { + "id": 3914, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3915, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/reactions" + ] + ] + } + } + ] + }, + { + "id": 3892, + "name": "channelMessageCrosspost", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 65, + "character": 1 + } + ], + "signatures": [ + { + "id": 3893, + "name": "channelMessageCrosspost", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/messages/{message.id}/crosspost`" + }, + "parameters": [ + { + "id": 3894, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3895, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/crosspost" + ] + ] + } + } + ] + }, + { + "id": 3896, + "name": "channelMessageOwnReaction", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 76, + "character": 1 + } + ], + "signatures": [ + { + "id": 3897, + "name": "channelMessageOwnReaction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me`\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me`", + "text": "**Note**: You need to URL encode the emoji yourself\n" + }, + "parameters": [ + { + "id": 3898, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3899, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3900, + "name": "emoji", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/reactions/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/@me" + ] + ] + } + } + ] + }, + { + "id": 3907, + "name": "channelMessageReaction", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 97, + "character": 1 + } + ], + "signatures": [ + { + "id": 3908, + "name": "channelMessageReaction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}`\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}`", + "text": "**Note**: You need to URL encode the emoji yourself\n" + }, + "parameters": [ + { + "id": 3909, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3910, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3911, + "name": "emoji", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/reactions/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 3901, + "name": "channelMessageUserReaction", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 86, + "character": 1 + } + ], + "signatures": [ + { + "id": 3902, + "name": "channelMessageUserReaction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/{user.id}`", + "text": "**Note**: You need to URL encode the emoji yourself\n" + }, + "parameters": [ + { + "id": 3903, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3904, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3905, + "name": "emoji", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3906, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/reactions/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 3885, + "name": "channelMessages", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 47, + "character": 1 + } + ], + "signatures": [ + { + "id": 3886, + "name": "channelMessages", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/messages`\n- POST `/channels/{channel.id}/messages`" + }, + "parameters": [ + { + "id": 3887, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages" + ] + ] + } + } + ] + }, + { + "id": 3919, + "name": "channelPermission", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 122, + "character": 1 + } + ], + "signatures": [ + { + "id": 3920, + "name": "channelPermission", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/permissions/{overwrite.id}`\n- DELETE `/channels/{channel.id}/permissions/{overwrite.id}`" + }, + "parameters": [ + { + "id": 3921, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3922, + "name": "overwriteId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/permissions/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 3935, + "name": "channelPin", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 164, + "character": 1 + } + ], + "signatures": [ + { + "id": 3936, + "name": "channelPin", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/pins/{message.id}`\n- DELETE `/channels/{channel.id}/pins/{message.id}`" + }, + "parameters": [ + { + "id": 3937, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3938, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/pins/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 3932, + "name": "channelPins", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 155, + "character": 1 + } + ], + "signatures": [ + { + "id": 3933, + "name": "channelPins", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/pins`" + }, + "parameters": [ + { + "id": 3934, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/pins" + ] + ] + } + } + ] + }, + { + "id": 3939, + "name": "channelRecipient", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 173, + "character": 1 + } + ], + "signatures": [ + { + "id": 3940, + "name": "channelRecipient", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/recipients/{user.id}`\n- DELETE `/channels/{channel.id}/recipients/{user.id}`" + }, + "parameters": [ + { + "id": 3941, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3942, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/recipients/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 3929, + "name": "channelTyping", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 147, + "character": 1 + } + ], + "signatures": [ + { + "id": 3930, + "name": "channelTyping", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/typing`" + }, + "parameters": [ + { + "id": 3931, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/typing" + ] + ] + } + } + ] + }, + { + "id": 4051, + "name": "channelWebhooks", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 491, + "character": 1 + } + ], + "signatures": [ + { + "id": 4052, + "name": "channelWebhooks", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/webhooks`\n- POST `/channels/{channel.id}/webhooks`" + }, + "parameters": [ + { + "id": 4053, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/webhooks" + ] + ] + } + } + ] + }, + { + "id": 4071, + "name": "gateway", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 555, + "character": 1 + } + ], + "signatures": [ + { + "id": 4072, + "name": "gateway", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/gateway`" + }, + "type": { + "type": "literal", + "value": "/gateway" + } + } + ] + }, + { + "id": 4073, + "name": "gatewayBot", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 563, + "character": 1 + } + ], + "signatures": [ + { + "id": 4074, + "name": "gatewayBot", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/gateway/bot`" + }, + "type": { + "type": "literal", + "value": "/gateway/bot" + } + } + ] + }, + { + "id": 3952, + "name": "guild", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 210, + "character": 1 + } + ], + "signatures": [ + { + "id": 3953, + "name": "guild", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}`\n- PATCH `/guilds/{guild.id}`\n- DELETE `/guilds/{guild.id}`" + }, + "parameters": [ + { + "id": 3954, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4112, + "name": "guildApplicationCommandsPermissions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 678, + "character": 1 + } + ], + "signatures": [ + { + "id": 4113, + "name": "guildApplicationCommandsPermissions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/guilds/{guild.id}/commands/permissions`\n- PUT `/applications/{application.id}/guilds/{guild.id}/commands/permissions`" + }, + "parameters": [ + { + "id": 4114, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4115, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/guilds/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands/permissions" + ] + ] + } + } + ] + }, + { + "id": 3879, + "name": "guildAuditLog", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 28, + "character": 1 + } + ], + "signatures": [ + { + "id": 3880, + "name": "guildAuditLog", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/audit-logs`" + }, + "parameters": [ + { + "id": 3881, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/audit-logs" + ] + ] + } + } + ] + }, + { + "id": 3982, + "name": "guildBan", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 292, + "character": 1 + } + ], + "signatures": [ + { + "id": 3983, + "name": "guildBan", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/bans/{user.id}`\n- PUT `/guilds/{guild.id}/bans/{user.id}`\n- DELETE `/guilds/{guild.id}/bans/{user.id}`" + }, + "parameters": [ + { + "id": 3984, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3985, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/bans/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 3979, + "name": "guildBans", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 282, + "character": 1 + } + ], + "signatures": [ + { + "id": 3980, + "name": "guildBans", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/bans`" + }, + "parameters": [ + { + "id": 3981, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/bans" + ] + ] + } + } + ] + }, + { + "id": 3958, + "name": "guildChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 228, + "character": 1 + } + ], + "signatures": [ + { + "id": 3959, + "name": "guildChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/channels`\n- POST `/guilds/{guild.id}/channels`\n- PATCH `/guilds/{guild.id}/channels`" + }, + "parameters": [ + { + "id": 3960, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/channels" + ] + ] + } + } + ] + }, + { + "id": 3971, + "name": "guildCurrentMemberNickname", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 265, + "character": 1 + } + ], + "signatures": [ + { + "id": 3972, + "name": "guildCurrentMemberNickname", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PATCH `/guilds/{guild.id}/members/@me/nick`", + "tags": [ + { + "tag": "deprecated", + "text": "Use {@link Routes.guildMember} instead.\n" + } + ] + }, + "parameters": [ + { + "id": 3973, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members/@me/nick" + ] + ] + } + } + ] + }, + { + "id": 3946, + "name": "guildEmoji", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 192, + "character": 1 + } + ], + "signatures": [ + { + "id": 3947, + "name": "guildEmoji", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/emojis/{emoji.id}`\n- PATCH `/guilds/{guild.id}/emojis/{emoji.id}`\n- DELETE `/guilds/{guild.id}/emojis/{emoji.id}`" + }, + "parameters": [ + { + "id": 3948, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3949, + "name": "emojiId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/emojis/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 3943, + "name": "guildEmojis", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 182, + "character": 1 + } + ], + "signatures": [ + { + "id": 3944, + "name": "guildEmojis", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/emojis`\n- POST `/guilds/{guild.id}/emojis`" + }, + "parameters": [ + { + "id": 3945, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/emojis" + ] + ] + } + } + ] + }, + { + "id": 4005, + "name": "guildIntegration", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 352, + "character": 1 + } + ], + "signatures": [ + { + "id": 4006, + "name": "guildIntegration", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/guilds/{guild.id}/integrations/{integration.id}`" + }, + "parameters": [ + { + "id": 4007, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4008, + "name": "integrationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/integrations/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4002, + "name": "guildIntegrations", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 344, + "character": 1 + } + ], + "signatures": [ + { + "id": 4003, + "name": "guildIntegrations", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/integrations`" + }, + "parameters": [ + { + "id": 4004, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/integrations" + ] + ] + } + } + ] + }, + { + "id": 3999, + "name": "guildInvites", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 336, + "character": 1 + } + ], + "signatures": [ + { + "id": 4000, + "name": "guildInvites", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/invites`" + }, + "parameters": [ + { + "id": 4001, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/invites" + ] + ] + } + } + ] + }, + { + "id": 3961, + "name": "guildMember", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 240, + "character": 1 + } + ], + "signatures": [ + { + "id": 3962, + "name": "guildMember", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/members/{user.id}`\n- PUT `/guilds/{guild.id}/members/{user.id}`\n- PATCH `/guilds/{guild.id}/members/@me`\n- PATCH `/guilds/{guild.id}/members/{user.id}`\n- DELETE `/guilds/{guild.id}/members/{user.id}`" + }, + "parameters": [ + { + "id": 3963, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3964, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'@me'" + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 3974, + "name": "guildMemberRole", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 274, + "character": 1 + } + ], + "signatures": [ + { + "id": 3975, + "name": "guildMemberRole", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/guilds/{guild.id}/members/{user.id}/roles/{role.id}`\n- DELETE `/guilds/{guild.id}/members/{user.id}/roles/{role.id}`" + }, + "parameters": [ + { + "id": 3976, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3977, + "name": "memberId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3978, + "name": "roleId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/roles/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4105, + "name": "guildMemberVerification", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 660, + "character": 1 + } + ], + "signatures": [ + { + "id": 4106, + "name": "guildMemberVerification", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/member-verification`\n- PATCH `/guilds/{guild.id}/member-verification`" + }, + "parameters": [ + { + "id": 4107, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/member-verification" + ] + ] + } + } + ] + }, + { + "id": 3965, + "name": "guildMembers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 248, + "character": 1 + } + ], + "signatures": [ + { + "id": 3966, + "name": "guildMembers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/members`" + }, + "parameters": [ + { + "id": 3967, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members" + ] + ] + } + } + ] + }, + { + "id": 3968, + "name": "guildMembersSearch", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 256, + "character": 1 + } + ], + "signatures": [ + { + "id": 3969, + "name": "guildMembersSearch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/members/search`" + }, + "parameters": [ + { + "id": 3970, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members/search" + ] + ] + } + } + ] + }, + { + "id": 3955, + "name": "guildPreview", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 218, + "character": 1 + } + ], + "signatures": [ + { + "id": 3956, + "name": "guildPreview", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/preview`" + }, + "parameters": [ + { + "id": 3957, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/preview" + ] + ] + } + } + ] + }, + { + "id": 3993, + "name": "guildPrune", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 320, + "character": 1 + } + ], + "signatures": [ + { + "id": 3994, + "name": "guildPrune", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/prune`\n- POST `/guilds/{guild.id}/prune`" + }, + "parameters": [ + { + "id": 3995, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/prune" + ] + ] + } + } + ] + }, + { + "id": 3989, + "name": "guildRole", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 311, + "character": 1 + } + ], + "signatures": [ + { + "id": 3990, + "name": "guildRole", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PATCH `/guilds/{guild.id}/roles/{role.id}`\n- DELETE `/guilds/{guild.id}/roles/{role.id}`" + }, + "parameters": [ + { + "id": 3991, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3992, + "name": "roleId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/roles/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 3986, + "name": "guildRoles", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 302, + "character": 1 + } + ], + "signatures": [ + { + "id": 3987, + "name": "guildRoles", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/roles`\n- POST `/guilds/{guild.id}/roles`\n- PATCH `/guilds/{guild.id}/roles`" + }, + "parameters": [ + { + "id": 3988, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/roles" + ] + ] + } + } + ] + }, + { + "id": 4144, + "name": "guildScheduledEvent", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 768, + "character": 1 + } + ], + "signatures": [ + { + "id": 4145, + "name": "guildScheduledEvent", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}`\n- PATCH `/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}`\n- DELETE `/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}`" + }, + "parameters": [ + { + "id": 4146, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4147, + "name": "guildScheduledEventId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 4148, + "name": "guildScheduledEventUsers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 776, + "character": 1 + } + ], + "signatures": [ + { + "id": 4149, + "name": "guildScheduledEventUsers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}/users`" + }, + "parameters": [ + { + "id": 4150, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4151, + "name": "guildScheduledEventId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 4141, + "name": "guildScheduledEvents", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 758, + "character": 1 + } + ], + "signatures": [ + { + "id": 4142, + "name": "guildScheduledEvents", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/scheduled-events`\n- POST `/guilds/{guild.id}/scheduled-events`" + }, + "parameters": [ + { + "id": 4143, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 4137, + "name": "guildSticker", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 749, + "character": 1 + } + ], + "signatures": [ + { + "id": 4138, + "name": "guildSticker", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/stickers/{sticker.id}`\n- PATCH `/guilds/{guild.id}/stickers/{sticker.id}`\n- DELETE `/guilds/{guild.id}/stickers/{sticker.id}`" + }, + "parameters": [ + { + "id": 4139, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4140, + "name": "stickerId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/stickers/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4134, + "name": "guildStickers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 739, + "character": 1 + } + ], + "signatures": [ + { + "id": 4135, + "name": "guildStickers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/stickers`\n- POST `/guilds/{guild.id}/stickers`" + }, + "parameters": [ + { + "id": 4136, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/stickers" + ] + ] + } + } + ] + }, + { + "id": 4030, + "name": "guildTemplate", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 422, + "character": 1 + } + ], + "signatures": [ + { + "id": 4031, + "name": "guildTemplate", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/guilds/{guild.id}/templates/{template.code}`\n- PATCH `/guilds/{guild.id}/templates/{template.code}`\n- DELETE `/guilds/{guild.id}/templates/{template.code}`" + }, + "parameters": [ + { + "id": 4032, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4033, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/templates/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4027, + "name": "guildTemplates", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 412, + "character": 1 + } + ], + "signatures": [ + { + "id": 4028, + "name": "guildTemplates", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/templates`\n- POST `/guilds/{guild.id}/templates`" + }, + "parameters": [ + { + "id": 4029, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/templates" + ] + ] + } + } + ] + }, + { + "id": 4015, + "name": "guildVanityUrl", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 377, + "character": 1 + } + ], + "signatures": [ + { + "id": 4016, + "name": "guildVanityUrl", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/vanity-url`" + }, + "parameters": [ + { + "id": 4017, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/vanity-url" + ] + ] + } + } + ] + }, + { + "id": 3996, + "name": "guildVoiceRegions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 328, + "character": 1 + } + ], + "signatures": [ + { + "id": 3997, + "name": "guildVoiceRegions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/regions`" + }, + "parameters": [ + { + "id": 3998, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/regions" + ] + ] + } + } + ] + }, + { + "id": 4108, + "name": "guildVoiceState", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 669, + "character": 1 + } + ], + "signatures": [ + { + "id": 4109, + "name": "guildVoiceState", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PATCH `/guilds/{guild.id}/voice-states/@me`\n- PATCH `/guilds/{guild.id}/voice-states/{user.id}`" + }, + "parameters": [ + { + "id": 4110, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4111, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'@me'" + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/voice-states/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4054, + "name": "guildWebhooks", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 499, + "character": 1 + } + ], + "signatures": [ + { + "id": 4055, + "name": "guildWebhooks", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/webhooks`" + }, + "parameters": [ + { + "id": 4056, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/webhooks" + ] + ] + } + } + ] + }, + { + "id": 4121, + "name": "guildWelcomeScreen", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 696, + "character": 1 + } + ], + "signatures": [ + { + "id": 4122, + "name": "guildWelcomeScreen", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/welcome-screen`\n- PATCH `/guilds/{guild.id}/welcome-screen`" + }, + "parameters": [ + { + "id": 4123, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/welcome-screen" + ] + ] + } + } + ] + }, + { + "id": 4018, + "name": "guildWidgetImage", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 385, + "character": 1 + } + ], + "signatures": [ + { + "id": 4019, + "name": "guildWidgetImage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/widget.png`" + }, + "parameters": [ + { + "id": 4020, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/widget.png" + ] + ] + } + } + ] + }, + { + "id": 4012, + "name": "guildWidgetJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 369, + "character": 1 + } + ], + "signatures": [ + { + "id": 4013, + "name": "guildWidgetJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/widget.json`" + }, + "parameters": [ + { + "id": 4014, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/widget.json" + ] + ] + } + } + ] + }, + { + "id": 4009, + "name": "guildWidgetSettings", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 361, + "character": 1 + } + ], + "signatures": [ + { + "id": 4010, + "name": "guildWidgetSettings", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/widget`\n- PATCH `/guilds/{guild.id}/widget`" + }, + "parameters": [ + { + "id": 4011, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/widget" + ] + ] + } + } + ] + }, + { + "id": 3950, + "name": "guilds", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 200, + "character": 1 + } + ], + "signatures": [ + { + "id": 3951, + "name": "guilds", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/guilds`" + }, + "type": { + "type": "literal", + "value": "/guilds" + } + } + ] + }, + { + "id": 4101, + "name": "interactionCallback", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 651, + "character": 1 + } + ], + "signatures": [ + { + "id": 4102, + "name": "interactionCallback", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/interactions/{interaction.id}/{interaction.token}/callback`" + }, + "parameters": [ + { + "id": 4103, + "name": "interactionId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4104, + "name": "interactionToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/interactions/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/callback" + ] + ] + } + } + ] + }, + { + "id": 4021, + "name": "invite", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 394, + "character": 1 + } + ], + "signatures": [ + { + "id": 4022, + "name": "invite", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/invites/{invite.code}`\n- DELETE `/invites/{invite.code}`" + }, + "parameters": [ + { + "id": 4023, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/invites/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4132, + "name": "nitroStickerPacks", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 730, + "character": 1 + } + ], + "signatures": [ + { + "id": 4133, + "name": "nitroStickerPacks", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/sticker-packs`" + }, + "type": { + "type": "literal", + "value": "/sticker-packs" + } + } + ] + }, + { + "id": 4079, + "name": "oauth2Authorization", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 587, + "character": 1 + } + ], + "signatures": [ + { + "id": 4080, + "name": "oauth2Authorization", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/oauth2/authorize`" + }, + "type": { + "type": "literal", + "value": "/oauth2/authorize" + } + } + ] + }, + { + "id": 4075, + "name": "oauth2CurrentApplication", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 571, + "character": 1 + } + ], + "signatures": [ + { + "id": 4076, + "name": "oauth2CurrentApplication", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/oauth2/applications/@me`" + }, + "type": { + "type": "literal", + "value": "/oauth2/applications/@me" + } + } + ] + }, + { + "id": 4077, + "name": "oauth2CurrentAuthorization", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 579, + "character": 1 + } + ], + "signatures": [ + { + "id": 4078, + "name": "oauth2CurrentAuthorization", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/oauth2/@me`" + }, + "type": { + "type": "literal", + "value": "/oauth2/@me" + } + } + ] + }, + { + "id": 4081, + "name": "oauth2TokenExchange", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 595, + "character": 1 + } + ], + "signatures": [ + { + "id": 4082, + "name": "oauth2TokenExchange", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/oauth2/token`" + }, + "type": { + "type": "literal", + "value": "/oauth2/token" + } + } + ] + }, + { + "id": 4083, + "name": "oauth2TokenRevocation", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 603, + "character": 1 + } + ], + "signatures": [ + { + "id": 4084, + "name": "oauth2TokenRevocation", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/oauth2/token/revoke`" + }, + "type": { + "type": "literal", + "value": "/oauth2/token/revoke" + } + } + ] + }, + { + "id": 4126, + "name": "stageInstance", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 714, + "character": 1 + } + ], + "signatures": [ + { + "id": 4127, + "name": "stageInstance", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/stage-instances/{channel.id}`\n- PATCH `/stage-instances/{channel.id}`\n- DELETE `/stage-instances/{channel.id}`" + }, + "parameters": [ + { + "id": 4128, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/stage-instances/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4124, + "name": "stageInstances", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 704, + "character": 1 + } + ], + "signatures": [ + { + "id": 4125, + "name": "stageInstances", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/stage-instances`" + }, + "type": { + "type": "literal", + "value": "/stage-instances" + } + } + ] + }, + { + "id": 4129, + "name": "sticker", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 722, + "character": 1 + } + ], + "signatures": [ + { + "id": 4130, + "name": "sticker", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/stickers/{sticker.id}`" + }, + "parameters": [ + { + "id": 4131, + "name": "stickerId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/stickers/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4024, + "name": "template", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 403, + "character": 1 + } + ], + "signatures": [ + { + "id": 4025, + "name": "template", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/templates/{template.code}`\n- POST `/guilds/templates/{template.code}`" + }, + "parameters": [ + { + "id": 4026, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/templates/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4034, + "name": "user", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 434, + "character": 1 + } + ], + "signatures": [ + { + "id": 4035, + "name": "user", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me`\n- GET `/users/{user.id}`\n- PATCH `/users/@me`" + }, + "parameters": [ + { + "id": 4036, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'@me'" + } + ], + "type": { + "type": "template-literal", + "head": "/users/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4045, + "name": "userChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 466, + "character": 1 + } + ], + "signatures": [ + { + "id": 4046, + "name": "userChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/users/@me/channels`" + }, + "type": { + "type": "literal", + "value": "/users/@me/channels" + } + } + ] + }, + { + "id": 4047, + "name": "userConnections", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 474, + "character": 1 + } + ], + "signatures": [ + { + "id": 4048, + "name": "userConnections", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me/connections`" + }, + "type": { + "type": "literal", + "value": "/users/@me/connections" + } + } + ] + }, + { + "id": 4042, + "name": "userGuild", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 458, + "character": 1 + } + ], + "signatures": [ + { + "id": 4043, + "name": "userGuild", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/users/@me/guilds/{guild.id}`" + }, + "parameters": [ + { + "id": 4044, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/users/@me/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4039, + "name": "userGuildMember", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 450, + "character": 1 + } + ], + "signatures": [ + { + "id": 4040, + "name": "userGuildMember", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me/guilds/{guild.id}/member`" + }, + "parameters": [ + { + "id": 4041, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/users/@me/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/member" + ] + ] + } + } + ] + }, + { + "id": 4037, + "name": "userGuilds", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 442, + "character": 1 + } + ], + "signatures": [ + { + "id": 4038, + "name": "userGuilds", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me/guilds`" + }, + "type": { + "type": "literal", + "value": "/users/@me/guilds" + } + } + ] + }, + { + "id": 4049, + "name": "voiceRegions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 482, + "character": 1 + } + ], + "signatures": [ + { + "id": 4050, + "name": "voiceRegions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/voice/regions`" + }, + "type": { + "type": "literal", + "value": "/voice/regions" + } + } + ] + }, + { + "id": 4057, + "name": "webhook", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 515, + "character": 1 + } + ], + "signatures": [ + { + "id": 4058, + "name": "webhook", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/webhooks/{webhook.id}`\n- GET `/webhooks/{webhook.id}/{webhook.token}`\n- PATCH `/webhooks/{webhook.id}`\n- PATCH `/webhooks/{webhook.id}/{webhook.token}`\n- DELETE `/webhooks/{webhook.id}`\n- DELETE `/webhooks/{webhook.id}/{webhook.token}`\n- POST `/webhooks/{webhook.id}/{webhook.token}`", + "text": "- POST `/webhooks/{application.id}/{interaction.token}`\n" + }, + "parameters": [ + { + "id": 4059, + "name": "webhookId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4060, + "name": "webhookToken", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + ] + } + } + ] + }, + { + "id": 4061, + "name": "webhookMessage", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 538, + "character": 1 + } + ], + "signatures": [ + { + "id": 4062, + "name": "webhookMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/webhooks/{webhook.id}/{webhook.token}/messages/@original`\n- GET `/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}`\n- PATCH `/webhooks/{webhook.id}/{webhook.token}/messages/@original`\n- PATCH `/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}`\n- DELETE `/webhooks/{webhook.id}/{webhook.token}/messages/@original`\n- DELETE `/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}`", + "text": "- PATCH `/webhooks/{application.id}/{interaction.token}/messages/@original`\n- PATCH `/webhooks/{application.id}/{interaction.token}/messages/{message.id}`\n- DELETE `/webhooks/{application.id}/{interaction.token}/messages/{message.id}`\n" + }, + "parameters": [ + { + "id": 4063, + "name": "webhookId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4064, + "name": "webhookToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4065, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'@original'" + } + ], + "type": { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 4066, + "name": "webhookPlatform", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v8/index.ts", + "line": 547, + "character": 1 + } + ], + "signatures": [ + { + "id": 4067, + "name": "webhookPlatform", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/webhooks/{webhook.id}/{webhook.token}/github`\n- POST `/webhooks/{webhook.id}/{webhook.token}/slack`" + }, + "parameters": [ + { + "id": 4068, + "name": "webhookId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4069, + "name": "webhookToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4070, + "name": "platform", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "github" + }, + { + "type": "literal", + "value": "slack" + } + ] + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/github" + ] + ] + }, + { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/slack" + ] + ] + } + ] + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "kind": 2048, + "children": [ + 4088, + 4116, + 4085, + 4096, + 4092, + 3882, + 3916, + 3926, + 3923, + 3888, + 3912, + 3892, + 3896, + 3907, + 3901, + 3885, + 3919, + 3935, + 3932, + 3939, + 3929, + 4051, + 4071, + 4073, + 3952, + 4112, + 3879, + 3982, + 3979, + 3958, + 3971, + 3946, + 3943, + 4005, + 4002, + 3999, + 3961, + 3974, + 4105, + 3965, + 3968, + 3955, + 3993, + 3989, + 3986, + 4144, + 4148, + 4141, + 4137, + 4134, + 4030, + 4027, + 4015, + 3996, + 4108, + 4054, + 4121, + 4018, + 4012, + 4009, + 3950, + 4101, + 4021, + 4132, + 4079, + 4075, + 4077, + 4081, + 4083, + 4126, + 4124, + 4129, + 4024, + 4034, + 4045, + 4047, + 4042, + 4039, + 4037, + 4049, + 4057, + 4061, + 4066 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "References", + "kind": 16777216, + "children": [ + 2457, + 2454, + 4166, + 4167, + 2459, + 2458, + 4165, + 4780, + 4779, + 2455, + 2076 + ] + }, + { + "title": "Enumerations", + "kind": 8, + "children": [ + 3043, + 3023, + 3027, + 2885, + 3436, + 3516, + 3366, + 2485, + 2513, + 2567, + 2925, + 2716, + 2897, + 3836, + 2832, + 2090, + 2122, + 2105, + 2078, + 3123, + 3126, + 3154, + 3130, + 3133, + 3144, + 3338, + 3347, + 3342, + 3149, + 3138, + 3259, + 3222, + 3614, + 3588, + 3645, + 3282, + 2790, + 2795, + 2761, + 3666, + 2815, + 2993, + 3711, + 3735, + 3732, + 3759, + 2931, + 3806, + 3822, + 2725, + 3872 + ] + }, + { + "title": "Interfaces", + "kind": 256, + "children": [ + 2902, + 2889, + 2460, + 3356, + 3597, + 3413, + 3421, + 3429, + 3453, + 3474, + 3464, + 3448, + 3512, + 3468, + 3458, + 2482, + 2869, + 2499, + 2505, + 2558, + 3235, + 2894, + 3541, + 2910, + 2917, + 2639, + 2880, + 4174, + 3394, + 3400, + 3625, + 3826, + 2818, + 2856, + 2865, + 2861, + 2848, + 2853, + 2839, + 2844, + 2967, + 3648, + 3318, + 2803, + 2978, + 2976, + 2982, + 2706, + 3071, + 3507, + 2652, + 4296, + 4308, + 3205, + 3228, + 3194, + 3273, + 3277, + 3179, + 3336, + 3349, + 2663, + 3265, + 3268, + 3238, + 3245, + 3249, + 3191, + 3225, + 3371, + 3376, + 3529, + 3603, + 3606, + 3609, + 3595, + 3611, + 3632, + 3714, + 2728, + 2783, + 3489, + 3495, + 3563, + 2906, + 3523, + 2786, + 3568, + 3600, + 3627, + 3581, + 2810, + 2635, + 2963, + 3059, + 2806, + 3688, + 3700, + 2934, + 2942, + 3704, + 3284, + 3719, + 3740, + 3748, + 3754, + 3762, + 3774, + 2646, + 2676, + 2948, + 3056, + 3790, + 3480, + 3486, + 2692, + 3301, + 3853, + 3859, + 3003, + 3053, + 3038, + 3034, + 2221, + 2234, + 2242, + 2250, + 2253, + 2266, + 2274, + 2291, + 2283, + 2301, + 2306, + 2246, + 2401, + 2187, + 2182, + 2175, + 2180, + 2405, + 2408, + 2416, + 2319, + 2192, + 2326, + 2340, + 2357, + 2352, + 2368, + 2999, + 2987, + 2448, + 2204, + 2198, + 2427, + 2430, + 2420, + 2423, + 2382, + 2445, + 2393, + 3839, + 2437, + 2440, + 2398, + 3578, + 3574, + 4712, + 4168, + 4227, + 4196, + 4708, + 4372, + 4376, + 4442, + 4445, + 4333, + 4503, + 4511, + 4488, + 4462, + 4465, + 4568, + 4575, + 4667, + 4626, + 4634, + 4580, + 4587, + 4620, + 4608, + 4267, + 4247, + 4523, + 4721, + 4452, + 4671, + 4654, + 4759, + 4596, + 4590, + 4639, + 4646, + 4616, + 4602, + 4563, + 4250 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 2960, + 3409, + 3520, + 3521, + 3519, + 3390, + 3411, + 3388, + 3389, + 3420, + 3387, + 3370, + 3410, + 3393, + 3412, + 3419, + 3427, + 3392, + 3435, + 3479, + 3385, + 3426, + 3428, + 3391, + 3434, + 3452, + 3478, + 2570, + 2589, + 2590, + 2580, + 2581, + 2606, + 2600, + 2628, + 2629, + 2618, + 2576, + 2597, + 2609, + 2608, + 2603, + 2634, + 2615, + 2587, + 2607, + 2572, + 2575, + 2621, + 2631, + 2622, + 2623, + 2586, + 2627, + 2630, + 2604, + 2573, + 2619, + 2610, + 2633, + 2584, + 2613, + 2611, + 2605, + 2616, + 2599, + 2571, + 2617, + 2577, + 2598, + 2602, + 2595, + 2579, + 2625, + 2591, + 2583, + 2601, + 2578, + 2582, + 2574, + 2632, + 2594, + 2626, + 2614, + 2596, + 2620, + 2624, + 2612, + 2588, + 2585, + 2593, + 2592, + 2924, + 2715, + 3407, + 3408, + 3406, + 3505, + 3506, + 3504, + 3497, + 2705, + 3354, + 3557, + 2690, + 4301, + 4302, + 3355, + 3221, + 3559, + 3335, + 2691, + 3353, + 3594, + 3622, + 3631, + 2961, + 3502, + 3503, + 3501, + 3567, + 2958, + 3572, + 3573, + 3561, + 3562, + 4203, + 2962, + 2959, + 3585, + 3586, + 3584, + 2689, + 3587, + 3739, + 3499, + 3500, + 3498, + 3041, + 3037, + 3042, + 2453, + 2214, + 2215, + 2218, + 2219, + 2212, + 2213, + 2220, + 2216, + 2217, + 2174, + 2237, + 2238, + 2233, + 2239, + 2240, + 2227, + 2228, + 2231, + 2232, + 2241, + 2249, + 2252, + 2265, + 2269, + 2270, + 2273, + 2225, + 2226, + 2286, + 2287, + 2290, + 2282, + 2288, + 2289, + 2294, + 2295, + 2298, + 2299, + 2296, + 2297, + 2300, + 2305, + 2245, + 2229, + 2230, + 2404, + 2310, + 2311, + 2318, + 2314, + 2315, + 2323, + 2324, + 2197, + 2325, + 2339, + 2344, + 2345, + 2356, + 2351, + 2361, + 2362, + 2365, + 2366, + 2363, + 2364, + 2367, + 2346, + 2347, + 2373, + 2374, + 2203, + 2173, + 2211, + 2172, + 2375, + 2376, + 2377, + 2378, + 2379, + 2380, + 2381, + 2388, + 2389, + 2392, + 2390, + 2391, + 2397, + 4725, + 2645, + 2662, + 3522, + 4231, + 4225, + 4232, + 4246, + 4226, + 4266, + 4273, + 4279, + 4195, + 4720, + 4414, + 4293, + 4457, + 4406, + 4405, + 4360, + 4441, + 4510, + 4683, + 4699, + 4560, + 4550, + 4573, + 4665, + 4743, + 4778, + 4744, + 4562, + 4518, + 4517, + 4535, + 4534, + 4173, + 4255, + 4230, + 4202, + 4201, + 4271, + 4179, + 4731, + 4724, + 4719, + 4700, + 4295, + 4294, + 4561, + 4408, + 4407, + 4361, + 4281, + 4280, + 4456, + 4455, + 4371, + 4468, + 4375, + 4379, + 4336, + 4335, + 4415, + 4505, + 4516, + 4490, + 4670, + 4669, + 4690, + 4454, + 4732, + 4484, + 4467, + 4461, + 4458, + 4556, + 4546, + 4572, + 4574, + 4659, + 4666, + 4684, + 4701, + 4733, + 4770, + 4734, + 4702, + 4615, + 4530, + 4531, + 4538, + 4539, + 4180, + 4242, + 4233, + 4245, + 4194, + 4400, + 4397, + 4403, + 4703, + 4707, + 4364, + 4370, + 4288, + 4292, + 4337, + 4388, + 4396, + 4469, + 4474, + 4359, + 4431, + 4426, + 4430, + 4440, + 4506, + 4509, + 4677, + 4682, + 4697, + 4698, + 4475, + 4480, + 4485, + 4459, + 4460, + 4558, + 4557, + 4559, + 4548, + 4547, + 4549, + 4660, + 4664, + 4735, + 4740, + 4741, + 4774, + 4771, + 4777, + 4742, + 4528, + 4529, + 4536, + 4537, + 4269, + 4256, + 4265, + 4223, + 4219, + 4206, + 4222, + 4249, + 4270, + 4726, + 4730, + 4519, + 4723, + 4362, + 4363, + 4282, + 4287, + 4447, + 4416, + 4425, + 4491, + 4502, + 4676, + 4691, + 4695, + 4317, + 4332, + 4543, + 4542, + 4552, + 4551, + 4555, + 4658, + 4685, + 4689, + 4756, + 4767, + 4768, + 4769, + 4745, + 4762, + 4764, + 4765, + 4766, + 4763, + 4653, + 4619, + 4607, + 4565, + 4532, + 4533, + 4540, + 4541, + 4224, + 4254, + 4272, + 4274, + 4278, + 4566, + 4567, + 4409, + 4413, + 4380, + 4387, + 4404, + 4696, + 2644 + ] + }, + { + "title": "Variables", + "kind": 32, + "children": [ + 3876, + 2077, + 4160, + 4152, + 3877 + ] + } + ], + "sources": [ + { + "fileName": "v8.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 286, + "name": "v9", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 5212, + "name": "FormattingPatterns", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 4 + }, + { + "id": 5209, + "name": "GatewayURLQuery", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 18 + }, + { + "id": 7064, + "name": "Locale", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 227 + }, + { + "id": 7065, + "name": "LocaleString", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 258 + }, + { + "id": 5214, + "name": "LocalizationMap", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 66 + }, + { + "id": 5213, + "name": "PermissionFlagsBits", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 23 + }, + { + "id": 7063, + "name": "RESTJSONErrorCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 68 + }, + { + "id": 7722, + "name": "RPCCloseEventCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 277 + }, + { + "id": 7721, + "name": "RPCErrorCodes", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 260 + }, + { + "id": 5210, + "name": "Snowflake", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 2 + }, + { + "id": 4781, + "name": "Utils", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "sources": [ + { + "fileName": "v9.ts", + "line": 6, + "character": 12 + } + ], + "target": 344 + }, + { + "id": 5881, + "name": "ActivityFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-flags" + }, + "children": [ + { + "id": 5890, + "name": "Embedded", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 316, + "character": 1 + } + ], + "defaultValue": "256" + }, + { + "id": 5882, + "name": "Instance", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 308, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5883, + "name": "Join", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 309, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 5885, + "name": "JoinRequest", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 311, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 5888, + "name": "PartyPrivacyFriends", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 314, + "character": 1 + } + ], + "defaultValue": "64" + }, + { + "id": 5889, + "name": "PartyPrivacyVoiceChannel", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 315, + "character": 1 + } + ], + "defaultValue": "128" + }, + { + "id": 5887, + "name": "Play", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 313, + "character": 1 + } + ], + "defaultValue": "32" + }, + { + "id": 5884, + "name": "Spectate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 310, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 5886, + "name": "Sync", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 312, + "character": 1 + } + ], + "defaultValue": "16" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5890, + 5882, + 5883, + 5885, + 5888, + 5889, + 5887, + 5884, + 5886 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 307, + "character": 12 + } + ] + }, + { + "id": 5856, + "name": "ActivityPlatform", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "unstable", + "text": "This enum is currently not documented by Discord but has known values which we will try to keep up to date.\nValues might be added or removed without a major version bump.\n" + } + ] + }, + "children": [ + { + "id": 5861, + "name": "Android", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 223, + "character": 1 + } + ], + "defaultValue": "\"android\"" + }, + { + "id": 5857, + "name": "Desktop", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 219, + "character": 1 + } + ], + "defaultValue": "\"desktop\"" + }, + { + "id": 5862, + "name": "Embedded", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 224, + "character": 1 + } + ], + "defaultValue": "\"embedded\"" + }, + { + "id": 5860, + "name": "IOS", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 222, + "character": 1 + } + ], + "defaultValue": "\"ios\"" + }, + { + "id": 5863, + "name": "PS4", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 225, + "character": 1 + } + ], + "defaultValue": "\"ps4\"" + }, + { + "id": 5864, + "name": "PS5", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 226, + "character": 1 + } + ], + "defaultValue": "\"ps5\"" + }, + { + "id": 5859, + "name": "Samsung", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 221, + "character": 1 + } + ], + "defaultValue": "\"samsung\"" + }, + { + "id": 5858, + "name": "Xbox", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 220, + "character": 1 + } + ], + "defaultValue": "\"xbox\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5861, + 5857, + 5862, + 5860, + 5863, + 5864, + 5859, + 5858 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 218, + "character": 12 + } + ] + }, + { + "id": 5865, + "name": "ActivityType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-types" + }, + "children": [ + { + "id": 5871, + "name": "Competing", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Competing in {name}" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 256, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 5870, + "name": "Custom", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "{emoji} {details}" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 252, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 5868, + "name": "Listening", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Listening to {name}" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 244, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 5866, + "name": "Playing", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Playing {game}" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 236, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 5867, + "name": "Streaming", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Streaming {details}" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 240, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5869, + "name": "Watching", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Watching {details}" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 248, + "character": 1 + } + ], + "defaultValue": "3" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5871, + 5870, + 5868, + 5866, + 5867, + 5869 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 232, + "character": 12 + } + ] + }, + { + "id": 5709, + "name": "AllowedMentionsTypes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mention-types" + }, + "children": [ + { + "id": 5710, + "name": "Everyone", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Controls @everyone and @here mentions" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1115, + "character": 1 + } + ], + "defaultValue": "\"everyone\"" + }, + { + "id": 5711, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Controls role mentions" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1119, + "character": 1 + } + ], + "defaultValue": "\"roles\"" + }, + { + "id": 5712, + "name": "User", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Controls user mentions" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1123, + "character": 1 + } + ], + "defaultValue": "\"users\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5710, + 5711, + 5712 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1111, + "character": 12 + } + ] + }, + { + "id": 6292, + "name": "ApplicationCommandOptionType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-type" + }, + "children": [ + { + "id": 6303, + "name": "Attachment", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 17, + "character": 1 + } + ], + "defaultValue": "11" + }, + { + "id": 6297, + "name": "Boolean", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 11, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 6299, + "name": "Channel", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 13, + "character": 1 + } + ], + "defaultValue": "7" + }, + { + "id": 6296, + "name": "Integer", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 10, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 6301, + "name": "Mentionable", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 15, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 6302, + "name": "Number", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 16, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 6300, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 14, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 6295, + "name": "String", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 9, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 6293, + "name": "Subcommand", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 7, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 6294, + "name": "SubcommandGroup", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 8, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 6298, + "name": "User", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 12, + "character": 1 + } + ], + "defaultValue": "6" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6303, + 6297, + 6299, + 6296, + 6301, + 6302, + 6300, + 6295, + 6293, + 6294, + 6298 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 6, + "character": 12 + } + ] + }, + { + "id": 6379, + "name": "ApplicationCommandPermissionType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-application-command-permission-type" + }, + "children": [ + { + "id": 6382, + "name": "Channel", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 49, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 6380, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 47, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 6381, + "name": "User", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 48, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6382, + 6380, + 6381 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 46, + "character": 12 + } + ] + }, + { + "id": 6217, + "name": "ApplicationCommandType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-types" + }, + "children": [ + { + "id": 6218, + "name": "ChatInput", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 98, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 6220, + "name": "Message", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 100, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 6219, + "name": "User", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 99, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6218, + 6220, + 6219 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 97, + "character": 12 + } + ] + }, + { + "id": 5240, + "name": "ApplicationFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/application#application-object-application-flags" + }, + "children": [ + { + "id": 5250, + "name": "Embedded", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 128, + "character": 1 + } + ], + "defaultValue": "131072" + }, + { + "id": 5253, + "name": "EmbeddedFirstParty", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 131, + "character": 1 + } + ], + "defaultValue": "1048576" + }, + { + "id": 5241, + "name": "EmbeddedReleased", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 119, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 5247, + "name": "GatewayGuildMembers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 125, + "character": 1 + } + ], + "defaultValue": "16384" + }, + { + "id": 5248, + "name": "GatewayGuildMembersLimited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 126, + "character": 1 + } + ], + "defaultValue": "32768" + }, + { + "id": 5251, + "name": "GatewayMessageContent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 129, + "character": 1 + } + ], + "defaultValue": "262144" + }, + { + "id": 5252, + "name": "GatewayMessageContentLimited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 130, + "character": 1 + } + ], + "defaultValue": "524288" + }, + { + "id": 5245, + "name": "GatewayPresence", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 123, + "character": 1 + } + ], + "defaultValue": "4096" + }, + { + "id": 5246, + "name": "GatewayPresenceLimited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 124, + "character": 1 + } + ], + "defaultValue": "8192" + }, + { + "id": 5243, + "name": "GroupDMCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 121, + "character": 1 + } + ], + "defaultValue": "16" + }, + { + "id": 5242, + "name": "ManagedEmoji", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 120, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 5244, + "name": "RPCHasConnected", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 122, + "character": 1 + } + ], + "defaultValue": "2048" + }, + { + "id": 5249, + "name": "VerificationPendingGuildLimit", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 127, + "character": 1 + } + ], + "defaultValue": "65536" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5250, + 5253, + 5241, + 5247, + 5248, + 5251, + 5252, + 5245, + 5246, + 5243, + 5242, + 5244, + 5249 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 118, + "character": 12 + } + ] + }, + { + "id": 5270, + "name": "AuditLogEvent", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events" + }, + "children": [ + { + "id": 5318, + "name": "ApplicationCommandPermissionUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 182, + "character": 1 + } + ], + "defaultValue": "121" + }, + { + "id": 5286, + "name": "BotAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 140, + "character": 1 + } + ], + "defaultValue": "28" + }, + { + "id": 5272, + "name": "ChannelCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 125, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 5274, + "name": "ChannelDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 127, + "character": 1 + } + ], + "defaultValue": "12" + }, + { + "id": 5275, + "name": "ChannelOverwriteCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 128, + "character": 1 + } + ], + "defaultValue": "13" + }, + { + "id": 5277, + "name": "ChannelOverwriteDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 130, + "character": 1 + } + ], + "defaultValue": "15" + }, + { + "id": 5276, + "name": "ChannelOverwriteUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 129, + "character": 1 + } + ], + "defaultValue": "14" + }, + { + "id": 5273, + "name": "ChannelUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 126, + "character": 1 + } + ], + "defaultValue": "11" + }, + { + "id": 5296, + "name": "EmojiCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 154, + "character": 1 + } + ], + "defaultValue": "60" + }, + { + "id": 5298, + "name": "EmojiDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 156, + "character": 1 + } + ], + "defaultValue": "62" + }, + { + "id": 5297, + "name": "EmojiUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 155, + "character": 1 + } + ], + "defaultValue": "61" + }, + { + "id": 5312, + "name": "GuildScheduledEventCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 174, + "character": 1 + } + ], + "defaultValue": "100" + }, + { + "id": 5314, + "name": "GuildScheduledEventDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 176, + "character": 1 + } + ], + "defaultValue": "102" + }, + { + "id": 5313, + "name": "GuildScheduledEventUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 175, + "character": 1 + } + ], + "defaultValue": "101" + }, + { + "id": 5271, + "name": "GuildUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 123, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5303, + "name": "IntegrationCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 163, + "character": 1 + } + ], + "defaultValue": "80" + }, + { + "id": 5305, + "name": "IntegrationDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 165, + "character": 1 + } + ], + "defaultValue": "82" + }, + { + "id": 5304, + "name": "IntegrationUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 164, + "character": 1 + } + ], + "defaultValue": "81" + }, + { + "id": 5290, + "name": "InviteCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 146, + "character": 1 + } + ], + "defaultValue": "40" + }, + { + "id": 5292, + "name": "InviteDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 148, + "character": 1 + } + ], + "defaultValue": "42" + }, + { + "id": 5291, + "name": "InviteUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 147, + "character": 1 + } + ], + "defaultValue": "41" + }, + { + "id": 5280, + "name": "MemberBanAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 134, + "character": 1 + } + ], + "defaultValue": "22" + }, + { + "id": 5281, + "name": "MemberBanRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 135, + "character": 1 + } + ], + "defaultValue": "23" + }, + { + "id": 5285, + "name": "MemberDisconnect", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 139, + "character": 1 + } + ], + "defaultValue": "27" + }, + { + "id": 5278, + "name": "MemberKick", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 132, + "character": 1 + } + ], + "defaultValue": "20" + }, + { + "id": 5284, + "name": "MemberMove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 138, + "character": 1 + } + ], + "defaultValue": "26" + }, + { + "id": 5279, + "name": "MemberPrune", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 133, + "character": 1 + } + ], + "defaultValue": "21" + }, + { + "id": 5283, + "name": "MemberRoleUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 137, + "character": 1 + } + ], + "defaultValue": "25" + }, + { + "id": 5282, + "name": "MemberUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 136, + "character": 1 + } + ], + "defaultValue": "24" + }, + { + "id": 5300, + "name": "MessageBulkDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 159, + "character": 1 + } + ], + "defaultValue": "73" + }, + { + "id": 5299, + "name": "MessageDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 158, + "character": 1 + } + ], + "defaultValue": "72" + }, + { + "id": 5301, + "name": "MessagePin", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 160, + "character": 1 + } + ], + "defaultValue": "74" + }, + { + "id": 5302, + "name": "MessageUnpin", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 161, + "character": 1 + } + ], + "defaultValue": "75" + }, + { + "id": 5287, + "name": "RoleCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 142, + "character": 1 + } + ], + "defaultValue": "30" + }, + { + "id": 5289, + "name": "RoleDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 144, + "character": 1 + } + ], + "defaultValue": "32" + }, + { + "id": 5288, + "name": "RoleUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 143, + "character": 1 + } + ], + "defaultValue": "31" + }, + { + "id": 5306, + "name": "StageInstanceCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 166, + "character": 1 + } + ], + "defaultValue": "83" + }, + { + "id": 5308, + "name": "StageInstanceDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 168, + "character": 1 + } + ], + "defaultValue": "85" + }, + { + "id": 5307, + "name": "StageInstanceUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 167, + "character": 1 + } + ], + "defaultValue": "84" + }, + { + "id": 5309, + "name": "StickerCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 170, + "character": 1 + } + ], + "defaultValue": "90" + }, + { + "id": 5311, + "name": "StickerDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 172, + "character": 1 + } + ], + "defaultValue": "92" + }, + { + "id": 5310, + "name": "StickerUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 171, + "character": 1 + } + ], + "defaultValue": "91" + }, + { + "id": 5315, + "name": "ThreadCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 178, + "character": 1 + } + ], + "defaultValue": "110" + }, + { + "id": 5317, + "name": "ThreadDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 180, + "character": 1 + } + ], + "defaultValue": "112" + }, + { + "id": 5316, + "name": "ThreadUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 179, + "character": 1 + } + ], + "defaultValue": "111" + }, + { + "id": 5293, + "name": "WebhookCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 150, + "character": 1 + } + ], + "defaultValue": "50" + }, + { + "id": 5295, + "name": "WebhookDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 152, + "character": 1 + } + ], + "defaultValue": "52" + }, + { + "id": 5294, + "name": "WebhookUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 151, + "character": 1 + } + ], + "defaultValue": "51" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5318, + 5286, + 5272, + 5274, + 5275, + 5277, + 5276, + 5273, + 5296, + 5298, + 5297, + 5312, + 5314, + 5313, + 5271, + 5303, + 5305, + 5304, + 5290, + 5292, + 5291, + 5280, + 5281, + 5285, + 5278, + 5284, + 5279, + 5283, + 5282, + 5300, + 5299, + 5301, + 5302, + 5287, + 5289, + 5288, + 5306, + 5308, + 5307, + 5309, + 5311, + 5310, + 5315, + 5317, + 5316, + 5293, + 5295, + 5294 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 122, + "character": 12 + } + ] + }, + { + "id": 5328, + "name": "AuditLogOptionsType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 5330, + "name": "Member", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 275, + "character": 1 + } + ], + "defaultValue": "\"1\"" + }, + { + "id": 5329, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 274, + "character": 1 + } + ], + "defaultValue": "\"0\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5330, + 5329 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 273, + "character": 12 + } + ] + }, + { + "id": 5756, + "name": "ButtonStyle", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#button-object-button-styles" + }, + "children": [ + { + "id": 5760, + "name": "Danger", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1258, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 5761, + "name": "Link", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1259, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 5757, + "name": "Primary", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1255, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5758, + "name": "Secondary", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1256, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 5759, + "name": "Success", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1257, + "character": 1 + } + ], + "defaultValue": "3" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5760, + 5761, + 5757, + 5758, + 5759 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1254, + "character": 12 + } + ] + }, + { + "id": 5789, + "name": "ChannelFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-object-channel-flags" + }, + "children": [ + { + "id": 5790, + "name": "Pinned", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1374, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5790 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1373, + "character": 12 + } + ] + }, + { + "id": 5509, + "name": "ChannelType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-object-channel-types" + }, + "children": [ + { + "id": 5511, + "name": "DM", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A direct message between users" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 255, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5513, + "name": "GroupDM", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A direct message between multiple users" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 263, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 5514, + "name": "GuildCategory", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "An organizational category that contains up to 50 channels", + "text": "See https://support.discord.com/hc/en-us/articles/115001580171-Channel-Categories-101\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 269, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 5520, + "name": "GuildDirectory", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The channel in a Student Hub containing the listed servers", + "text": "See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 299, + "character": 1 + } + ], + "defaultValue": "14" + }, + { + "id": 5521, + "name": "GuildForum", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A channel that can only contain threads" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 303, + "character": 1 + } + ], + "defaultValue": "15" + }, + { + "id": 5515, + "name": "GuildNews", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A channel that users can follow and crosspost into their own guild", + "text": "See https://support.discord.com/hc/en-us/articles/360032008192\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 275, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 5516, + "name": "GuildNewsThread", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A thread channel (public) within a Guild News channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 279, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 5518, + "name": "GuildPrivateThread", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A private thread channel within a Guild Text channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 287, + "character": 1 + } + ], + "defaultValue": "12" + }, + { + "id": 5517, + "name": "GuildPublicThread", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A public thread channel within a Guild Text channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 283, + "character": 1 + } + ], + "defaultValue": "11" + }, + { + "id": 5519, + "name": "GuildStageVoice", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A voice channel for hosting events with an audience", + "text": "See https://support.discord.com/hc/en-us/articles/1500005513722\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 293, + "character": 1 + } + ], + "defaultValue": "13" + }, + { + "id": 5510, + "name": "GuildText", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A text channel within a guild" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 251, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 5512, + "name": "GuildVoice", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A voice channel within a guild" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 259, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5511, + 5513, + 5514, + 5520, + 5521, + 5515, + 5516, + 5518, + 5517, + 5519, + 5510, + 5512 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 247, + "character": 12 + } + ] + }, + { + "id": 5721, + "name": "ComponentType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#component-types" + }, + "children": [ + { + "id": 5722, + "name": "ActionRow", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Action Row component" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1169, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5723, + "name": "Button", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Button component" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1173, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 5724, + "name": "SelectMenu", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Select Menu component" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1177, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 5725, + "name": "TextInput", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Text Input component" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1181, + "character": 1 + } + ], + "defaultValue": "4" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5722, + 5723, + 5724, + 5725 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1165, + "character": 12 + } + ] + }, + { + "id": 6716, + "name": "ConnectionVisibility", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 6718, + "name": "Everyone", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Visible to everyone" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 213, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 6717, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Invisible to everyone except the user themselves" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 209, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6718, + 6717 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 205, + "character": 12 + } + ] + }, + { + "id": 5656, + "name": "EmbedType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-types", + "tags": [ + { + "tag": "deprecated", + "text": "*Embed types should be considered deprecated and might be removed in a future API version*\n" + } + ] + }, + "children": [ + { + "id": 5661, + "name": "Article", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Article embed" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 887, + "character": 1 + } + ], + "defaultValue": "\"article\"" + }, + { + "id": 5660, + "name": "GIFV", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Animated gif image embed rendered as a video embed" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 883, + "character": 1 + } + ], + "defaultValue": "\"gifv\"" + }, + { + "id": 5658, + "name": "Image", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Image embed" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 875, + "character": 1 + } + ], + "defaultValue": "\"image\"" + }, + { + "id": 5662, + "name": "Link", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Link embed" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 891, + "character": 1 + } + ], + "defaultValue": "\"link\"" + }, + { + "id": 5657, + "name": "Rich", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Generic embed rendered from embed attributes" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 871, + "character": 1 + } + ], + "defaultValue": "\"rich\"" + }, + { + "id": 5659, + "name": "Video", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Video embed" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 879, + "character": 1 + } + ], + "defaultValue": "\"video\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5661, + 5660, + 5658, + 5662, + 5657, + 5659 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 867, + "character": 12 + } + ] + }, + { + "id": 4795, + "name": "GatewayCloseCodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes" + }, + "children": [ + { + "id": 4801, + "name": "AlreadyAuthenticated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent more than one identify payload. Don't do that!" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 124, + "character": 1 + } + ], + "defaultValue": "4005" + }, + { + "id": 4800, + "name": "AuthenticationFailed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The account token sent with your identify payload is incorrect", + "text": "See https://discord.com/developers/docs/topics/gateway#identify\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 120, + "character": 1 + } + ], + "defaultValue": "4004" + }, + { + "id": 4798, + "name": "DecodeError", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent an invalid payload to us. Don't do that!", + "text": "See https://discord.com/developers/docs/topics/gateway#sending-payloads\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 108, + "character": 1 + } + ], + "defaultValue": "4002" + }, + { + "id": 4809, + "name": "DisallowedIntents", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent a disallowed intent for a Gateway Intent. You may have tried to specify an intent that you have not\nenabled or are not whitelisted for", + "text": "See https://discord.com/developers/docs/topics/gateway#gateway-intents\n\nSee https://discord.com/developers/docs/topics/gateway#privileged-intents\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 169, + "character": 1 + } + ], + "defaultValue": "4014" + }, + { + "id": 4807, + "name": "InvalidAPIVersion", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent an invalid version for the gateway" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 154, + "character": 1 + } + ], + "defaultValue": "4012" + }, + { + "id": 4808, + "name": "InvalidIntents", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent an invalid intent for a Gateway Intent. You may have incorrectly calculated the bitwise value", + "text": "See https://discord.com/developers/docs/topics/gateway#gateway-intents\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 160, + "character": 1 + } + ], + "defaultValue": "4013" + }, + { + "id": 4802, + "name": "InvalidSeq", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The sequence sent when resuming the session was invalid. Reconnect and start a new session", + "text": "See https://discord.com/developers/docs/topics/gateway#resume\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 130, + "character": 1 + } + ], + "defaultValue": "4007" + }, + { + "id": 4805, + "name": "InvalidShard", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent us an invalid shard when identifying", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 144, + "character": 1 + } + ], + "defaultValue": "4010" + }, + { + "id": 4799, + "name": "NotAuthenticated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent us a payload prior to identifying", + "text": "See https://discord.com/developers/docs/topics/gateway#identify\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 114, + "character": 1 + } + ], + "defaultValue": "4003" + }, + { + "id": 4803, + "name": "RateLimited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Woah nelly! You're sending payloads to us too quickly. Slow it down! You will be disconnected on receiving this" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 134, + "character": 1 + } + ], + "defaultValue": "4008" + }, + { + "id": 4804, + "name": "SessionTimedOut", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Your session timed out. Reconnect and start a new one" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 138, + "character": 1 + } + ], + "defaultValue": "4009" + }, + { + "id": 4806, + "name": "ShardingRequired", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The session would have handled too many guilds - you are required to shard your connection in order to connect", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 150, + "character": 1 + } + ], + "defaultValue": "4011" + }, + { + "id": 4796, + "name": "UnknownError", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "We're not sure what went wrong. Try reconnecting?" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 96, + "character": 1 + } + ], + "defaultValue": "4000" + }, + { + "id": 4797, + "name": "UnknownOpcode", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent an invalid Gateway opcode or an invalid payload for an opcode. Don't do that!", + "text": "See https://discord.com/developers/docs/topics/gateway#payloads-and-opcodes\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 102, + "character": 1 + } + ], + "defaultValue": "4001" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 4801, + 4800, + 4798, + 4809, + 4807, + 4808, + 4802, + 4805, + 4799, + 4803, + 4804, + 4806, + 4796, + 4797 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 92, + "character": 12 + } + ] + }, + { + "id": 4827, + "name": "GatewayDispatchEvents", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#commands-and-events-gateway-events" + }, + "children": [ + { + "id": 4828, + "name": "ApplicationCommandPermissionsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 198, + "character": 1 + } + ], + "defaultValue": "\"APPLICATION_COMMAND_PERMISSIONS_UPDATE\"" + }, + { + "id": 4829, + "name": "ChannelCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 199, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_CREATE\"" + }, + { + "id": 4830, + "name": "ChannelDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 200, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_DELETE\"" + }, + { + "id": 4831, + "name": "ChannelPinsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 201, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_PINS_UPDATE\"" + }, + { + "id": 4832, + "name": "ChannelUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 202, + "character": 1 + } + ], + "defaultValue": "\"CHANNEL_UPDATE\"" + }, + { + "id": 4833, + "name": "GuildBanAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 203, + "character": 1 + } + ], + "defaultValue": "\"GUILD_BAN_ADD\"" + }, + { + "id": 4834, + "name": "GuildBanRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 204, + "character": 1 + } + ], + "defaultValue": "\"GUILD_BAN_REMOVE\"" + }, + { + "id": 4835, + "name": "GuildCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 205, + "character": 1 + } + ], + "defaultValue": "\"GUILD_CREATE\"" + }, + { + "id": 4836, + "name": "GuildDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 206, + "character": 1 + } + ], + "defaultValue": "\"GUILD_DELETE\"" + }, + { + "id": 4837, + "name": "GuildEmojisUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 207, + "character": 1 + } + ], + "defaultValue": "\"GUILD_EMOJIS_UPDATE\"" + }, + { + "id": 4838, + "name": "GuildIntegrationsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 208, + "character": 1 + } + ], + "defaultValue": "\"GUILD_INTEGRATIONS_UPDATE\"" + }, + { + "id": 4839, + "name": "GuildMemberAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 209, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBER_ADD\"" + }, + { + "id": 4840, + "name": "GuildMemberRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 210, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBER_REMOVE\"" + }, + { + "id": 4842, + "name": "GuildMemberUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 212, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBER_UPDATE\"" + }, + { + "id": 4841, + "name": "GuildMembersChunk", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 211, + "character": 1 + } + ], + "defaultValue": "\"GUILD_MEMBERS_CHUNK\"" + }, + { + "id": 4843, + "name": "GuildRoleCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 213, + "character": 1 + } + ], + "defaultValue": "\"GUILD_ROLE_CREATE\"" + }, + { + "id": 4844, + "name": "GuildRoleDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 214, + "character": 1 + } + ], + "defaultValue": "\"GUILD_ROLE_DELETE\"" + }, + { + "id": 4845, + "name": "GuildRoleUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 215, + "character": 1 + } + ], + "defaultValue": "\"GUILD_ROLE_UPDATE\"" + }, + { + "id": 4879, + "name": "GuildScheduledEventCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 249, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_CREATE\"" + }, + { + "id": 4881, + "name": "GuildScheduledEventDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 251, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_DELETE\"" + }, + { + "id": 4880, + "name": "GuildScheduledEventUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 250, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_UPDATE\"" + }, + { + "id": 4882, + "name": "GuildScheduledEventUserAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 252, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_USER_ADD\"" + }, + { + "id": 4883, + "name": "GuildScheduledEventUserRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 253, + "character": 1 + } + ], + "defaultValue": "\"GUILD_SCHEDULED_EVENT_USER_REMOVE\"" + }, + { + "id": 4846, + "name": "GuildStickersUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 216, + "character": 1 + } + ], + "defaultValue": "\"GUILD_STICKERS_UPDATE\"" + }, + { + "id": 4847, + "name": "GuildUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 217, + "character": 1 + } + ], + "defaultValue": "\"GUILD_UPDATE\"" + }, + { + "id": 4848, + "name": "IntegrationCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 218, + "character": 1 + } + ], + "defaultValue": "\"INTEGRATION_CREATE\"" + }, + { + "id": 4849, + "name": "IntegrationDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 219, + "character": 1 + } + ], + "defaultValue": "\"INTEGRATION_DELETE\"" + }, + { + "id": 4850, + "name": "IntegrationUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 220, + "character": 1 + } + ], + "defaultValue": "\"INTEGRATION_UPDATE\"" + }, + { + "id": 4851, + "name": "InteractionCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 221, + "character": 1 + } + ], + "defaultValue": "\"INTERACTION_CREATE\"" + }, + { + "id": 4852, + "name": "InviteCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 222, + "character": 1 + } + ], + "defaultValue": "\"INVITE_CREATE\"" + }, + { + "id": 4853, + "name": "InviteDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 223, + "character": 1 + } + ], + "defaultValue": "\"INVITE_DELETE\"" + }, + { + "id": 4854, + "name": "MessageCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 224, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_CREATE\"" + }, + { + "id": 4855, + "name": "MessageDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 225, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_DELETE\"" + }, + { + "id": 4856, + "name": "MessageDeleteBulk", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 226, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_DELETE_BULK\"" + }, + { + "id": 4857, + "name": "MessageReactionAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 227, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_ADD\"" + }, + { + "id": 4858, + "name": "MessageReactionRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 228, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_REMOVE\"" + }, + { + "id": 4859, + "name": "MessageReactionRemoveAll", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 229, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_REMOVE_ALL\"" + }, + { + "id": 4860, + "name": "MessageReactionRemoveEmoji", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 230, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_REACTION_REMOVE_EMOJI\"" + }, + { + "id": 4861, + "name": "MessageUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 231, + "character": 1 + } + ], + "defaultValue": "\"MESSAGE_UPDATE\"" + }, + { + "id": 4862, + "name": "PresenceUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 232, + "character": 1 + } + ], + "defaultValue": "\"PRESENCE_UPDATE\"" + }, + { + "id": 4866, + "name": "Ready", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 236, + "character": 1 + } + ], + "defaultValue": "\"READY\"" + }, + { + "id": 4867, + "name": "Resumed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 237, + "character": 1 + } + ], + "defaultValue": "\"RESUMED\"" + }, + { + "id": 4863, + "name": "StageInstanceCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 233, + "character": 1 + } + ], + "defaultValue": "\"STAGE_INSTANCE_CREATE\"" + }, + { + "id": 4864, + "name": "StageInstanceDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 234, + "character": 1 + } + ], + "defaultValue": "\"STAGE_INSTANCE_DELETE\"" + }, + { + "id": 4865, + "name": "StageInstanceUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 235, + "character": 1 + } + ], + "defaultValue": "\"STAGE_INSTANCE_UPDATE\"" + }, + { + "id": 4868, + "name": "ThreadCreate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 238, + "character": 1 + } + ], + "defaultValue": "\"THREAD_CREATE\"" + }, + { + "id": 4869, + "name": "ThreadDelete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 239, + "character": 1 + } + ], + "defaultValue": "\"THREAD_DELETE\"" + }, + { + "id": 4870, + "name": "ThreadListSync", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 240, + "character": 1 + } + ], + "defaultValue": "\"THREAD_LIST_SYNC\"" + }, + { + "id": 4872, + "name": "ThreadMemberUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 242, + "character": 1 + } + ], + "defaultValue": "\"THREAD_MEMBER_UPDATE\"" + }, + { + "id": 4871, + "name": "ThreadMembersUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 241, + "character": 1 + } + ], + "defaultValue": "\"THREAD_MEMBERS_UPDATE\"" + }, + { + "id": 4873, + "name": "ThreadUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 243, + "character": 1 + } + ], + "defaultValue": "\"THREAD_UPDATE\"" + }, + { + "id": 4874, + "name": "TypingStart", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 244, + "character": 1 + } + ], + "defaultValue": "\"TYPING_START\"" + }, + { + "id": 4875, + "name": "UserUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 245, + "character": 1 + } + ], + "defaultValue": "\"USER_UPDATE\"" + }, + { + "id": 4876, + "name": "VoiceServerUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 246, + "character": 1 + } + ], + "defaultValue": "\"VOICE_SERVER_UPDATE\"" + }, + { + "id": 4877, + "name": "VoiceStateUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 247, + "character": 1 + } + ], + "defaultValue": "\"VOICE_STATE_UPDATE\"" + }, + { + "id": 4878, + "name": "WebhooksUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 248, + "character": 1 + } + ], + "defaultValue": "\"WEBHOOKS_UPDATE\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 4828, + 4829, + 4830, + 4831, + 4832, + 4833, + 4834, + 4835, + 4836, + 4837, + 4838, + 4839, + 4840, + 4842, + 4841, + 4843, + 4844, + 4845, + 4879, + 4881, + 4880, + 4882, + 4883, + 4846, + 4847, + 4848, + 4849, + 4850, + 4851, + 4852, + 4853, + 4854, + 4855, + 4856, + 4857, + 4858, + 4859, + 4860, + 4861, + 4862, + 4866, + 4867, + 4863, + 4864, + 4865, + 4868, + 4869, + 4870, + 4872, + 4871, + 4873, + 4874, + 4875, + 4876, + 4877, + 4878 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 197, + "character": 12 + } + ] + }, + { + "id": 4810, + "name": "GatewayIntentBits", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#list-of-intents" + }, + "children": [ + { + "id": 4824, + "name": "DirectMessageReactions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 189, + "character": 1 + } + ], + "defaultValue": "8192" + }, + { + "id": 4825, + "name": "DirectMessageTyping", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 190, + "character": 1 + } + ], + "defaultValue": "16384" + }, + { + "id": 4823, + "name": "DirectMessages", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 188, + "character": 1 + } + ], + "defaultValue": "4096" + }, + { + "id": 4813, + "name": "GuildBans", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 178, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 4814, + "name": "GuildEmojisAndStickers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 179, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 4815, + "name": "GuildIntegrations", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 180, + "character": 1 + } + ], + "defaultValue": "16" + }, + { + "id": 4817, + "name": "GuildInvites", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 182, + "character": 1 + } + ], + "defaultValue": "64" + }, + { + "id": 4812, + "name": "GuildMembers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 177, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 4821, + "name": "GuildMessageReactions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 186, + "character": 1 + } + ], + "defaultValue": "1024" + }, + { + "id": 4822, + "name": "GuildMessageTyping", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 187, + "character": 1 + } + ], + "defaultValue": "2048" + }, + { + "id": 4820, + "name": "GuildMessages", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 185, + "character": 1 + } + ], + "defaultValue": "512" + }, + { + "id": 4819, + "name": "GuildPresences", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 184, + "character": 1 + } + ], + "defaultValue": "256" + }, + { + "id": 4826, + "name": "GuildScheduledEvents", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 191, + "character": 1 + } + ], + "defaultValue": "65536" + }, + { + "id": 4818, + "name": "GuildVoiceStates", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 183, + "character": 1 + } + ], + "defaultValue": "128" + }, + { + "id": 4816, + "name": "GuildWebhooks", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 181, + "character": 1 + } + ], + "defaultValue": "32" + }, + { + "id": 4811, + "name": "Guilds", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 176, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 4824, + 4825, + 4823, + 4813, + 4814, + 4815, + 4817, + 4812, + 4821, + 4822, + 4820, + 4819, + 4826, + 4818, + 4816, + 4811 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 175, + "character": 12 + } + ] + }, + { + "id": 4783, + "name": "GatewayOpcodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes" + }, + "children": [ + { + "id": 4784, + "name": "Dispatch", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "An event was dispatched" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 45, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 4785, + "name": "Heartbeat", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A bidirectional opcode to maintain an active gateway connection.\nFired periodically by the client, or fired by the gateway to request an immediate heartbeat from the client." + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 50, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 4794, + "name": "HeartbeatAck", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Sent in response to receiving a heartbeat to acknowledge that it has been received" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 86, + "character": 1 + } + ], + "defaultValue": "11" + }, + { + "id": 4793, + "name": "Hello", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Sent immediately after connecting, contains the `heartbeat_interval` to use" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 82, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 4786, + "name": "Identify", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Starts a new session during the initial handshake" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 54, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 4792, + "name": "InvalidSession", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The session has been invalidated. You should reconnect and identify/resume accordingly" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 78, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 4787, + "name": "PresenceUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Update the client's presence" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 58, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 4790, + "name": "Reconnect", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You should attempt to reconnect and resume immediately" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 70, + "character": 1 + } + ], + "defaultValue": "7" + }, + { + "id": 4791, + "name": "RequestGuildMembers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Request information about offline guild members in a large guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 74, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 4789, + "name": "Resume", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Resume a previous session that was disconnected" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 66, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 4788, + "name": "VoiceStateUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Used to join/leave or move between voice channels" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 62, + "character": 1 + } + ], + "defaultValue": "4" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 4784, + 4785, + 4794, + 4793, + 4786, + 4792, + 4787, + 4790, + 4791, + 4789, + 4788 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 41, + "character": 12 + } + ] + }, + { + "id": 5964, + "name": "GuildDefaultMessageNotifications", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level" + }, + "children": [ + { + "id": 5965, + "name": "AllMessages", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 281, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 5966, + "name": "OnlyMentions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 282, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5965, + 5966 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 280, + "character": 12 + } + ] + }, + { + "id": 5967, + "name": "GuildExplicitContentFilter", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level" + }, + "children": [ + { + "id": 5970, + "name": "AllMembers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 291, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 5968, + "name": "Disabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 289, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 5969, + "name": "MembersWithoutRoles", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 290, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5970, + 5968, + 5969 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 288, + "character": 12 + } + ] + }, + { + "id": 5999, + "name": "GuildFeature", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-guild-features" + }, + "children": [ + { + "id": 6000, + "name": "AnimatedBanner", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set an animated guild banner image" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 383, + "character": 1 + } + ], + "defaultValue": "\"ANIMATED_BANNER\"" + }, + { + "id": 6001, + "name": "AnimatedIcon", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set an animated guild icon" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 387, + "character": 1 + } + ], + "defaultValue": "\"ANIMATED_ICON\"" + }, + { + "id": 6002, + "name": "Banner", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set a guild banner image" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 391, + "character": 1 + } + ], + "defaultValue": "\"BANNER\"" + }, + { + "id": 6003, + "name": "Commerce", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to use commerce features (i.e. create store channels)" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 395, + "character": 1 + } + ], + "defaultValue": "\"COMMERCE\"" + }, + { + "id": 6004, + "name": "Community", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild can enable welcome screen, Membership Screening and discovery, and receives community updates" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 399, + "character": 1 + } + ], + "defaultValue": "\"COMMUNITY\"" + }, + { + "id": 6005, + "name": "Discoverable", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is able to be discovered in the directory" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 403, + "character": 1 + } + ], + "defaultValue": "\"DISCOVERABLE\"" + }, + { + "id": 6006, + "name": "Featurable", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is able to be featured in the directory" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 407, + "character": 1 + } + ], + "defaultValue": "\"FEATURABLE\"" + }, + { + "id": 6007, + "name": "HasDirectoryEntry", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is listed in a directory channel" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 411, + "character": 1 + } + ], + "defaultValue": "\"HAS_DIRECTORY_ENTRY\"" + }, + { + "id": 6008, + "name": "Hub", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is a Student Hub", + "text": "See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 417, + "character": 1 + } + ], + "defaultValue": "\"HUB\"" + }, + { + "id": 6009, + "name": "InviteSplash", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set an invite splash background" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 421, + "character": 1 + } + ], + "defaultValue": "\"INVITE_SPLASH\"" + }, + { + "id": 6010, + "name": "LinkedToHub", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is in a Student Hub", + "text": "See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 427, + "character": 1 + } + ], + "defaultValue": "\"LINKED_TO_HUB\"" + }, + { + "id": 6011, + "name": "MemberVerificationGateEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has enabled Membership Screening" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 431, + "character": 1 + } + ], + "defaultValue": "\"MEMBER_VERIFICATION_GATE_ENABLED\"" + }, + { + "id": 6012, + "name": "MonetizationEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has enabled monetization" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 435, + "character": 1 + } + ], + "defaultValue": "\"MONETIZATION_ENABLED\"" + }, + { + "id": 6013, + "name": "MoreStickers", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has increased custom sticker slots" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 439, + "character": 1 + } + ], + "defaultValue": "\"MORE_STICKERS\"" + }, + { + "id": 6014, + "name": "News", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to create news channels" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 443, + "character": 1 + } + ], + "defaultValue": "\"NEWS\"" + }, + { + "id": 6015, + "name": "Partnered", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is partnered" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 447, + "character": 1 + } + ], + "defaultValue": "\"PARTNERED\"" + }, + { + "id": 6016, + "name": "PreviewEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild can be previewed before joining via Membership Screening or the directory" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 451, + "character": 1 + } + ], + "defaultValue": "\"PREVIEW_ENABLED\"" + }, + { + "id": 6017, + "name": "PrivateThreads", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to create private threads" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 455, + "character": 1 + } + ], + "defaultValue": "\"PRIVATE_THREADS\"" + }, + { + "id": 6018, + "name": "RelayEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 456, + "character": 1 + } + ], + "defaultValue": "\"RELAY_ENABLED\"" + }, + { + "id": 6019, + "name": "RoleIcons", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is able to set role icons" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 460, + "character": 1 + } + ], + "defaultValue": "\"ROLE_ICONS\"" + }, + { + "id": 6020, + "name": "TicketedEventsEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has enabled ticketed events" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 464, + "character": 1 + } + ], + "defaultValue": "\"TICKETED_EVENTS_ENABLED\"" + }, + { + "id": 6023, + "name": "VIPRegions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set 384kbps bitrate in voice (previously VIP voice servers)" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 476, + "character": 1 + } + ], + "defaultValue": "\"VIP_REGIONS\"" + }, + { + "id": 6021, + "name": "VanityURL", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has access to set a vanity URL" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 468, + "character": 1 + } + ], + "defaultValue": "\"VANITY_URL\"" + }, + { + "id": 6022, + "name": "Verified", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild is verified" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 472, + "character": 1 + } + ], + "defaultValue": "\"VERIFIED\"" + }, + { + "id": 6024, + "name": "WelcomeScreenEnabled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Guild has enabled the welcome screen" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 480, + "character": 1 + } + ], + "defaultValue": "\"WELCOME_SCREEN_ENABLED\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6000, + 6001, + 6002, + 6003, + 6004, + 6005, + 6006, + 6007, + 6008, + 6009, + 6010, + 6011, + 6012, + 6013, + 6014, + 6015, + 6016, + 6017, + 6018, + 6019, + 6020, + 6023, + 6021, + 6022, + 6024 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 379, + "character": 12 + } + ] + }, + { + "id": 5990, + "name": "GuildHubType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 5993, + "name": "College", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 351, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 5991, + "name": "Default", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 349, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 5992, + "name": "HighSchool", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 350, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5993, + 5991, + 5992 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 348, + "character": 12 + } + ] + }, + { + "id": 5971, + "name": "GuildMFALevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-mfa-level" + }, + "children": [ + { + "id": 5973, + "name": "Elevated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 299, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5972, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 298, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5973, + 5972 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 297, + "character": 12 + } + ] + }, + { + "id": 5974, + "name": "GuildNSFWLevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level" + }, + "children": [ + { + "id": 5978, + "name": "AgeRestricted", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 309, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 5975, + "name": "Default", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 306, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 5976, + "name": "Explicit", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 307, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5977, + "name": "Safe", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 308, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5978, + 5975, + 5976, + 5977 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 305, + "character": 12 + } + ] + }, + { + "id": 5985, + "name": "GuildPremiumTier", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-premium-tier" + }, + "children": [ + { + "id": 5986, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 342, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 5987, + "name": "Tier1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 343, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5988, + "name": "Tier2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 344, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 5989, + "name": "Tier3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 345, + "character": 1 + } + ], + "defaultValue": "3" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5986, + 5987, + 5988, + 5989 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 341, + "character": 12 + } + ] + }, + { + "id": 6183, + "name": "GuildScheduledEventEntityType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-entity-types" + }, + "children": [ + { + "id": 6186, + "name": "External", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 113, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 6184, + "name": "StageInstance", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 111, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 6185, + "name": "Voice", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 112, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6186, + 6184, + 6185 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 110, + "character": 12 + } + ] + }, + { + "id": 6192, + "name": "GuildScheduledEventPrivacyLevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-privacy-level" + }, + "children": [ + { + "id": 6193, + "name": "GuildOnly", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The scheduled event is only accessible to guild members" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 133, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6193 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 129, + "character": 12 + } + ] + }, + { + "id": 6187, + "name": "GuildScheduledEventStatus", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-status" + }, + "children": [ + { + "id": 6189, + "name": "Active", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 121, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 6191, + "name": "Canceled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 123, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 6190, + "name": "Completed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 122, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 6188, + "name": "Scheduled", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 120, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6189, + 6191, + 6190, + 6188 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 119, + "character": 12 + } + ] + }, + { + "id": 5994, + "name": "GuildSystemChannelFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags" + }, + "children": [ + { + "id": 5997, + "name": "SuppressGuildReminderNotifications", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Suppress server setup tips" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 369, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 5998, + "name": "SuppressJoinNotificationReplies", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Hide member join sticker reply buttons" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 373, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 5995, + "name": "SuppressJoinNotifications", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Suppress member join notifications" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 361, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5996, + "name": "SuppressPremiumSubscriptions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Suppress server boost notifications" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 365, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5997, + 5998, + 5995, + 5996 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 357, + "character": 12 + } + ] + }, + { + "id": 5979, + "name": "GuildVerificationLevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-verification-level" + }, + "children": [ + { + "id": 5983, + "name": "High", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Must be a member of the guild for longer than 10 minutes" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 331, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 5981, + "name": "Low", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Must have verified email on account" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 323, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5982, + "name": "Medium", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Must be registered on Discord for longer than 5 minutes" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 327, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 5980, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Unrestricted" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 319, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 5984, + "name": "VeryHigh", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Must have a verified phone number" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 335, + "character": 1 + } + ], + "defaultValue": "4" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5983, + 5981, + 5982, + 5980, + 5984 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 315, + "character": 12 + } + ] + }, + { + "id": 6104, + "name": "GuildWidgetStyle", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-image-widget-style-options" + }, + "children": [ + { + "id": 6106, + "name": "Banner1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Large image with guild icon, name and online count. \"POWERED BY DISCORD\" as the footer of the widget" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 820, + "character": 1 + } + ], + "defaultValue": "\"banner1\"" + }, + { + "id": 6107, + "name": "Banner2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Smaller widget style with guild icon, name and online count. Split on the right with Discord logo" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 824, + "character": 1 + } + ], + "defaultValue": "\"banner2\"" + }, + { + "id": 6108, + "name": "Banner3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Large image with guild icon, name and online count. In the footer, Discord logo on the left and \"Chat Now\" on the right" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 828, + "character": 1 + } + ], + "defaultValue": "\"banner3\"" + }, + { + "id": 6109, + "name": "Banner4", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Large Discord logo at the top of the widget. Guild icon, name and online count in the middle portion of the widget\nand a \"JOIN MY SERVER\" button at the bottom" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 833, + "character": 1 + } + ], + "defaultValue": "\"banner4\"" + }, + { + "id": 6105, + "name": "Shield", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Shield style widget with Discord icon and guild members online count" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 816, + "character": 1 + } + ], + "defaultValue": "\"shield\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6106, + 6107, + 6108, + 6109, + 6105 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 812, + "character": 12 + } + ] + }, + { + "id": 6068, + "name": "IntegrationExpireBehavior", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors" + }, + "children": [ + { + "id": 6070, + "name": "Kick", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 714, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 6069, + "name": "RemoveRole", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 713, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6070, + 6069 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 712, + "character": 12 + } + ] + }, + { + "id": 6490, + "name": "InteractionResponseType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-type" + }, + "children": [ + { + "id": 6496, + "name": "ApplicationCommandAutocompleteResult", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For autocomplete interactions" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 89, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 6492, + "name": "ChannelMessageWithSource", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Respond to an interaction with a message" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 73, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 6493, + "name": "DeferredChannelMessageWithSource", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "ACK an interaction and edit to a response later, the user sees a loading state" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 77, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 6494, + "name": "DeferredMessageUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "ACK a button interaction and update it to a loading state" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 81, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 6497, + "name": "Modal", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Respond to an interaction with an modal for a user to fill-out" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 93, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 6491, + "name": "Pong", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "ACK a `Ping`" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 69, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 6495, + "name": "UpdateMessage", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "ACK a button interaction and edit the message to which the button was attached" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 85, + "character": 1 + } + ], + "defaultValue": "7" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6496, + 6492, + 6493, + 6494, + 6497, + 6491, + 6495 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 65, + "character": 12 + } + ] + }, + { + "id": 6464, + "name": "InteractionType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-type" + }, + "children": [ + { + "id": 6466, + "name": "ApplicationCommand", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 11, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 6468, + "name": "ApplicationCommandAutocomplete", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 13, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 6467, + "name": "MessageComponent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 12, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 6469, + "name": "ModalSubmit", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 14, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 6465, + "name": "Ping", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 10, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6466, + 6468, + 6467, + 6469, + 6465 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 9, + "character": 12 + } + ] + }, + { + "id": 6521, + "name": "InviteTargetType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types" + }, + "children": [ + { + "id": 6523, + "name": "EmbeddedApplication", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 99, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 6522, + "name": "Stream", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 98, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6523, + 6522 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 97, + "character": 12 + } + ] + }, + { + "id": 6127, + "name": "MembershipScreeningFieldType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 6128, + "name": "Terms", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Server Rules" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 906, + "character": 1 + } + ], + "defaultValue": "\"TERMS\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6128 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 902, + "character": 12 + } + ] + }, + { + "id": 5590, + "name": "MessageActivityType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-activity-types" + }, + "children": [ + { + "id": 5591, + "name": "Join", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 578, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5594, + "name": "JoinRequest", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 581, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 5593, + "name": "Listen", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 580, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 5592, + "name": "Spectate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 579, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5591, + 5594, + 5593, + 5592 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 577, + "character": 12 + } + ] + }, + { + "id": 5595, + "name": "MessageFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-flags" + }, + "children": [ + { + "id": 5596, + "name": "Crossposted", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message has been published to subscribed channels (via Channel Following)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 591, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5602, + "name": "Ephemeral", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message is only visible to the user who invoked the Interaction" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 615, + "character": 1 + } + ], + "defaultValue": "64" + }, + { + "id": 5604, + "name": "FailedToMentionSomeRolesInThread", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message failed to mention some roles and add their members to the thread" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 623, + "character": 1 + } + ], + "defaultValue": "256" + }, + { + "id": 5601, + "name": "HasThread", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message has an associated thread, which shares its id" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 611, + "character": 1 + } + ], + "defaultValue": "32" + }, + { + "id": 5597, + "name": "IsCrosspost", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message originated from a message in another channel (via Channel Following)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 595, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 5603, + "name": "Loading", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message is an Interaction Response and the bot is \"thinking\"" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 619, + "character": 1 + } + ], + "defaultValue": "128" + }, + { + "id": 5599, + "name": "SourceMessageDeleted", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The source message for this crosspost has been deleted (via Channel Following)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 603, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 5598, + "name": "SuppressEmbeds", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Do not include any embeds when serializing this message" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 599, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 5600, + "name": "Urgent", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This message came from the urgent message system" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 607, + "character": 1 + } + ], + "defaultValue": "16" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5596, + 5602, + 5604, + 5601, + 5597, + 5603, + 5599, + 5598, + 5600 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 587, + "character": 12 + } + ] + }, + { + "id": 5559, + "name": "MessageType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-types" + }, + "children": [ + { + "id": 5563, + "name": "Call", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 516, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 5572, + "name": "ChannelFollowAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 525, + "character": 1 + } + ], + "defaultValue": "12" + }, + { + "id": 5565, + "name": "ChannelIconChange", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 518, + "character": 1 + } + ], + "defaultValue": "5" + }, + { + "id": 5564, + "name": "ChannelNameChange", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 517, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 5566, + "name": "ChannelPinnedMessage", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 519, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 5579, + "name": "ChatInputCommand", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 532, + "character": 1 + } + ], + "defaultValue": "20" + }, + { + "id": 5582, + "name": "ContextMenuCommand", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 535, + "character": 1 + } + ], + "defaultValue": "23" + }, + { + "id": 5560, + "name": "Default", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 513, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 5573, + "name": "GuildDiscoveryDisqualified", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 526, + "character": 1 + } + ], + "defaultValue": "14" + }, + { + "id": 5576, + "name": "GuildDiscoveryGracePeriodFinalWarning", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 529, + "character": 1 + } + ], + "defaultValue": "17" + }, + { + "id": 5575, + "name": "GuildDiscoveryGracePeriodInitialWarning", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 528, + "character": 1 + } + ], + "defaultValue": "16" + }, + { + "id": 5574, + "name": "GuildDiscoveryRequalified", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 527, + "character": 1 + } + ], + "defaultValue": "15" + }, + { + "id": 5581, + "name": "GuildInviteReminder", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 534, + "character": 1 + } + ], + "defaultValue": "22" + }, + { + "id": 5567, + "name": "GuildMemberJoin", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 520, + "character": 1 + } + ], + "defaultValue": "7" + }, + { + "id": 5561, + "name": "RecipientAdd", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 514, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5562, + "name": "RecipientRemove", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 515, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 5578, + "name": "Reply", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 531, + "character": 1 + } + ], + "defaultValue": "19" + }, + { + "id": 5577, + "name": "ThreadCreated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 530, + "character": 1 + } + ], + "defaultValue": "18" + }, + { + "id": 5580, + "name": "ThreadStarterMessage", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 533, + "character": 1 + } + ], + "defaultValue": "21" + }, + { + "id": 5568, + "name": "UserPremiumGuildSubscription", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 521, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 5569, + "name": "UserPremiumGuildSubscriptionTier1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 522, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 5570, + "name": "UserPremiumGuildSubscriptionTier2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 523, + "character": 1 + } + ], + "defaultValue": "10" + }, + { + "id": 5571, + "name": "UserPremiumGuildSubscriptionTier3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 524, + "character": 1 + } + ], + "defaultValue": "11" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5563, + 5572, + 5565, + 5564, + 5566, + 5579, + 5582, + 5560, + 5573, + 5576, + 5575, + 5574, + 5581, + 5567, + 5561, + 5562, + 5578, + 5577, + 5580, + 5568, + 5569, + 5570, + 5571 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 512, + "character": 12 + } + ] + }, + { + "id": 6542, + "name": "OAuth2Scopes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "Types extracted from https://discord.com/developers/docs/topics/oauth2" + }, + "children": [ + { + "id": 6562, + "name": "ActivitiesRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to fetch data from a user's \"Now Playing/Recently Played\" list - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 103, + "character": 1 + } + ], + "defaultValue": "\"activities.read\"" + }, + { + "id": 6563, + "name": "ActivitiesWrite", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to update a user's activity - requires Discord approval (NOT REQUIRED FOR GAMESDK ACTIVITY MANAGER)", + "text": "See https://discord.com/developers/docs/game-sdk/activities\n" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 109, + "character": 1 + } + ], + "defaultValue": "\"activities.write\"" + }, + { + "id": 6566, + "name": "ApplicationCommandsPermissionsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to update permissions for its commands using a Bearer token - client credentials grant only", + "text": "See https://discord.com/developers/docs/interactions/application-commands\n" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 127, + "character": 1 + } + ], + "defaultValue": "\"applications.commands.permissions.update\"" + }, + { + "id": 6558, + "name": "ApplicationsBuildsRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to read build data for a user's applications" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 87, + "character": 1 + } + ], + "defaultValue": "\"applications.builds.read\"" + }, + { + "id": 6557, + "name": "ApplicationsBuildsUpload", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to upload/update builds for a user's applications - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 83, + "character": 1 + } + ], + "defaultValue": "\"applications.builds.upload\"" + }, + { + "id": 6564, + "name": "ApplicationsCommands", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to use Application Commands in a guild", + "text": "See https://discord.com/developers/docs/interactions/application-commands\n" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 115, + "character": 1 + } + ], + "defaultValue": "\"applications.commands\"" + }, + { + "id": 6565, + "name": "ApplicationsCommandsUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to update its Application Commands via this bearer token - client credentials grant only", + "text": "See https://discord.com/developers/docs/interactions/application-commands\n" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 121, + "character": 1 + } + ], + "defaultValue": "\"applications.commands.update\"" + }, + { + "id": 6560, + "name": "ApplicationsEntitlements", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to read entitlements for a user's applications" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 95, + "character": 1 + } + ], + "defaultValue": "\"applications.entitlements\"" + }, + { + "id": 6559, + "name": "ApplicationsStoreUpdate", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to read and update store data (SKUs, store listings, achievements, etc.) for a user's applications" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 91, + "character": 1 + } + ], + "defaultValue": "\"applications.store.update\"" + }, + { + "id": 6543, + "name": "Bot", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For oauth2 bots, this puts the bot in the user's selected guild by default" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 9, + "character": 1 + } + ], + "defaultValue": "\"bot\"" + }, + { + "id": 6544, + "name": "Connections", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows [/users/@me/connections](https://discord.com/developers/docs/resources/user#get-user-connections)\nto return linked third-party accounts", + "text": "See https://discord.com/developers/docs/resources/user#get-user-connections\n" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 16, + "character": 1 + } + ], + "defaultValue": "\"connections\"" + }, + { + "id": 6545, + "name": "DMChannelsRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to see information about the user's DMs and group DMs - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 20, + "character": 1 + } + ], + "defaultValue": "\"dm_channels.read\"" + }, + { + "id": 6546, + "name": "Email", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Enables [/users/@me](https://discord.com/developers/docs/resources/user#get-current-user) to return an `email`", + "text": "See https://discord.com/developers/docs/resources/user#get-current-user\n" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 26, + "character": 1 + } + ], + "defaultValue": "\"email\"" + }, + { + "id": 6551, + "name": "GroupDMJoins", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to join users to a group dm", + "text": "See https://discord.com/developers/docs/resources/channel#group-dm-add-recipient\n" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 58, + "character": 1 + } + ], + "defaultValue": "\"gdm.join\"" + }, + { + "id": 6548, + "name": "Guilds", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows [/users/@me/guilds](https://discord.com/developers/docs/resources/user#get-current-user-guilds)\nto return basic information about all of a user's guilds", + "text": "See https://discord.com/developers/docs/resources/user#get-current-user-guilds\n" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 39, + "character": 1 + } + ], + "defaultValue": "\"guilds\"" + }, + { + "id": 6549, + "name": "GuildsJoin", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows [/guilds/{guild.id}/members/{user.id}](https://discord.com/developers/docs/resources/guild#add-guild-member)\nto be used for joining users to a guild", + "text": "See https://discord.com/developers/docs/resources/guild#add-guild-member\n" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 46, + "character": 1 + } + ], + "defaultValue": "\"guilds.join\"" + }, + { + "id": 6550, + "name": "GuildsMembersRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows /users/@me/guilds/{guild.id}/member to return a user's member information in a guild", + "text": "See https://discord.com/developers/docs/resources/user#get-current-user-guild-member\n" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 52, + "character": 1 + } + ], + "defaultValue": "\"guilds.members.read\"" + }, + { + "id": 6547, + "name": "Identify", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows [/users/@me](https://discord.com/developers/docs/resources/user#get-current-user) without `email`", + "text": "See https://discord.com/developers/docs/resources/user#get-current-user\n" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 32, + "character": 1 + } + ], + "defaultValue": "\"identify\"" + }, + { + "id": 6552, + "name": "MessagesRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For local rpc server api access, this allows you to read messages from all client channels\n(otherwise restricted to channels/guilds your app creates)" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 63, + "character": 1 + } + ], + "defaultValue": "\"messages.read\"" + }, + { + "id": 6553, + "name": "RPC", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For local rpc server access, this allows you to control a user's local Discord client - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 67, + "character": 1 + } + ], + "defaultValue": "\"rpc\"" + }, + { + "id": 6554, + "name": "RPCNotificationsRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "For local rpc server api access, this allows you to receive notifications pushed out to the user - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 71, + "character": 1 + } + ], + "defaultValue": "\"rpc.notifications.read\"" + }, + { + "id": 6561, + "name": "RelationshipsRead", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to know a user's friends and implicit relationships - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 99, + "character": 1 + } + ], + "defaultValue": "\"relationships.read\"" + }, + { + "id": 6556, + "name": "Voice", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Allows your app to connect to voice on user's behalf and see all the voice members - requires Discord approval" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 79, + "character": 1 + } + ], + "defaultValue": "\"voice\"" + }, + { + "id": 6555, + "name": "WebhookIncoming", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "This generates a webhook that is returned in the oauth token response for authorization code grants" + }, + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 75, + "character": 1 + } + ], + "defaultValue": "\"webhook.incoming\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6562, + 6563, + 6566, + 6558, + 6557, + 6564, + 6565, + 6560, + 6559, + 6543, + 6544, + 6545, + 6546, + 6551, + 6548, + 6549, + 6550, + 6547, + 6552, + 6553, + 6554, + 6561, + 6556, + 6555 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/oauth2.ts", + "line": 5, + "character": 12 + } + ] + }, + { + "id": 5617, + "name": "OverwriteType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 5619, + "name": "Member", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 694, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5618, + "name": "Role", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 693, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5619, + 5618 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 692, + "character": 12 + } + ] + }, + { + "id": 5826, + "name": "PresenceUpdateStatus", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 5828, + "name": "DoNotDisturb", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 97, + "character": 1 + } + ], + "defaultValue": "\"dnd\"" + }, + { + "id": 5829, + "name": "Idle", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 98, + "character": 1 + } + ], + "defaultValue": "\"idle\"" + }, + { + "id": 5830, + "name": "Invisible", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Invisible and shown as offline" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 102, + "character": 1 + } + ], + "defaultValue": "\"invisible\"" + }, + { + "id": 5831, + "name": "Offline", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 103, + "character": 1 + } + ], + "defaultValue": "\"offline\"" + }, + { + "id": 5827, + "name": "Online", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 96, + "character": 1 + } + ], + "defaultValue": "\"online\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5828, + 5829, + 5830, + 5831, + 5827 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 95, + "character": 12 + } + ] + }, + { + "id": 6591, + "name": "StageInstancePrivacyLevel", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#stage-instance-object-privacy-level" + }, + "children": [ + { + "id": 6593, + "name": "GuildOnly", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The stage instance is visible to only guild members" + }, + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 53, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 6592, + "name": "Public", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The stage instance is visible publicly, such as on stage discovery", + "tags": [ + { + "tag": "deprecated", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 49, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6593, + 6592 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 44, + "character": 12 + } + ] + }, + { + "id": 6615, + "name": "StickerFormatType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-format-types" + }, + "children": [ + { + "id": 6617, + "name": "APNG", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 86, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 6618, + "name": "Lottie", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 87, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 6616, + "name": "PNG", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 85, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6617, + 6618, + 6616 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 84, + "character": 12 + } + ] + }, + { + "id": 6612, + "name": "StickerType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-types" + }, + "children": [ + { + "id": 6614, + "name": "Guild", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A sticker uploaded to a Boosted guild for the guild's members" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 78, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 6613, + "name": "Standard", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "An official sticker in a pack, part of Nitro or in a removed purchasable pack" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 74, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6614, + 6613 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 70, + "character": 12 + } + ] + }, + { + "id": 6639, + "name": "TeamMemberMembershipState", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/teams#data-models-membership-state-enum" + }, + "children": [ + { + "id": 6641, + "name": "Accepted", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/teams.ts", + "line": 65, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 6640, + "name": "Invited", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/teams.ts", + "line": 64, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6641, + 6640 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/teams.ts", + "line": 63, + "character": 12 + } + ] + }, + { + "id": 5762, + "name": "TextInputStyle", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#text-inputs-text-input-styles" + }, + "children": [ + { + "id": 5764, + "name": "Paragraph", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1267, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 5763, + "name": "Short", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1266, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5764, + 5763 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1265, + "character": 12 + } + ] + }, + { + "id": 5627, + "name": "ThreadAutoArchiveDuration", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 5629, + "name": "OneDay", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 729, + "character": 1 + } + ], + "defaultValue": "1440" + }, + { + "id": 5628, + "name": "OneHour", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 728, + "character": 1 + } + ], + "defaultValue": "60" + }, + { + "id": 5631, + "name": "OneWeek", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 731, + "character": 1 + } + ], + "defaultValue": "10080" + }, + { + "id": 5630, + "name": "ThreeDays", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 730, + "character": 1 + } + ], + "defaultValue": "4320" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5629, + 5628, + 5631, + 5630 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 727, + "character": 12 + } + ] + }, + { + "id": 5637, + "name": "ThreadMemberFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 762, + "character": 12 + } + ] + }, + { + "id": 6686, + "name": "UserFlags", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#user-object-user-flags" + }, + "children": [ + { + "id": 6700, + "name": "BotHTTPInteractions", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Bot uses only [HTTP interactions](https://discord.com/developers/docs/interactions/receiving-and-responding#receiving-an-interaction) and is shown in the online member list" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 143, + "character": 1 + } + ], + "defaultValue": "524288" + }, + { + "id": 6690, + "name": "BugHunterLevel1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Bug Hunter Level 1" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 103, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 6696, + "name": "BugHunterLevel2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Bug Hunter Level 2" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 127, + "character": 1 + } + ], + "defaultValue": "16384" + }, + { + "id": 6699, + "name": "CertifiedModerator", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Discord Certified Moderator" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 139, + "character": 1 + } + ], + "defaultValue": "262144" + }, + { + "id": 6691, + "name": "HypeSquadOnlineHouse1", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "House Bravery Member" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 107, + "character": 1 + } + ], + "defaultValue": "64" + }, + { + "id": 6692, + "name": "HypeSquadOnlineHouse2", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "House Brilliance Member" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 111, + "character": 1 + } + ], + "defaultValue": "128" + }, + { + "id": 6693, + "name": "HypeSquadOnlineHouse3", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "House Balance Member" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 115, + "character": 1 + } + ], + "defaultValue": "256" + }, + { + "id": 6689, + "name": "Hypesquad", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "HypeSquad Events Member" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 99, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 6688, + "name": "Partner", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Partnered Server Owner" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 95, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 6694, + "name": "PremiumEarlySupporter", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Early Nitro Supporter" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 119, + "character": 1 + } + ], + "defaultValue": "512" + }, + { + "id": 6701, + "name": "Spammer", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "User has been identified as spammer" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 147, + "character": 1 + } + ], + "defaultValue": "1048576" + }, + { + "id": 6687, + "name": "Staff", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Discord Employee" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 91, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 6695, + "name": "TeamPseudoUser", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "User is a [team](https://discord.com/developers/docs/topics/teams)" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 123, + "character": 1 + } + ], + "defaultValue": "1024" + }, + { + "id": 6697, + "name": "VerifiedBot", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Verified Bot" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 131, + "character": 1 + } + ], + "defaultValue": "65536" + }, + { + "id": 6698, + "name": "VerifiedDeveloper", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Early Verified Bot Developer" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 135, + "character": 1 + } + ], + "defaultValue": "131072" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6700, + 6690, + 6696, + 6699, + 6691, + 6692, + 6693, + 6689, + 6688, + 6694, + 6701, + 6687, + 6695, + 6697, + 6698 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 87, + "character": 12 + } + ] + }, + { + "id": 6702, + "name": "UserPremiumType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#user-object-premium-types" + }, + "children": [ + { + "id": 6705, + "name": "Nitro", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 156, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 6704, + "name": "NitroClassic", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 155, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 6703, + "name": "None", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 154, + "character": 1 + } + ], + "defaultValue": "0" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6705, + 6704, + 6703 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 153, + "character": 12 + } + ] + }, + { + "id": 5522, + "name": "VideoQualityMode", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 5523, + "name": "Auto", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Discord chooses the quality for optimal performance" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 310, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 5524, + "name": "Full", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "720p" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 314, + "character": 1 + } + ], + "defaultValue": "2" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 5523, + 5524 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 306, + "character": 12 + } + ] + }, + { + "id": 6752, + "name": "WebhookType", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "children": [ + { + "id": 6755, + "name": "Application", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Application webhooks are webhooks used with Interactions" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 78, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 6754, + "name": "ChannelFollower", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Channel Follower Webhooks are internal webhooks used with Channel Following to post new messages into channels" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 74, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 6753, + "name": "Incoming", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Incoming Webhooks can post messages to channels with a generated token" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 70, + "character": 1 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 6755, + 6754, + 6753 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 66, + "character": 12 + } + ] + }, + { + "id": 5726, + "name": "APIActionRowComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#action-rows" + }, + "children": [ + { + "id": 5727, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The components in the ActionRow" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1192, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5729, + "name": "T" + } + } + }, + { + "id": 5728, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1159, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5722, + "name": "ActionRow" + }, + "inheritedFrom": { + "type": "reference", + "id": 5719, + "name": "APIBaseComponent.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5727, + 5728 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1187, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 5729, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 5793, + "name": "APIActionRowComponentTypes" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5718, + "typeArguments": [ + { + "type": "reference", + "id": 5722, + "name": "ComponentType.ActionRow" + } + ], + "name": "APIBaseComponent" + } + ] + }, + { + "id": 5713, + "name": "APIAllowedMentions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mentions-structure" + }, + "children": [ + { + "id": 5714, + "name": "parse", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An array of allowed mention types to parse from the content", + "text": "See https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mention-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1135, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5709, + "name": "AllowedMentionsTypes" + } + } + }, + { + "id": 5717, + "name": "replied_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "\tFor replies, whether to mention the author of the message being replied to (default false)", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1149, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5715, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of role_ids to mention (Max size of 100)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1139, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5716, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of user_ids to mention (Max size of 100)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1143, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5714, + 5717, + 5715, + 5716 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1129, + "character": 17 + } + ] + }, + { + "id": 5215, + "name": "APIApplication", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/application#application-object" + }, + "children": [ + { + "id": 5221, + "name": "bot_public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When `false` only app owner can join the app's bot to guilds" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5222, + "name": "bot_require_code_grant", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When `true` the app's bot will only join upon completion of the full oauth2 code grant flow" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5232, + "name": "cover_image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If this application is a game sold on Discord, this field will be the hash of the image on store embeds" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5236, + "name": "custom_install_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The application's default custom authorization link, if enabled" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5219, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description of the app" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5233, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The application's public flags", + "text": "See https://discord.com/developers/docs/resources/application#application-object-application-flags\n" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 95, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5240, + "name": "ApplicationFlags" + } + }, + { + "id": 5229, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If this application is a game sold on Discord, this field will be the guild to which it has been linked" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5218, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The icon hash of the app" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5216, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the app" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5235, + "name": "install_params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Settings for the application's default in-app authorization link, if enabled" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 103, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5237, + "name": "APIApplicationInstallParams" + } + }, + { + "id": 5217, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the app" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5225, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Partial user object containing info on the owner of the application", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + }, + { + "id": 5230, + "name": "primary_sku_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If this application is a game sold on Discord, this field will be the id of the \"Game SKU\" that is created, if exists" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5224, + "name": "privacy_policy_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The url of the application's privacy policy" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5220, + "name": "rpc_origins", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An array of rpc origin urls, if rpc is enabled" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5231, + "name": "slug", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If this application is a game sold on Discord, this field will be the URL slug that links to the store page" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5226, + "name": "summary", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "An empty string", + "tags": [ + { + "tag": "deprecated", + "text": "This field will be removed in v11\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5234, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Up to 5 tags describing the content and functionality of the application" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 99, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "optional", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "optional", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "optional", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "optional", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5228, + "name": "team", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The team this application belongs to", + "text": "See https://discord.com/developers/docs/topics/teams#data-models-team-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 73, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 6628, + "name": "APITeam" + } + ] + } + }, + { + "id": 5223, + "name": "terms_of_service_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The url of the application's terms of service" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5227, + "name": "verify_key", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function", + "text": "See https://discord.com/developers/docs/game-sdk/applications#get-ticket\n" + }, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5221, + 5222, + 5232, + 5236, + 5219, + 5233, + 5229, + 5218, + 5216, + 5235, + 5217, + 5225, + 5230, + 5224, + 5220, + 5231, + 5226, + 5234, + 5228, + 5223, + 5227 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 13, + "character": 17 + } + ] + }, + { + "id": 6201, + "name": "APIApplicationCommand", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object" + }, + "children": [ + { + "id": 6204, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unique id of the parent application" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6213, + "name": "default_member_permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set of permissions represented as a bitset" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6215, + "name": "default_permission", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the command is enabled by default when the app is added to a guild", + "text": "If missing, this property should be assumed as `true`", + "tags": [ + { + "tag": "deprecated", + "text": "Use `dm_permission` and/or `default_member_permissions` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6209, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "1-100 character description for `CHAT_INPUT` commands, empty string for `USER` and `MESSAGE` commands" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6210, + "name": "description_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Localization dictionary for the description field. Values follow the same restrictions as description" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + }, + { + "id": 6211, + "name": "description_localized", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The localized description" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6214, + "name": "dm_permission", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 6205, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Guild id of the command, if not global" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6202, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unique id of the command" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6206, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "1-32 character name; `CHAT_INPUT` command names must be all lowercase matching `^[-_\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$`" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6207, + "name": "name_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Localization dictionary for the name field. Values follow the same restrictions as name" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + }, + { + "id": 6208, + "name": "name_localized", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The localized name" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6212, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The parameters for the `CHAT_INPUT` command, max 25" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6244, + "name": "APIApplicationCommandOption" + } + } + }, + { + "id": 6203, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of the command" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6217, + "name": "ApplicationCommandType" + } + }, + { + "id": 6216, + "name": "version", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Autoincrementing version identifier updated during substantial record changes" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 91, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6204, + 6213, + 6215, + 6209, + 6210, + 6211, + 6214, + 6205, + 6202, + 6206, + 6207, + 6208, + 6212, + 6203, + 6216 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 28, + "character": 17 + } + ] + }, + { + "id": 6473, + "name": "APIApplicationCommandAutocompleteResponse", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6475, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6501, + "name": "APICommandAutocompleteInteractionResponseCallbackData" + } + }, + { + "id": 6474, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6496, + "name": "ApplicationCommandAutocompleteResult" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6475, + 6474 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 33, + "character": 17 + } + ] + }, + { + "id": 6267, + "name": "APIApplicationCommandChannelOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6268, + "name": "channel_types", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/channel.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5510, + "name": "GuildText" + }, + { + "type": "reference", + "id": 5512, + "name": "GuildVoice" + }, + { + "type": "reference", + "id": 5514, + "name": "GuildCategory" + }, + { + "type": "reference", + "id": 5515, + "name": "GuildNews" + }, + { + "type": "reference", + "id": 5516, + "name": "GuildNewsThread" + }, + { + "type": "reference", + "id": 5517, + "name": "GuildPublicThread" + }, + { + "type": "reference", + "id": 5518, + "name": "GuildPrivateThread" + }, + { + "type": "reference", + "id": 5519, + "name": "GuildStageVoice" + }, + { + "type": "reference", + "id": 5520, + "name": "GuildDirectory" + }, + { + "type": "reference", + "id": 5521, + "name": "GuildForum" + } + ] + } + } + }, + { + "id": 6272, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description" + } + }, + { + "id": 6273, + "name": "description_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description_localizations" + } + }, + { + "id": 6270, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 6, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name" + } + }, + { + "id": 6271, + "name": "name_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name_localizations" + } + }, + { + "id": 6274, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.required" + } + }, + { + "id": 6269, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 5, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6299, + "name": "Channel" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6268, + 6272, + 6273, + 6270, + 6271, + 6274, + 6269 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/channel.ts", + "line": 6, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6299, + "name": "ApplicationCommandOptionType.Channel" + } + ], + "name": "APIApplicationCommandOptionBase" + } + ] + }, + { + "id": 6277, + "name": "APIApplicationCommandInteractionDataIntegerOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6278, + "name": "focused", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/integer.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6279, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.name" + } + }, + { + "id": 6280, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6296, + "name": "Integer" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.type" + } + }, + { + "id": 6281, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.value" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6278, + 6279, + 6280, + 6281 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/integer.ts", + "line": 25, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6296, + "name": "ApplicationCommandOptionType.Integer" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "APIInteractionDataOptionBase" + } + ] + }, + { + "id": 6285, + "name": "APIApplicationCommandInteractionDataNumberOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6286, + "name": "focused", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/number.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6287, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.name" + } + }, + { + "id": 6288, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6302, + "name": "Number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.type" + } + }, + { + "id": 6289, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.value" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6286, + 6287, + 6288, + 6289 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/number.ts", + "line": 25, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6302, + "name": "ApplicationCommandOptionType.Number" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "APIInteractionDataOptionBase" + } + ] + }, + { + "id": 6310, + "name": "APIApplicationCommandInteractionDataStringOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6311, + "name": "focused", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/string.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6312, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.name" + } + }, + { + "id": 6313, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6295, + "name": "String" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.type" + } + }, + { + "id": 6314, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIInteractionDataOptionBase.value" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6311, + 6312, + 6313, + 6314 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/string.ts", + "line": 13, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6295, + "name": "ApplicationCommandOptionType.String" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "APIInteractionDataOptionBase" + } + ] + }, + { + "id": 6335, + "name": "APIApplicationCommandInteractionDataSubcommandGroupOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6336, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6338, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6323, + "name": "APIApplicationCommandInteractionDataSubcommandOption" + } + } + }, + { + "id": 6337, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6294, + "name": "SubcommandGroup" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6336, + 6338, + 6337 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 13, + "character": 17 + } + ] + }, + { + "id": 6323, + "name": "APIApplicationCommandInteractionDataSubcommandOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6324, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 11, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6326, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6246, + "name": "APIApplicationCommandInteractionDataBasicOption" + } + } + }, + { + "id": 6325, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6293, + "name": "Subcommand" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6324, + 6326, + 6325 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 10, + "character": 17 + } + ] + }, + { + "id": 6304, + "name": "APIApplicationCommandOptionChoice", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-choice-structure" + }, + "children": [ + { + "id": 6305, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6306, + "name": "name_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + }, + { + "id": 6307, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6308, + "name": "ValueType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6305, + 6306, + 6307 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/shared.ts", + "line": 23, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 6308, + "name": "ValueType", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ] + }, + { + "id": 6375, + "name": "APIApplicationCommandPermission", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-application-command-permissions-structure" + }, + "children": [ + { + "id": 6376, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the role, user or channel. Can also be a permission constant" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6378, + "name": "permission", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`true` to allow, `false`, to disallow" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6377, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role, user or channel" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6379, + "name": "ApplicationCommandPermissionType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6376, + 6378, + 6377 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 28, + "character": 17 + } + ] + }, + { + "id": 6327, + "name": "APIApplicationCommandSubcommandGroupOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6332, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description" + } + }, + { + "id": 6333, + "name": "description_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description_localizations" + } + }, + { + "id": 6330, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 6, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name" + } + }, + { + "id": 6331, + "name": "name_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name_localizations" + } + }, + { + "id": 6328, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6315, + "name": "APIApplicationCommandSubcommandOption" + } + } + }, + { + "id": 6334, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.required" + } + }, + { + "id": 6329, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 5, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6294, + "name": "SubcommandGroup" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6332, + 6333, + 6330, + 6331, + 6328, + 6334, + 6329 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.ts", + "line": 8, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6294, + "name": "ApplicationCommandOptionType.SubcommandGroup" + } + ], + "name": "APIApplicationCommandOptionBase" + } + ] + }, + { + "id": 6315, + "name": "APIApplicationCommandSubcommandOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6320, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description" + } + }, + { + "id": 6321, + "name": "description_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.description_localizations" + } + }, + { + "id": 6318, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 6, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name" + } + }, + { + "id": 6319, + "name": "name_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.name_localizations" + } + }, + { + "id": 6316, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6243, + "name": "APIApplicationCommandBasicOption" + } + } + }, + { + "id": 6322, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.required" + } + }, + { + "id": 6317, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/base.ts", + "line": 5, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6293, + "name": "Subcommand" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIApplicationCommandOptionBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6320, + 6321, + 6318, + 6319, + 6316, + 6322, + 6317 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.ts", + "line": 5, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6293, + "name": "ApplicationCommandOptionType.Subcommand" + } + ], + "name": "APIApplicationCommandOptionBase" + } + ] + }, + { + "id": 5237, + "name": "APIApplicationInstallParams", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5239, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 112, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5238, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 111, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6542, + "name": "OAuth2Scopes" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5239, + 5238 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/application.ts", + "line": 110, + "character": 17 + } + ] + }, + { + "id": 5693, + "name": "APIAttachment", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure" + }, + "children": [ + { + "id": 5697, + "name": "content_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The attachment's media type", + "text": "See https://en.wikipedia.org/wiki/Media_type\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1057, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5696, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Description for the file" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1051, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5703, + "name": "ephemeral", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this attachment is ephemeral" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1081, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5695, + "name": "filename", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of file attached" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1047, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5701, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Height of file (if image)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1073, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 5694, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Attachment id" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1043, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5700, + "name": "proxy_url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A proxied url of file" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1069, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5698, + "name": "size", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Size of file in bytes" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1061, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5699, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Source url of file" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1065, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5702, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Width of file (if image)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1077, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5697, + 5696, + 5703, + 5695, + 5701, + 5694, + 5700, + 5698, + 5699, + 5702 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1039, + "character": 17 + } + ] + }, + { + "id": 5254, + "name": "APIAuditLog", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-object-audit-log-structure" + }, + "children": [ + { + "id": 5255, + "name": "application_commands", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "List of application commands found in the audit log", + "text": "See https://discord.com/developers/docs/interactions/application-commands#application-command-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6201, + "name": "APIApplicationCommand" + } + } + }, + { + "id": 5258, + "name": "audit_log_entries", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Audit log entries", + "text": "See https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 54, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5262, + "name": "APIAuditLogEntry" + } + } + }, + { + "id": 5261, + "name": "guild_scheduled_events", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild scheduled events in the audit log", + "text": "See https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6180, + "name": "APIGuildScheduledEvent" + } + } + }, + { + "id": 5259, + "name": "integrations", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Partial integration objects", + "text": "See https://discord.com/developers/docs/resources/guild#integration-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6051, + "name": "APIGuildIntegration" + } + } + }, + { + "id": 5260, + "name": "threads", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Threads found in the audit log", + "text": "Threads referenced in THREAD_CREATE and THREAD_UPDATE events are included in the threads map, since archived threads might not be kept in memory by clients.\n\nSee https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + } + }, + { + "id": 5257, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Users found in the audit log", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + }, + { + "id": 5256, + "name": "webhooks", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Webhooks found in the audit log", + "text": "See https://discord.com/developers/docs/resources/webhook#webhook-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6739, + "name": "APIWebhook" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5255, + 5258, + 5261, + 5259, + 5260, + 5257, + 5256 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 30, + "character": 17 + } + ] + }, + { + "id": 5262, + "name": "APIAuditLogEntry", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-entry-structure" + }, + "children": [ + { + "id": 5267, + "name": "action_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of action that occurred", + "text": "See https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 106, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5270, + "name": "AuditLogEvent" + } + }, + { + "id": 5264, + "name": "changes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Changes made to the `target_id`", + "text": "See https://discord.com/developers/docs/resources/audit-log#audit-log-change-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 90, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5331, + "name": "APIAuditLogChange" + } + } + }, + { + "id": 5266, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the entry" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 100, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5268, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Additional info for certain action types", + "text": "See https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 112, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5319, + "name": "APIAuditLogOptions" + } + }, + { + "id": 5269, + "name": "reason", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The reason for the change (0-512 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 116, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5263, + "name": "target_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the affected entity (webhook, user, role, etc.)" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 84, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5265, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user who made the changes", + "text": "This can be `null` in some cases (webhooks deleting themselves by using their own token, for example)\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 96, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5267, + 5264, + 5266, + 5268, + 5269, + 5263, + 5265 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 80, + "character": 17 + } + ] + }, + { + "id": 5319, + "name": "APIAuditLogOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info" + }, + "children": [ + { + "id": 5322, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Channel in which the entities were targeted", + "text": "Present from:\n- MEMBER_MOVE\n- MESSAGE_PIN\n- MESSAGE_UNPIN\n- MESSAGE_DELETE\n- STAGE_INSTANCE_CREATE\n- STAGE_INSTANCE_UPDATE\n- STAGE_INSTANCE_DELETE\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 216, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5324, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of entities that were targeted", + "text": "Present from:\n- MESSAGE_DELETE\n- MESSAGE_BULK_DELETE\n- MEMBER_DISCONNECT\n- MEMBER_MOVE\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 236, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5320, + "name": "delete_member_days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of days after which inactive members were kicked", + "text": "Present from:\n- MEMBER_PRUNE\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 195, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5325, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the overwritten entity", + "text": "Present from:\n- CHANNEL_OVERWRITE_CREATE\n- CHANNEL_OVERWRITE_UPDATE\n- CHANNEL_OVERWRITE_DELETE\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 246, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5321, + "name": "members_removed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of members removed by the prune", + "text": "Present from:\n- MEMBER_PRUNE\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 202, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5323, + "name": "message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the message that was targeted", + "text": "Present from:\n- MESSAGE_PIN\n- MESSAGE_UNPIN\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 225, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5327, + "name": "role_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the role", + "text": "Present from:\n- CHANNEL_OVERWRITE_CREATE\n- CHANNEL_OVERWRITE_UPDATE\n- CHANNEL_OVERWRITE_DELETE\n\n**Present only if the {@link APIAuditLogOptions#type entry type} is \"0\"**\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 270, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5326, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Type of overwritten entity - \"0\" for \"role\" or \"1\" for \"member\"", + "text": "Present from:\n- CHANNEL_OVERWRITE_CREATE\n- CHANNEL_OVERWRITE_UPDATE\n- CHANNEL_OVERWRITE_DELETE\n\n{@link AuditLogOptionsType}\n" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 258, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5328, + "name": "AuditLogOptionsType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5322, + 5324, + 5320, + 5325, + 5321, + 5323, + 5327, + 5326 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 188, + "character": 17 + } + ] + }, + { + "id": 6080, + "name": "APIBan", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#ban-object" + }, + "children": [ + { + "id": 6081, + "name": "reason", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The reason for the ban" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 768, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6082, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The banned user" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 772, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6081, + 6082 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 764, + "character": 17 + } + ] + }, + { + "id": 5718, + "name": "APIBaseComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#component-object" + }, + "children": [ + { + "id": 5719, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1159, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5720, + "name": "T" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5719 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1155, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 5720, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 5721, + "name": "ComponentType" + } + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 5726, + "name": "APIActionRowComponent" + }, + { + "type": "reference", + "id": 5730, + "name": "APIButtonComponentBase" + }, + { + "type": "reference", + "id": 5765, + "name": "APISelectMenuComponent" + }, + { + "type": "reference", + "id": 5779, + "name": "APITextInputComponent" + } + ] + }, + { + "id": 6415, + "name": "APIBaseInteraction", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "children": [ + { + "id": 6417, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the application this interaction is for" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6421, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel it was sent from" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 84, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6419, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The command data payload" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6430, + "name": "Data" + } + }, + { + "id": 6420, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild it was sent from" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6428, + "name": "guild_locale", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild's preferred locale, if invoked in a guild" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 114, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + } + }, + { + "id": 6416, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the interaction" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6427, + "name": "locale", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The selected language of the invoking user" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 110, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + } + }, + { + "id": 6422, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Guild member data for the invoking user, including permissions", + "text": "**This is only sent when an interaction is invoked in a guild**\n" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 90, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6403, + "name": "APIInteractionGuildMember" + } + }, + { + "id": 6426, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "For components, the message they were attached to" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 106, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + }, + { + "id": 6424, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A continuation token for responding to the interaction" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 98, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6418, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of interaction" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6429, + "name": "Type" + } + }, + { + "id": 6423, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User object for the invoking user, if invoked in a DM" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 94, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + }, + { + "id": 6425, + "name": "version", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Read-only property, always `1`" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 102, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": 1 + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6417, + 6421, + 6419, + 6420, + 6428, + 6416, + 6427, + 6422, + 6426, + 6424, + 6418, + 6423, + 6425 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 60, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 6429, + "name": "Type", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 6464, + "name": "InteractionType" + } + }, + { + "id": 6430, + "name": "Data", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ] + }, + { + "id": 5730, + "name": "APIButtonComponentBase", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#buttons" + }, + "children": [ + { + "id": 5734, + "name": "disabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The status of the button" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1214, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5733, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The emoji to display to the left of the text" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1210, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5737, + "name": "APIMessageComponentEmoji" + } + }, + { + "id": 5731, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The label to be displayed on the button" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1202, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5732, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The style of the button" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1206, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5736, + "name": "Style" + } + }, + { + "id": 5735, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1159, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5723, + "name": "Button" + }, + "inheritedFrom": { + "type": "reference", + "id": 5719, + "name": "APIBaseComponent.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5734, + 5733, + 5731, + 5732, + 5735 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1198, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 5736, + "name": "Style", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 5756, + "name": "ButtonStyle" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5718, + "typeArguments": [ + { + "type": "reference", + "id": 5723, + "name": "ComponentType.Button" + } + ], + "name": "APIBaseComponent" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 5741, + "name": "APIButtonComponentWithCustomId" + }, + { + "type": "reference", + "id": 5748, + "name": "APIButtonComponentWithURL" + } + ] + }, + { + "id": 5741, + "name": "APIButtonComponentWithCustomId", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5742, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The custom_id to be sent in the interaction when clicked" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1239, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5746, + "name": "disabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The status of the button" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1214, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 5734, + "name": "APIButtonComponentBase.disabled" + } + }, + { + "id": 5745, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The emoji to display to the left of the text" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1210, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5737, + "name": "APIMessageComponentEmoji" + }, + "inheritedFrom": { + "type": "reference", + "id": 5733, + "name": "APIButtonComponentBase.emoji" + } + }, + { + "id": 5743, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The label to be displayed on the button" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1202, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5731, + "name": "APIButtonComponentBase.label" + } + }, + { + "id": 5744, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The style of the button" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1206, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5757, + "name": "Primary" + }, + { + "type": "reference", + "id": 5758, + "name": "Secondary" + }, + { + "type": "reference", + "id": 5759, + "name": "Success" + }, + { + "type": "reference", + "id": 5760, + "name": "Danger" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5732, + "name": "APIButtonComponentBase.style" + } + }, + { + "id": 5747, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1159, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5723, + "name": "Button" + }, + "inheritedFrom": { + "type": "reference", + "id": 5735, + "name": "APIButtonComponentBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5742, + 5746, + 5745, + 5743, + 5744, + 5747 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1232, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5730, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5757, + "name": "ButtonStyle.Primary" + }, + { + "type": "reference", + "id": 5758, + "name": "ButtonStyle.Secondary" + }, + { + "type": "reference", + "id": 5759, + "name": "ButtonStyle.Success" + }, + { + "type": "reference", + "id": 5760, + "name": "ButtonStyle.Danger" + } + ] + } + ], + "name": "APIButtonComponentBase" + } + ] + }, + { + "id": 5748, + "name": "APIButtonComponentWithURL", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5753, + "name": "disabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The status of the button" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1214, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 5734, + "name": "APIButtonComponentBase.disabled" + } + }, + { + "id": 5752, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The emoji to display to the left of the text" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1210, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5737, + "name": "APIMessageComponentEmoji" + }, + "inheritedFrom": { + "type": "reference", + "id": 5733, + "name": "APIButtonComponentBase.emoji" + } + }, + { + "id": 5750, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The label to be displayed on the button" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1202, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5731, + "name": "APIButtonComponentBase.label" + } + }, + { + "id": 5751, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The style of the button" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1206, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5761, + "name": "Link" + }, + "inheritedFrom": { + "type": "reference", + "id": 5732, + "name": "APIButtonComponentBase.style" + } + }, + { + "id": 5754, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1159, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5723, + "name": "Button" + }, + "inheritedFrom": { + "type": "reference", + "id": 5735, + "name": "APIButtonComponentBase.type" + } + }, + { + "id": 5749, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The URL to direct users to when clicked for Link buttons" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1246, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5753, + 5752, + 5750, + 5751, + 5754, + 5749 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1242, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5730, + "typeArguments": [ + { + "type": "reference", + "id": 5761, + "name": "ButtonStyle.Link" + } + ], + "name": "APIButtonComponentBase" + } + ] + }, + { + "id": 5406, + "name": "APIChannelBase", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "This interface is used to allow easy extension for other channel types. While\nalso allowing `APIPartialChannel` to be used without breaking." + }, + "children": [ + { + "id": 5408, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5789, + "name": "ChannelFlags" + } + }, + { + "id": 5409, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5403, + "name": "APIPartialChannel.id" + } + }, + { + "id": 5410, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5405, + "name": "APIPartialChannel.name" + } + }, + { + "id": 5407, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5411, + "name": "T" + }, + "overwrites": { + "type": "reference", + "id": 5404, + "name": "APIPartialChannel.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5408, + 5409, + 5410, + 5407 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 38, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 5411, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 5509, + "name": "ChannelType" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5402, + "name": "APIPartialChannel" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 5414, + "name": "APITextBasedChannel" + }, + { + "type": "reference", + "id": 5421, + "name": "APIGuildChannel" + } + ] + }, + { + "id": 5704, + "name": "APIChannelMention", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-mention-object-channel-mention-structure" + }, + "children": [ + { + "id": 5706, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild containing the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1095, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5705, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1091, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5708, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1105, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5707, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1101, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5509, + "name": "ChannelType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5706, + 5705, + 5708, + 5707 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1087, + "character": 17 + } + ] + }, + { + "id": 7072, + "name": "APIChannelPatchOverwrite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 7074, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all allowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 435, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 7154, + "name": "RESTPutAPIChannelPermissionJSONBody.allow" + } + }, + { + "id": 7075, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all disallowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 443, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 7155, + "name": "RESTPutAPIChannelPermissionJSONBody.deny" + } + }, + { + "id": 7073, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7076, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`0` for a role or `1` for a member" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 447, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5617, + "name": "OverwriteType" + }, + "inheritedFrom": { + "type": "reference", + "id": 7156, + "name": "RESTPutAPIChannelPermissionJSONBody.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7074, + 7075, + 7073, + 7076 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 25, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 7153, + "name": "RESTPutAPIChannelPermissionJSONBody" + } + ] + }, + { + "id": 6247, + "name": "APIChatInputApplicationCommandInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure" + }, + "children": [ + { + "id": 6253, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/internals.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.guild_id" + } + }, + { + "id": 6250, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/internals.ts", + "line": 5, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.id" + } + }, + { + "id": 6252, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/internals.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.name" + } + }, + { + "id": 6248, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 115, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6245, + "name": "APIApplicationCommandInteractionDataOption" + } + } + }, + { + "id": 6249, + "name": "resolved", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 116, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6254, + "name": "APIChatInputApplicationCommandInteractionDataResolved" + } + }, + { + "id": 6251, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/internals.ts", + "line": 6, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6218, + "name": "ChatInput" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6253, + 6250, + 6252, + 6248, + 6249, + 6251 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 113, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6218, + "name": "ApplicationCommandType.ChatInput" + } + ], + "name": "APIBaseApplicationCommandInteractionData" + } + ] + }, + { + "id": 6254, + "name": "APIChatInputApplicationCommandInteractionDataResolved", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-resolved-data-structure" + }, + "children": [ + { + "id": 6259, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 127, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 5693, + "name": "APIAttachment" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 6258, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 126, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 6222, + "name": "APIInteractionDataResolvedChannel" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 6257, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 125, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 6229, + "name": "APIInteractionDataResolvedGuildMember" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 6256, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 124, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 6567, + "name": "APIRole" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 6255, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 123, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6259, + 6258, + 6257, + 6256, + 6255 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 122, + "character": 17 + } + ] + }, + { + "id": 6501, + "name": "APICommandAutocompleteInteractionResponseCallbackData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6502, + "name": "choices", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 105, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6304, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "APIApplicationCommandOptionChoice" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6502 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 104, + "character": 17 + } + ] + }, + { + "id": 6706, + "name": "APIConnection", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#connection-object" + }, + "children": [ + { + "id": 6713, + "name": "friend_sync", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether friend sync is enabled for this connection" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 192, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6707, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the connection account" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 166, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6711, + "name": "integrations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An array of partial server integrations", + "text": "See https://discord.com/developers/docs/resources/guild#integration-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 184, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6051, + "name": "APIGuildIntegration" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + } + }, + { + "id": 6708, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The username of the connection account" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 170, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6710, + "name": "revoked", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the connection is revoked" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 178, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6714, + "name": "show_activity", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether activities related to this connection will be shown in presence updates" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 196, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6709, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The service of the connection" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 174, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6712, + "name": "verified", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the connection is verified" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 188, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6715, + "name": "visibility", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Visibility of this connection", + "text": "See https://discord.com/developers/docs/resources/user#connection-object-visibility-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 202, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6716, + "name": "ConnectionVisibility" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6713, + 6707, + 6711, + 6708, + 6710, + 6714, + 6709, + 6712, + 6715 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 162, + "character": 17 + } + ] + }, + { + "id": 5642, + "name": "APIEmbed", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-structure", + "text": "Length limit: 6000 characters\n" + }, + "children": [ + { + "id": 5654, + "name": "author", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Author information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 852, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5680, + "name": "APIEmbedAuthor" + } + }, + { + "id": 5648, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Color code of the embed" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 816, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5645, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Description of embed", + "text": "Length limit: 4096 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 804, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5655, + "name": "fields", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Fields information", + "text": "Length limit: 25 field objects\n\nSee https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 860, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5689, + "name": "APIEmbedField" + } + } + }, + { + "id": 5649, + "name": "footer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Footer information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 822, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5685, + "name": "APIEmbedFooter" + } + }, + { + "id": 5650, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Image information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 828, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5672, + "name": "APIEmbedImage" + } + }, + { + "id": 5653, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Provider information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-provider-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 846, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5677, + "name": "APIEmbedProvider" + } + }, + { + "id": 5651, + "name": "thumbnail", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Thumbnail information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 834, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5663, + "name": "APIEmbedThumbnail" + } + }, + { + "id": 5647, + "name": "timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of embed content" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 812, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5643, + "name": "title", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Title of embed", + "text": "Length limit: 256 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 790, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5644, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Type of embed (always \"rich\" for webhook embeds)", + "tags": [ + { + "tag": "deprecated", + "text": "*Embed types should be considered deprecated and might be removed in a future API version*\n\nSee https://discord.com/developers/docs/resources/channel#embed-object-embed-types\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 798, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5656, + "name": "EmbedType" + } + }, + { + "id": 5646, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of embed" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 808, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5652, + "name": "video", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Video information", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object-embed-video-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 840, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5668, + "name": "APIEmbedVideo" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5654, + 5648, + 5645, + 5655, + 5649, + 5650, + 5653, + 5651, + 5647, + 5643, + 5644, + 5646, + 5652 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 784, + "character": 17 + } + ] + }, + { + "id": 5680, + "name": "APIEmbedAuthor", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure" + }, + "children": [ + { + "id": 5683, + "name": "icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of author icon (only supports http(s) and attachments)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 987, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5681, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of author", + "text": "Length limit: 256 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 979, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5684, + "name": "proxy_icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A proxied url of author icon" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 991, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5682, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of author" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 983, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5683, + 5681, + 5684, + 5682 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 973, + "character": 17 + } + ] + }, + { + "id": 5689, + "name": "APIEmbedField", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure" + }, + "children": [ + { + "id": 5692, + "name": "inline", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether or not this field should display inline" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1033, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5690, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the field", + "text": "Length limit: 256 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1023, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5691, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Value of the field", + "text": "Length limit: 1024 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1029, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5692, + 5690, + 5691 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1017, + "character": 17 + } + ] + }, + { + "id": 5685, + "name": "APIEmbedFooter", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure" + }, + "children": [ + { + "id": 5687, + "name": "icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of footer icon (only supports http(s) and attachments)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1007, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5688, + "name": "proxy_icon_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A proxied url of footer icon" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1011, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5686, + "name": "text", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Footer text", + "text": "Length limit: 2048 characters\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1003, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5687, + 5688, + 5686 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 997, + "character": 17 + } + ] + }, + { + "id": 5672, + "name": "APIEmbedImage", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure" + }, + "children": [ + { + "id": 5675, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Height of image" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 949, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5674, + "name": "proxy_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A proxied url of the image" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 945, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5673, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Source url of image (only supports http(s) and attachments)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 941, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5676, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Width of image" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 953, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5675, + 5674, + 5673, + 5676 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 937, + "character": 17 + } + ] + }, + { + "id": 5677, + "name": "APIEmbedProvider", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-provider-structure" + }, + "children": [ + { + "id": 5678, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of provider" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 963, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5679, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL of provider" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 967, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5678, + 5679 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 959, + "character": 17 + } + ] + }, + { + "id": 5663, + "name": "APIEmbedThumbnail", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure" + }, + "children": [ + { + "id": 5666, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Height of thumbnail" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 909, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5665, + "name": "proxy_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A proxied url of the thumbnail" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 905, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5664, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Source url of thumbnail (only supports http(s) and attachments)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 901, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5667, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Width of thumbnail" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 913, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5666, + 5665, + 5664, + 5667 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 897, + "character": 17 + } + ] + }, + { + "id": 5668, + "name": "APIEmbedVideo", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#embed-object-embed-video-structure" + }, + "children": [ + { + "id": 5670, + "name": "height", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Height of video" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 927, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5669, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Source url of video" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 923, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5671, + "name": "width", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Width of video" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 931, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5670, + 5669, + 5671 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 919, + "character": 17 + } + ] + }, + { + "id": 5800, + "name": "APIEmoji", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#emoji-object-emoji-structure" + }, + "children": [ + { + "id": 5808, + "name": "animated", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji is animated" + }, + "sources": [ + { + "fileName": "payloads/v9/emoji.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 5799, + "name": "APIPartialEmoji.animated" + } + }, + { + "id": 5805, + "name": "available", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji can be used, may be false due to loss of Server Boosts" + }, + "sources": [ + { + "fileName": "payloads/v9/emoji.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5806, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji id" + }, + "sources": [ + { + "fileName": "payloads/v9/emoji.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5797, + "name": "APIPartialEmoji.id" + } + }, + { + "id": 5804, + "name": "managed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji is managed" + }, + "sources": [ + { + "fileName": "payloads/v9/emoji.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5807, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji name (can be null only in reaction emoji objects)" + }, + "sources": [ + { + "fileName": "payloads/v9/emoji.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5798, + "name": "APIPartialEmoji.name" + } + }, + { + "id": 5803, + "name": "require_colons", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji must be wrapped in colons" + }, + "sources": [ + { + "fileName": "payloads/v9/emoji.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5801, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Roles this emoji is whitelisted to" + }, + "sources": [ + { + "fileName": "payloads/v9/emoji.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5802, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User that created this emoji" + }, + "sources": [ + { + "fileName": "payloads/v9/emoji.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5808, + 5805, + 5806, + 5804, + 5807, + 5803, + 5801, + 5802 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/emoji.ts", + "line": 30, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5796, + "name": "APIPartialEmoji" + } + ] + }, + { + "id": 6524, + "name": "APIExtendedInvite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-metadata-object" + }, + "children": [ + { + "id": 6538, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Approximate count of total members, returned from the `GET /invites/` endpoint when `with_counts` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 78, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 6517, + "name": "APIInvite.approximate_member_count" + } + }, + { + "id": 6537, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Approximate count of online members, returned from the `GET /invites/` endpoint when `with_counts` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 6516, + "name": "APIInvite.approximate_presence_count" + } + }, + { + "id": 6532, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel this invite is for", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5402, + "name": "APIPartialChannel" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 6511, + "name": "APIInvite.channel" + } + }, + { + "id": 6530, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The invite code (unique ID)" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 6509, + "name": "APIInvite.code" + } + }, + { + "id": 6529, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this invite was created" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 125, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6539, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The expiration date of this invite, returned from the `GET /invites/` endpoint when `with_expiration` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 82, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 6518, + "name": "APIInvite.expires_at" + } + }, + { + "id": 6531, + "name": "guild", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild this invite is for", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6507, + "name": "APIInviteGuild" + }, + "inheritedFrom": { + "type": "reference", + "id": 6510, + "name": "APIInvite.guild" + } + }, + { + "id": 6541, + "name": "guild_scheduled_event", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild scheduled event data, returned from the `GET /invites/` endpoint when `guild_scheduled_event_id` is a valid guild scheduled event id" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 91, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6180, + "name": "APIGuildScheduledEvent" + }, + "inheritedFrom": { + "type": "reference", + "id": 6520, + "name": "APIInvite.guild_scheduled_event" + } + }, + { + "id": 6533, + "name": "inviter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user who created the invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "id": 6512, + "name": "APIInvite.inviter" + } + }, + { + "id": 6527, + "name": "max_age", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Duration (in seconds) after which the invite expires" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 117, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6526, + "name": "max_uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Max number of times this invite can be used" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 113, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6540, + "name": "stage_instance", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The stage instance data if there is a public stage instance in the stage channel this invite is for", + "tags": [ + { + "tag": "deprecated", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6594, + "name": "APIInviteStageInstance" + }, + "inheritedFrom": { + "type": "reference", + "id": 6519, + "name": "APIInvite.stage_instance" + } + }, + { + "id": 6536, + "name": "target_application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The embedded application to open for this voice channel embedded application invite", + "text": "See https://discord.com/developers/docs/topics/oauth2#application\n" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5215, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + "inheritedFrom": { + "type": "reference", + "id": 6515, + "name": "APIInvite.target_application" + } + }, + { + "id": 6534, + "name": "target_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of target for this voice channel invite", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object-target-user-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6521, + "name": "InviteTargetType" + }, + "inheritedFrom": { + "type": "reference", + "id": 6513, + "name": "APIInvite.target_type" + } + }, + { + "id": 6535, + "name": "target_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user whose stream to display for this voice channel stream invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "id": 6514, + "name": "APIInvite.target_user" + } + }, + { + "id": 6528, + "name": "temporary", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this invite only grants temporary membership" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 121, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6525, + "name": "uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Number of times this invite has been used" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 109, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6538, + 6537, + 6532, + 6530, + 6529, + 6539, + 6531, + 6541, + 6533, + 6527, + 6526, + 6540, + 6536, + 6534, + 6535, + 6528, + 6525 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 105, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 6508, + "name": "APIInvite" + } + ] + }, + { + "id": 6163, + "name": "APIExternalGuildScheduledEvent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6164, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.channel_id" + } + }, + { + "id": 6177, + "name": "creator", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator" + } + }, + { + "id": 6168, + "name": "creator_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator_id" + } + }, + { + "id": 6170, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.description" + } + }, + { + "id": 6176, + "name": "entity_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_id" + } + }, + { + "id": 6165, + "name": "entity_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 86, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6181, + "name": "APIGuildScheduledEventEntityMetadata" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_metadata" + } + }, + { + "id": 6175, + "name": "entity_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6186, + "name": "External" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_type" + } + }, + { + "id": 6167, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild id which the scheduled event belongs to" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.guild_id" + } + }, + { + "id": 6166, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.id" + } + }, + { + "id": 6179, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The cover image of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.image" + } + }, + { + "id": 6169, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.name" + } + }, + { + "id": 6173, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6193, + "name": "GuildOnly" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.privacy_level" + } + }, + { + "id": 6172, + "name": "scheduled_end_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the guild event will end, or `null` if the event does not have a scheduled time to end" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_end_time" + } + }, + { + "id": 6171, + "name": "scheduled_start_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time the scheduled event will start" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_start_time" + } + }, + { + "id": 6174, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The status of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6187, + "name": "GuildScheduledEventStatus" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.status" + } + }, + { + "id": 6178, + "name": "user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of users subscribed to the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.user_count" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6164, + 6177, + 6168, + 6170, + 6176, + 6165, + 6175, + 6167, + 6166, + 6179, + 6169, + 6173, + 6172, + 6171, + 6174, + 6178 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 83, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6186, + "name": "GuildScheduledEventEntityType.External" + } + ], + "name": "APIGuildScheduledEventBase" + } + ] + }, + { + "id": 5605, + "name": "APIFollowedChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#followed-channel-object" + }, + "children": [ + { + "id": 5606, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Source channel id" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 633, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5607, + "name": "webhook_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Created target webhook id" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 637, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5606, + 5607 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 629, + "character": 17 + } + ] + }, + { + "id": 5811, + "name": "APIGatewayBotInfo", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway-bot" + }, + "children": [ + { + "id": 5813, + "name": "session_start_limit", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Information on the current session start limit", + "text": "See https://discord.com/developers/docs/topics/gateway#session-start-limit-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5815, + "name": "APIGatewaySessionStartLimit" + } + }, + { + "id": 5812, + "name": "shards", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The recommended number of shards to use when connecting", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5814, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The WSS URL that can be used for connecting to the gateway" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5810, + "name": "APIGatewayInfo.url" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5813, + 5812, + 5814 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 23, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5809, + "name": "APIGatewayInfo" + } + ] + }, + { + "id": 5809, + "name": "APIGatewayInfo", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway" + }, + "children": [ + { + "id": 5810, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The WSS URL that can be used for connecting to the gateway" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5810 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 13, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 5811, + "name": "APIGatewayBotInfo" + } + ] + }, + { + "id": 5815, + "name": "APIGatewaySessionStartLimit", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#session-start-limit-object" + }, + "children": [ + { + "id": 5819, + "name": "max_concurrency", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The number of identify requests allowed per 5 seconds" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5817, + "name": "remaining", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The remaining number of session starts the current user is allowed" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5818, + "name": "reset_after", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The number of milliseconds after which the limit resets" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5816, + "name": "total", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The total number of session starts the current user is allowed" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5819, + 5817, + 5818, + 5816 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 41, + "character": 17 + } + ] + }, + { + "id": 5480, + "name": "APIGroupDMChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5481, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Application id of the group DM creator if it is bot-created" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 169, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5488, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5789, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.flags" + } + }, + { + "id": 5482, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Icon hash" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 173, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5486, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.id" + } + }, + { + "id": 5485, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this channel (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 185, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "name": "Omit.last_message_id" + } + }, + { + "id": 5483, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 177, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5484, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the DM creator" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 181, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5489, + "name": "recipients", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The recipients of the DM", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 160, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.recipients" + } + }, + { + "id": 5487, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5513, + "name": "GroupDM" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5481, + 5488, + 5482, + 5486, + 5485, + 5483, + 5484, + 5489, + 5487 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 165, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5513, + "name": "ChannelType.GroupDM" + } + ], + "name": "APIDMChannelBase" + }, + { + "type": "literal", + "value": "name" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + }, + { + "id": 5920, + "name": "APIGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-guild-structure" + }, + "children": [ + { + "id": 5927, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of afk channel" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 122, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5928, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "afk timeout in seconds" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 126, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5938, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Application id of the guild creator if it is bot-created" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 180, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5952, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "**This field is only received from https://discord.com/developers/docs/resources/guild#get-guild with the `with_counts` query parameter set to `true`**" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 244, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5953, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "**This field is only received from https://discord.com/developers/docs/resources/guild#get-guild with the `with_counts` query parameter set to `true`**" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 248, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5946, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Banner hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 216, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "id": 5912, + "name": "APIPartialGuild.banner" + } + }, + { + "id": 5932, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Default message notifications level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 146, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5964, + "name": "GuildDefaultMessageNotifications" + } + }, + { + "id": 5945, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description for the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 210, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "id": 5913, + "name": "APIPartialGuild.description" + } + }, + { + "id": 5922, + "name": "discovery_splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Discovery splash hash; only present for guilds with the \"DISCOVERABLE\" feature", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 93, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5935, + "name": "emojis", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Custom guild emojis", + "text": "See https://discord.com/developers/docs/resources/emoji#emoji-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 164, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5800, + "name": "APIEmoji" + } + } + }, + { + "id": 5933, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Explicit content filter level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 152, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5967, + "name": "GuildExplicitContentFilter" + } + }, + { + "id": 5936, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Enabled guild features", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-features\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 170, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5999, + "name": "GuildFeature" + } + }, + "overwrites": { + "type": "reference", + "id": 5914, + "name": "APIPartialGuild.features" + } + }, + { + "id": 5958, + "name": "hub_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of Student Hub the guild is" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 274, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 5990, + "name": "GuildHubType" + } + ] + } + }, + { + "id": 5960, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Icon hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5910, + "name": "APIPartialGuild.icon" + } + }, + { + "id": 5921, + "name": "icon_hash", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Icon hash, returned when in the template object", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5963, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild id" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5918, + "name": "APIPartialGuild.id" + } + }, + { + "id": 5943, + "name": "max_members", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The maximum number of members for the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 202, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5942, + "name": "max_presences", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The maximum number of presences for the guild (`null` is always returned, apart from the largest of guilds)" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 198, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 5951, + "name": "max_video_channel_users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The maximum amount of users in a video channel" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 240, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5937, + "name": "mfa_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Required MFA level for the guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-mfa-level\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 176, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5971, + "name": "GuildMFALevel" + } + }, + { + "id": 5959, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild name (2-100 characters, excluding trailing and leading whitespace)" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5909, + "name": "APIPartialGuild.name" + } + }, + { + "id": 5955, + "name": "nsfw_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The nsfw level of the guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 260, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5974, + "name": "GuildNSFWLevel" + } + }, + { + "id": 5923, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if the user is the owner of the guild", + "text": "**This field is only received from https://discord.com/developers/docs/resources/user#get-current-user-guilds**\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 99, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5924, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of owner" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 103, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5925, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Total permissions for the user in the guild (excludes overrides)", + "text": "**This field is only received from https://discord.com/developers/docs/resources/user#get-current-user-guilds**\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 111, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5949, + "name": "preferred_locale", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The preferred locale of a Community guild; used in guild discovery and notices from Discord; defaults to \"en-US\"", + "tags": [ + { + "tag": "default", + "text": "\"en-US\"\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 232, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5957, + "name": "premium_progress_bar_enabled", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the guild has the boost progress bar enabled." + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 270, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5948, + "name": "premium_subscription_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of boosts this guild currently has" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 226, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5947, + "name": "premium_tier", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Premium tier (Server Boost level)", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-premium-tier\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 222, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5985, + "name": "GuildPremiumTier" + } + }, + { + "id": 5950, + "name": "public_updates_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel where admins and moderators of Community guilds receive notices from Discord" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 236, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5926, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Voice region id for the guild", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object", + "tags": [ + { + "tag": "deprecated", + "text": "This field has been deprecated in favor of `rtc_region` on the channel.\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 118, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5934, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Roles in the guild", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 158, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6567, + "name": "APIRole" + } + } + }, + { + "id": 5941, + "name": "rules_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel where Community guilds can display rules and/or guidelines" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 194, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5961, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Splash hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5911, + "name": "APIPartialGuild.splash" + } + }, + { + "id": 5956, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Custom guild stickers", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 266, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6599, + "name": "APISticker" + } + } + }, + { + "id": 5940, + "name": "system_channel_flags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "System channel flags", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 190, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5994, + "name": "GuildSystemChannelFlags" + } + }, + { + "id": 5939, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel where guild notices such as welcome messages and boost events are posted" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 184, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5962, + "name": "unavailable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if this guild is unavailable due to an outage" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 5917, + "name": "APIPartialGuild.unavailable" + } + }, + { + "id": 5944, + "name": "vanity_url_code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The vanity url code for the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 206, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "overwrites": { + "type": "reference", + "id": 5916, + "name": "APIPartialGuild.vanity_url_code" + } + }, + { + "id": 5931, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Verification level required for the guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 140, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5979, + "name": "GuildVerificationLevel" + }, + "overwrites": { + "type": "reference", + "id": 5915, + "name": "APIPartialGuild.verification_level" + } + }, + { + "id": 5954, + "name": "welcome_screen", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The welcome screen of a Community guild, shown to new members", + "text": "Returned in the invite object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 254, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6110, + "name": "APIGuildWelcomeScreen" + }, + "overwrites": { + "type": "reference", + "id": 5919, + "name": "APIPartialGuild.welcome_screen" + } + }, + { + "id": 5930, + "name": "widget_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel id that the widget will generate an invite to, or `null` if set to no invite" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 134, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5929, + "name": "widget_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if the guild widget is enabled" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 130, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5927, + 5928, + 5938, + 5952, + 5953, + 5946, + 5932, + 5945, + 5922, + 5935, + 5933, + 5936, + 5958, + 5960, + 5921, + 5963, + 5943, + 5942, + 5951, + 5937, + 5959, + 5955, + 5923, + 5924, + 5925, + 5949, + 5957, + 5948, + 5947, + 5950, + 5926, + 5934, + 5941, + 5961, + 5956, + 5940, + 5939, + 5962, + 5944, + 5931, + 5954, + 5930, + 5929 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 81, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5908, + "name": "APIPartialGuild" + } + ] + }, + { + "id": 6370, + "name": "APIGuildApplicationCommandPermissions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-guild-application-command-permissions-structure" + }, + "children": [ + { + "id": 6372, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the application the command belongs to" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6373, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6371, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the command or the application id if that permission applies to all commands" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 10, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6374, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The permissions for the command in the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6375, + "name": "APIApplicationCommandPermission" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6372, + 6373, + 6371, + 6374 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 6, + "character": 17 + } + ] + }, + { + "id": 5421, + "name": "APIGuildChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5428, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5789, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "id": 5408, + "name": "APIChannelBase.flags" + } + }, + { + "id": 5422, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5429, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5409, + "name": "APIChannelBase.id" + } + }, + { + "id": 5430, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5410, + "name": "APIChannelBase.name" + } + }, + { + "id": 5426, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5425, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)", + "text": "OR\n\nID of the parent channel for a thread\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5423, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5612, + "name": "APIOverwrite" + } + } + }, + { + "id": 5424, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5427, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5431, + "name": "T" + }, + "inheritedFrom": { + "type": "reference", + "id": 5407, + "name": "APIChannelBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5428, + 5422, + 5429, + 5430, + 5426, + 5425, + 5423, + 5424, + 5427 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 66, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 5431, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 5509, + "name": "ChannelType" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5406, + "typeArguments": [ + { + "type": "reference", + "id": 5431, + "name": "T" + } + ], + "name": "APIChannelBase" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 5433, + "name": "APIGuildTextChannel" + }, + { + "type": "reference", + "id": 5465, + "name": "APIVoiceChannel" + }, + { + "type": "reference", + "id": 5490, + "name": "APIThreadChannel" + } + ] + }, + { + "id": 7224, + "name": "APIGuildCreateOverwrite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 7226, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all allowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 435, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 7154, + "name": "RESTPutAPIChannelPermissionJSONBody.allow" + } + }, + { + "id": 7227, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all disallowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 443, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 7155, + "name": "RESTPutAPIChannelPermissionJSONBody.deny" + } + }, + { + "id": 7225, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 7228, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`0` for a role or `1` for a member" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 447, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5617, + "name": "OverwriteType" + }, + "inheritedFrom": { + "type": "reference", + "id": 7156, + "name": "RESTPutAPIChannelPermissionJSONBody.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7226, + 7227, + 7225, + 7228 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 36, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 7153, + "name": "RESTPutAPIChannelPermissionJSONBody" + } + ] + }, + { + "id": 7236, + "name": "APIGuildCreateRole", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 7240, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "RGB color value", + "tags": [ + { + "tag": "default", + "text": "0\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 604, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.color" + } + }, + { + "id": 7241, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be displayed separately in the sidebar", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 610, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.hoist" + } + }, + { + "id": 7242, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's icon image (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 614, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.icon" + } + }, + { + "id": 7237, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 7244, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be mentionable", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 624, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.mentionable" + } + }, + { + "id": 7238, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the role", + "tags": [ + { + "tag": "default", + "text": "\"new role\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 592, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.name" + } + }, + { + "id": 7239, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Bitwise value of the enabled/disabled permissions", + "tags": [ + { + "tag": "default", + "text": "\"default role permissions in guild\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 598, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.permissions" + } + }, + { + "id": 7243, + "name": "unicode_emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's unicode emoji as a standard emoji (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 618, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIGuildRoleJSONBody.unicode_emoji" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7240, + 7241, + 7242, + 7237, + 7244, + 7238, + 7239, + 7243 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 64, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 7349, + "name": "RESTPostAPIGuildRoleJSONBody" + } + ] + }, + { + "id": 6051, + "name": "APIGuildIntegration", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-object" + }, + "children": [ + { + "id": 6062, + "name": "account", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration account information", + "text": "See https://discord.com/developers/docs/resources/guild#integration-account-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 678, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6071, + "name": "APIIntegrationAccount" + } + }, + { + "id": 6066, + "name": "application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bot/OAuth2 application for discord integrations", + "text": "See https://discord.com/developers/docs/resources/guild#integration-application-object\n\n**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 704, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6074, + "name": "APIGuildIntegrationApplication" + } + }, + { + "id": 6058, + "name": "enable_emoticons", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether emoticons should be synced for this integration (`twitch` only currently)", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 650, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6055, + "name": "enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Is this integration enabled" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 632, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6059, + "name": "expire_behavior", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The behavior of expiring subscribers", + "text": "**This field is not provided for `discord` bot integrations.**\n\nSee https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 658, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6068, + "name": "IntegrationExpireBehavior" + } + }, + { + "id": 6060, + "name": "expire_grace_period", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The grace period (in days) before expiring subscribers", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 664, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6052, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration id" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 620, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6053, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration name" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 624, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6065, + "name": "revoked", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Has this integration been revoked", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 696, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6057, + "name": "role_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID that this integration uses for \"subscribers\"", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 644, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6064, + "name": "subscriber_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "How many subscribers this integration has", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 690, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6063, + "name": "synced_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When this integration was last synced", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 684, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6056, + "name": "syncing", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Is this integration syncing", + "text": "**This field is not provided for `discord` bot integrations.**\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 638, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6054, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration type" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 628, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6067, + "name": "APIGuildIntegrationType" + } + }, + { + "id": 6061, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User for this integration", + "text": "**This field is not provided for `discord` bot integrations.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 672, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6062, + 6066, + 6058, + 6055, + 6059, + 6060, + 6052, + 6053, + 6065, + 6057, + 6064, + 6063, + 6056, + 6054, + 6061 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 616, + "character": 17 + } + ] + }, + { + "id": 6074, + "name": "APIGuildIntegrationApplication", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-application-object" + }, + "children": [ + { + "id": 6079, + "name": "bot", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bot associated with this application", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 758, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + }, + { + "id": 6078, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description of the app" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 752, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6077, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The icon hash of the app", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 748, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6075, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the app" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 738, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6076, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the app" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 742, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6079, + 6078, + 6077, + 6075, + 6076 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 734, + "character": 17 + } + ] + }, + { + "id": 6040, + "name": "APIGuildMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-member-object" + }, + "children": [ + { + "id": 6043, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member's guild avatar hash" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 576, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6050, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 610, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6047, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is deafened in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 596, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6045, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the user joined the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 586, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6048, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is muted in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 600, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6042, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "This users guild nickname" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 572, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6049, + "name": "pending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has not yet passed the guild's Membership Screening requirements", + "text": "*If this field is not present, it can be assumed as `false`.*\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 606, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6046, + "name": "premium_since", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the user started boosting the guild", + "text": "See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 592, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6044, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of role object ids", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 582, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6041, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user this guild member represents", + "text": "**This field won't be included in the member object attached to `MESSAGE_CREATE` and `MESSAGE_UPDATE` gateway events.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 568, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6043, + 6050, + 6047, + 6045, + 6048, + 6042, + 6049, + 6046, + 6044, + 6041 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 560, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 4976, + "name": "GatewayGuildMemberAddDispatchData" + }, + { + "type": "reference", + "id": 6403, + "name": "APIInteractionGuildMember" + } + ] + }, + { + "id": 6118, + "name": "APIGuildMembershipScreening", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6121, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The server description shown in the screening form" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 878, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6120, + "name": "form_fields", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The steps in the screening form" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 874, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6122, + "name": "APIGuildMembershipScreeningField" + } + } + }, + { + "id": 6119, + "name": "version", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the fields were last updated" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 870, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6121, + 6120, + 6119 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 866, + "character": 17 + } + ] + }, + { + "id": 6122, + "name": "APIGuildMembershipScreeningField", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6123, + "name": "field_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of field" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 887, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6128, + "name": "Terms" + } + }, + { + "id": 6124, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The title of the field" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 891, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6126, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user has to fill out this field" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 899, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6125, + "name": "values", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The list of rules" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 895, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6123, + 6124, + 6126, + 6125 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 883, + "character": 17 + } + ] + }, + { + "id": 6025, + "name": "APIGuildPreview", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-preview-object" + }, + "children": [ + { + "id": 6033, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Approximate number of members in this guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 528, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6034, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Approximate number of online members in this guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 532, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6035, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description for the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 536, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6030, + "name": "discovery_splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Discovery splash hash; only present for guilds with the \"DISCOVERABLE\" feature", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 512, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6031, + "name": "emojis", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Custom guild emojis", + "text": "See https://discord.com/developers/docs/resources/emoji#emoji-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 518, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5800, + "name": "APIEmoji" + } + } + }, + { + "id": 6032, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Enabled guild features", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-features\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 524, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5999, + "name": "GuildFeature" + } + } + }, + { + "id": 6028, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Icon hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 500, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6026, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild id" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 490, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6027, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild name (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 494, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6029, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Splash hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 506, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6036, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Custom guild stickers" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 540, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6599, + "name": "APISticker" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6033, + 6034, + 6035, + 6030, + 6031, + 6032, + 6028, + 6026, + 6027, + 6029, + 6036 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 486, + "character": 17 + } + ] + }, + { + "id": 6181, + "name": "APIGuildScheduledEventEntityMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-entity-metadata" + }, + "children": [ + { + "id": 6182, + "name": "location", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The location of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 104, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6182 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 100, + "character": 17 + } + ] + }, + { + "id": 6194, + "name": "APIGuildScheduledEventUser", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-user-object-guild-scheduled-event-user-structure" + }, + "children": [ + { + "id": 6195, + "name": "guild_scheduled_event_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The scheduled event id which the user subscribed to" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 143, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6197, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild member data for this user for the guild which this event belongs to, if any" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 151, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + } + }, + { + "id": 6196, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user which subscribed to the event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 147, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6195, + 6197, + 6196 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 139, + "character": 17 + } + ] + }, + { + "id": 5433, + "name": "APIGuildTextChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5434, + "name": "default_auto_archive_duration", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default duration for newly created threads, in minutes, to automatically archive the thread after recent activity" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 103, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5627, + "name": "ThreadAutoArchiveDuration" + } + }, + { + "id": 5439, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5789, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "id": 5428, + "name": "APIGuildChannel.flags" + } + }, + { + "id": 5442, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5422, + "name": "APIGuildChannel.guild_id" + } + }, + { + "id": 5440, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5429, + "name": "APIGuildChannel.id" + } + }, + { + "id": 5437, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this channel (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5415, + "name": "APITextBasedChannel.last_message_id" + } + }, + { + "id": 5436, + "name": "last_pin_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the last pinned message was pinned.\nThis may be `null` in events such as `GUILD_CREATE` when a message is not pinned" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 112, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5441, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5430, + "name": "APIGuildChannel.name" + } + }, + { + "id": 5446, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 5426, + "name": "APIGuildChannel.nsfw" + } + }, + { + "id": 5445, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)", + "text": "OR\n\nID of the parent channel for a thread\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5425, + "name": "APIGuildChannel.parent_id" + } + }, + { + "id": 5443, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5612, + "name": "APIOverwrite" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 5423, + "name": "APIGuildChannel.permission_overwrites" + } + }, + { + "id": 5444, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 5424, + "name": "APIGuildChannel.position" + } + }, + { + "id": 5435, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel topic (0-1024 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5438, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5447, + "name": "T" + }, + "inheritedFrom": { + "type": "reference", + "id": 5427, + "name": "APIGuildChannel.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5434, + 5439, + 5442, + 5440, + 5437, + 5436, + 5441, + 5446, + 5445, + 5443, + 5444, + 5435, + 5438 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 97, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 5447, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 5432, + "name": "GuildTextChannelType" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5414, + "typeArguments": [ + { + "type": "reference", + "id": 5447, + "name": "T" + } + ], + "name": "APITextBasedChannel" + }, + { + "type": "reference", + "id": 5421, + "typeArguments": [ + { + "type": "reference", + "id": 5447, + "name": "T" + } + ], + "name": "APIGuildChannel" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 5448, + "name": "APITextChannel" + } + ] + }, + { + "id": 6110, + "name": "APIGuildWelcomeScreen", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6111, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The welcome screen short message" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 840, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6112, + "name": "welcome_channels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of suggested channels" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 844, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6113, + "name": "APIGuildWelcomeScreenChannel" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6111, + 6112 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 836, + "character": 17 + } + ] + }, + { + "id": 6113, + "name": "APIGuildWelcomeScreenChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6114, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel id that is suggested" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 851, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6115, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description shown for the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 855, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6116, + "name": "emoji_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The emoji id of the emoji that is shown on the left of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 859, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6117, + "name": "emoji_name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The emoji name of the emoji that is shown on the left of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 863, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6114, + 6115, + 6116, + 6117 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 847, + "character": 17 + } + ] + }, + { + "id": 6083, + "name": "APIGuildWidget", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-example-get-guild-widget" + }, + "children": [ + { + "id": 6087, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 782, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6090, + "name": "APIGuildWidgetChannel" + } + } + }, + { + "id": 6084, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 779, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6086, + "name": "instant_invite", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 781, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6088, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 783, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6094, + "name": "APIGuildWidgetMember" + } + } + }, + { + "id": 6085, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 780, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6089, + "name": "presence_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 784, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6087, + 6084, + 6086, + 6088, + 6085, + 6089 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 778, + "character": 17 + } + ] + }, + { + "id": 6090, + "name": "APIGuildWidgetChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-example-get-guild-widget" + }, + "children": [ + { + "id": 6091, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 791, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6092, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 792, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6093, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 793, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6091, + 6092, + 6093 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 790, + "character": 17 + } + ] + }, + { + "id": 6094, + "name": "APIGuildWidgetMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-example-get-guild-widget" + }, + "children": [ + { + "id": 6100, + "name": "activity", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 805, + "character": 1 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 6101, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 6102, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 805, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6102 + ] + } + ] + } + } + }, + { + "id": 6098, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 803, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6103, + "name": "avatar_url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 806, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6097, + "name": "discriminator", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 802, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6095, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 800, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6099, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 804, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5826, + "name": "PresenceUpdateStatus" + } + }, + { + "id": 6096, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 801, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6100, + 6098, + 6103, + 6097, + 6095, + 6099, + 6096 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 799, + "character": 17 + } + ] + }, + { + "id": 6037, + "name": "APIGuildWidgetSettings", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-widget-object" + }, + "children": [ + { + "id": 6039, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The widget channel id" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 554, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6038, + "name": "enabled", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the widget is enabled" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 550, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6039, + 6038 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 546, + "character": 17 + } + ] + }, + { + "id": 6071, + "name": "APIIntegrationAccount", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#integration-account-object" + }, + "children": [ + { + "id": 6072, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the account" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 724, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6073, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the account" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 728, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6072, + 6073 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 720, + "character": 17 + } + ] + }, + { + "id": 6222, + "name": "APIInteractionDataResolvedChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-object" + }, + "children": [ + { + "id": 6226, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Required.id" + } + }, + { + "id": 6228, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Required.name" + } + }, + { + "id": 6225, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 116, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6224, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 115, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6223, + "name": "thread_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 114, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 5620, + "name": "APIThreadMetadata" + } + ] + } + }, + { + "id": 6227, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5509, + "name": "ChannelType" + }, + "inheritedFrom": { + "type": "reference", + "name": "Required.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6226, + 6228, + 6225, + 6224, + 6223, + 6227 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 113, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5402, + "name": "APIPartialChannel" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + }, + { + "id": 6229, + "name": "APIInteractionDataResolvedGuildMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-member-object" + }, + "children": [ + { + "id": 6235, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member's guild avatar hash" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 576, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.avatar" + } + }, + { + "id": 6237, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 610, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.communication_disabled_until" + } + }, + { + "id": 6233, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the user joined the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 586, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.joined_at" + } + }, + { + "id": 6231, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "This users guild nickname" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 572, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.nick" + } + }, + { + "id": 6236, + "name": "pending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has not yet passed the guild's Membership Screening requirements", + "text": "*If this field is not present, it can be assumed as `false`.*\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 606, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.pending" + } + }, + { + "id": 6230, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 123, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6234, + "name": "premium_since", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the user started boosting the guild", + "text": "See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 592, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.premium_since" + } + }, + { + "id": 6232, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of role object ids", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 582, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.roles" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6235, + 6237, + 6233, + 6231, + 6236, + 6230, + 6234, + 6232 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 122, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "user" + }, + { + "type": "literal", + "value": "deaf" + }, + { + "type": "literal", + "value": "mute" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + }, + { + "id": 6403, + "name": "APIInteractionGuildMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-member-object" + }, + "children": [ + { + "id": 6407, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member's guild avatar hash" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 576, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 6043, + "name": "APIGuildMember.avatar" + } + }, + { + "id": 6414, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 610, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 6050, + "name": "APIGuildMember.communication_disabled_until" + } + }, + { + "id": 6411, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is deafened in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 596, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 6047, + "name": "APIGuildMember.deaf" + } + }, + { + "id": 6409, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the user joined the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 586, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 6045, + "name": "APIGuildMember.joined_at" + } + }, + { + "id": 6412, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is muted in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 600, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 6048, + "name": "APIGuildMember.mute" + } + }, + { + "id": 6406, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "This users guild nickname" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 572, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 6042, + "name": "APIGuildMember.nick" + } + }, + { + "id": 6413, + "name": "pending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has not yet passed the guild's Membership Screening requirements", + "text": "*If this field is not present, it can be assumed as `false`.*\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 606, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 6049, + "name": "APIGuildMember.pending" + } + }, + { + "id": 6404, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6410, + "name": "premium_since", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the user started boosting the guild", + "text": "See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 592, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 6046, + "name": "APIGuildMember.premium_since" + } + }, + { + "id": 6408, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of role object ids", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 582, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 6044, + "name": "APIGuildMember.roles" + } + }, + { + "id": 6405, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user this guild member represents", + "text": "**This field won't be included in the member object attached to `MESSAGE_CREATE` and `MESSAGE_UPDATE` gateway events.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + }, + "overwrites": { + "type": "reference", + "id": 6041, + "name": "APIGuildMember.user" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6407, + 6414, + 6411, + 6409, + 6412, + 6406, + 6413, + 6404, + 6410, + 6408, + 6405 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 50, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + } + ] + }, + { + "id": 6479, + "name": "APIInteractionResponseChannelMessageWithSource", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6481, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6498, + "name": "APIInteractionResponseCallbackData" + } + }, + { + "id": 6480, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6492, + "name": "ChannelMessageWithSource" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6481, + 6480 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 43, + "character": 17 + } + ] + }, + { + "id": 6482, + "name": "APIInteractionResponseDeferredChannelMessageWithSource", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6484, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6498, + "name": "APIInteractionResponseCallbackData" + }, + { + "type": "literal", + "value": "flags" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 6483, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6493, + "name": "DeferredChannelMessageWithSource" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6484, + 6483 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 48, + "character": 17 + } + ] + }, + { + "id": 6485, + "name": "APIInteractionResponseDeferredMessageUpdate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6486, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 54, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6494, + "name": "DeferredMessageUpdate" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6486 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 53, + "character": 17 + } + ] + }, + { + "id": 6471, + "name": "APIInteractionResponsePong", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6472, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6491, + "name": "Pong" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6472 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 29, + "character": 17 + } + ] + }, + { + "id": 6487, + "name": "APIInteractionResponseUpdateMessage", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6489, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6498, + "name": "APIInteractionResponseCallbackData" + } + }, + { + "id": 6488, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6495, + "name": "UpdateMessage" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6489, + 6488 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 57, + "character": 17 + } + ] + }, + { + "id": 6508, + "name": "APIInvite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-object" + }, + "children": [ + { + "id": 6517, + "name": "approximate_member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Approximate count of total members, returned from the `GET /invites/` endpoint when `with_counts` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 78, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6516, + "name": "approximate_presence_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Approximate count of online members, returned from the `GET /invites/` endpoint when `with_counts` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6511, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel this invite is for", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5402, + "name": "APIPartialChannel" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 6509, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The invite code (unique ID)" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6518, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The expiration date of this invite, returned from the `GET /invites/` endpoint when `with_expiration` is `true`" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 82, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6510, + "name": "guild", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild this invite is for", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6507, + "name": "APIInviteGuild" + } + }, + { + "id": 6520, + "name": "guild_scheduled_event", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild scheduled event data, returned from the `GET /invites/` endpoint when `guild_scheduled_event_id` is a valid guild scheduled event id" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 91, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6180, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 6512, + "name": "inviter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user who created the invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + }, + { + "id": 6519, + "name": "stage_instance", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The stage instance data if there is a public stage instance in the stage channel this invite is for", + "tags": [ + { + "tag": "deprecated", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6594, + "name": "APIInviteStageInstance" + } + }, + { + "id": 6515, + "name": "target_application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The embedded application to open for this voice channel embedded application invite", + "text": "See https://discord.com/developers/docs/topics/oauth2#application\n" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5215, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 6513, + "name": "target_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of target for this voice channel invite", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object-target-user-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6521, + "name": "InviteTargetType" + } + }, + { + "id": 6514, + "name": "target_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user whose stream to display for this voice channel stream invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6517, + 6516, + 6511, + 6509, + 6518, + 6510, + 6520, + 6512, + 6519, + 6515, + 6513, + 6514 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 30, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 6524, + "name": "APIExtendedInvite" + } + ] + }, + { + "id": 6594, + "name": "APIInviteStageInstance", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#invite-stage-instance-object-invite-stage-instance-structure", + "tags": [ + { + "tag": "deprecated", + "text": "\n" + } + ] + }, + "children": [ + { + "id": 6598, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The members speaking in the stage", + "text": "See https://discord.com/developers/docs/resources/guild#guild-member-object-guild-member-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 78, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + } + } + }, + { + "id": 6596, + "name": "participant_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The number of users in the stage" + }, + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6597, + "name": "speaker_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The number of users speaking in the stage" + }, + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6595, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The topic of the stage instance (1-120 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6598, + 6596, + 6597, + 6595 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 60, + "character": 17 + } + ] + }, + { + "id": 5525, + "name": "APIMessage", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-structure" + }, + "children": [ + { + "id": 5548, + "name": "activity", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent with Rich Presence-related chat embeds", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-activity-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 443, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5583, + "name": "APIMessageActivity" + } + }, + { + "id": 5549, + "name": "application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent with Rich Presence-related chat embeds", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-application-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 449, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5215, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 5550, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If the message is a response to an Interaction, this is the id of the interaction's application" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 453, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5541, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Any attached files", + "text": "See https://discord.com/developers/docs/resources/channel#attachment-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 404, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5693, + "name": "APIAttachment" + } + } + }, + { + "id": 5529, + "name": "author", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The author of this message (only a valid user in the case where the message is generated by a user or bot user)", + "text": "If the message is generated by a webhook, the author object corresponds to the webhook's id,\nusername, and avatar. You can tell if a message is generated by a webhook by checking for the `webhook_id` property\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 341, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + }, + { + "id": 5527, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the channel the message was sent in" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 328, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5556, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent if the message contains components like buttons, action rows, or other interactive components" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 493, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5726, + "typeArguments": [ + { + "type": "reference", + "id": 5794, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + } + }, + { + "id": 5531, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contents of the message" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 354, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5533, + "name": "edited_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this message was edited (or null if never)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 362, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5542, + "name": "embeds", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Any embedded content", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 410, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5642, + "name": "APIEmbed" + } + } + }, + { + "id": 5552, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Message flags combined as a bitfield", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-flags\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 467, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5595, + "name": "MessageFlags" + } + }, + { + "id": 5528, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the guild the message was sent in" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 332, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5526, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the message" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 324, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5554, + "name": "interaction", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent if the message is a response to an Interaction" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 485, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6397, + "name": "APIMessageInteraction" + } + }, + { + "id": 5530, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Member properties for this message's author", + "text": "The member object exists in `MESSAGE_CREATE` and `MESSAGE_UPDATE` events\nfrom text-based guild channels\n\nSee https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 350, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + } + }, + { + "id": 5540, + "name": "mention_channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Channels specifically mentioned in this message", + "text": "Not all channel mentions in a message will appear in `mention_channels`.\n- Only textual channels that are visible to everyone in a lurkable guild will ever be included\n- Only crossposted messages (via Channel Following) currently include `mention_channels` at all\n\nIf no mentions in the message meet these requirements, this field will not be sent\n\nSee https://discord.com/developers/docs/resources/channel#channel-mention-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 398, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5704, + "name": "APIChannelMention" + } + } + }, + { + "id": 5535, + "name": "mention_everyone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this message mentions everyone" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 370, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5539, + "name": "mention_roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Roles specifically mentioned in this message", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 386, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5536, + "name": "mentions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Users specifically mentioned in the message", + "text": "The `member` field is only present in `MESSAGE_CREATE` and `MESSAGE_UPDATE` events\nfrom text-based guild channels\n\nSee https://discord.com/developers/docs/resources/user#user-object\nSee https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 380, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 6670, + "name": "APIUser" + }, + { + "type": "reflection", + "declaration": { + "id": 5537, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 5538, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 380, + "character": 24 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5538 + ] + } + ] + } + } + ] + } + } + }, + { + "id": 5551, + "name": "message_reference", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Reference data sent with crossposted messages, replies, pins, and thread starter messages", + "text": "See https://discord.com/developers/docs/resources/channel#message-reference-object-message-reference-structure\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 459, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5586, + "name": "APIMessageReference" + } + }, + { + "id": 5544, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A nonce that can be used for optimistic message sending (up to 25 characters)", + "text": "**You will not receive this from further fetches. This is received only once from a `MESSAGE_CREATE`\nevent to ensure it got sent**\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 423, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 5545, + "name": "pinned", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this message is pinned" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 427, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5543, + "name": "reactions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Reactions to the message", + "text": "See https://discord.com/developers/docs/resources/channel#reaction-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 416, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5608, + "name": "APIReaction" + } + } + }, + { + "id": 5553, + "name": "referenced_message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The message associated with the `message_reference`", + "text": "This field is only returned for messages with a `type` of `19` (REPLY).\n\nIf the message is a reply but the `referenced_message` field is not present,\nthe backend did not attempt to fetch the message that was being replied to,\nso its state is unknown.\n\nIf the field exists but is `null`, the referenced message was deleted\n\nSee https://discord.com/developers/docs/resources/channel#message-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 481, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + ] + } + }, + { + "id": 5557, + "name": "sticker_items", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent if the message contains stickers", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-item-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 499, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6619, + "name": "APIStickerItem" + } + } + }, + { + "id": 5558, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The stickers sent with the message", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object", + "tags": [ + { + "tag": "deprecated", + "text": "Use `sticker_items` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 506, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6599, + "name": "APISticker" + } + } + }, + { + "id": 5555, + "name": "thread", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sent if a thread was started from this message" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 489, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + }, + { + "id": 5532, + "name": "timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this message was sent" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 358, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5534, + "name": "tts", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this was a TTS message" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 366, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5547, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of message", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 437, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5559, + "name": "MessageType" + } + }, + { + "id": 5546, + "name": "webhook_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If the message is generated by a webhook, this is the webhook's id" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 431, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5548, + 5549, + 5550, + 5541, + 5529, + 5527, + 5556, + 5531, + 5533, + 5542, + 5552, + 5528, + 5526, + 5554, + 5530, + 5540, + 5535, + 5539, + 5536, + 5551, + 5544, + 5545, + 5543, + 5553, + 5557, + 5558, + 5555, + 5532, + 5534, + 5547, + 5546 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 320, + "character": 17 + } + ] + }, + { + "id": 5583, + "name": "APIMessageActivity", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-object-message-activity-structure" + }, + "children": [ + { + "id": 5585, + "name": "party_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`party_id` from a Rich Presence event", + "text": "See https://discord.com/developers/docs/rich-presence/how-to#updating-presence-update-presence-payload-fields\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 553, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5584, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of message activity", + "text": "See https://discord.com/developers/docs/resources/channel#message-object-message-activity-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 547, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5590, + "name": "MessageActivityType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5585, + 5584 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 541, + "character": 17 + } + ] + }, + { + "id": 6351, + "name": "APIMessageApplicationCommandInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure" + }, + "children": [ + { + "id": 6357, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/internals.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.guild_id" + } + }, + { + "id": 6354, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/internals.ts", + "line": 5, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.id" + } + }, + { + "id": 6356, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/internals.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.name" + } + }, + { + "id": 6353, + "name": "resolved", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6358, + "name": "APIMessageApplicationCommandInteractionDataResolved" + } + }, + { + "id": 6352, + "name": "target_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6355, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/internals.ts", + "line": 6, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6220, + "name": "Message" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6357, + 6354, + 6356, + 6353, + 6352, + 6355 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 32, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6220, + "name": "ApplicationCommandType.Message" + } + ], + "name": "APIBaseApplicationCommandInteractionData" + } + ] + }, + { + "id": 6358, + "name": "APIMessageApplicationCommandInteractionDataResolved", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-resolved-data-structure" + }, + "children": [ + { + "id": 6359, + "name": "messages", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6359 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 41, + "character": 17 + } + ] + }, + { + "id": 6439, + "name": "APIMessageComponentBaseInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6441, + "name": "component_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/messageComponents.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6442, + "name": "CType" + } + }, + { + "id": 6440, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The `custom_id` of the component" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/messageComponents.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6441, + 6440 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/messageComponents.ts", + "line": 40, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 6442, + "name": "CType", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 5721, + "name": "ComponentType" + } + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 6444, + "name": "APIMessageSelectMenuInteractionData" + } + ] + }, + { + "id": 5737, + "name": "APIMessageComponentEmoji", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5740, + "name": "animated", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji is animated" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1229, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5738, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Emoji id" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1221, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5739, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Emoji name" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1225, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5740, + 5738, + 5739 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1217, + "character": 17 + } + ] + }, + { + "id": 6397, + "name": "APIMessageInteraction", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#message-interaction-object" + }, + "children": [ + { + "id": 6398, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the interaction" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6402, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild member who invoked the interaction, only sent in MESSAGE_CREATE events" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6396, + "name": "PartialAPIMessageInteractionGuildMember" + } + }, + { + "id": 6400, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the ApplicationCommand" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6399, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of interaction" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6464, + "name": "InteractionType" + } + }, + { + "id": 6401, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user who invoked the interaction" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6398, + 6402, + 6400, + 6399, + 6401 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 24, + "character": 17 + } + ] + }, + { + "id": 5586, + "name": "APIMessageReference", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-reference-object-message-reference-structure" + }, + "children": [ + { + "id": 5588, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the originating message's channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 567, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5589, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the originating message's guild" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 571, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5587, + "name": "message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the originating message" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 563, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5588, + 5589, + 5587 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 559, + "character": 17 + } + ] + }, + { + "id": 6444, + "name": "APIMessageSelectMenuInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6447, + "name": "component_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/messageComponents.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5724, + "name": "SelectMenu" + }, + "inheritedFrom": { + "type": "reference", + "id": 6441, + "name": "APIMessageComponentBaseInteractionData.component_type" + } + }, + { + "id": 6446, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The `custom_id` of the component" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/messageComponents.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 6440, + "name": "APIMessageComponentBaseInteractionData.custom_id" + } + }, + { + "id": 6445, + "name": "values", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/messageComponents.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6447, + 6446, + 6445 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/messageComponents.ts", + "line": 53, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 6439, + "typeArguments": [ + { + "type": "reference", + "id": 5724, + "name": "ComponentType.SelectMenu" + } + ], + "name": "APIMessageComponentBaseInteractionData" + } + ] + }, + { + "id": 6476, + "name": "APIModalInteractionResponse", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6478, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6503, + "name": "APIModalInteractionResponseCallbackData" + } + }, + { + "id": 6477, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6497, + "name": "Modal" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6478, + 6477 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 38, + "character": 17 + } + ] + }, + { + "id": 6503, + "name": "APIModalInteractionResponseCallbackData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-modal" + }, + "children": [ + { + "id": 6506, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Between 1 and 5 (inclusive) components that make up the modal" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 123, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5726, + "typeArguments": [ + { + "type": "reference", + "id": 5779, + "name": "APITextInputComponent" + } + ], + "name": "APIActionRowComponent" + } + } + }, + { + "id": 6504, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A developer-defined identifier for the component, max 100 characters" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 115, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6505, + "name": "title", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The title of the popup modal" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 119, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6506, + 6504, + 6505 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 111, + "character": 17 + } + ] + }, + { + "id": 6457, + "name": "APIModalSubmission", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6459, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A list of child components" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/modalSubmit.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6454, + "name": "ModalSubmitActionRowComponent" + } + } + }, + { + "id": 6458, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A developer-defined identifier for the component, max 100 characters" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/modalSubmit.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6459, + 6458 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/modalSubmit.ts", + "line": 21, + "character": 17 + } + ] + }, + { + "id": 5612, + "name": "APIOverwrite", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#overwrite-object-overwrite-structure" + }, + "children": [ + { + "id": 5615, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Permission bit set", + "text": "See https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 681, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5616, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Permission bit set", + "text": "See https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 689, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5613, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role or user id" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 667, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5614, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Either 0 (role) or 1 (member)", + "text": "{@link OverwriteType}\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 673, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5617, + "name": "OverwriteType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5615, + 5616, + 5613, + 5614 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 663, + "character": 17 + } + ] + }, + { + "id": 5402, + "name": "APIPartialChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "Not documented, but partial only includes id, name, and type" + }, + "children": [ + { + "id": 5403, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5405, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5404, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5509, + "name": "ChannelType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5403, + 5405, + 5404 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 17, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 5406, + "name": "APIChannelBase" + } + ] + }, + { + "id": 5796, + "name": "APIPartialEmoji", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "Not documented but mentioned" + }, + "children": [ + { + "id": 5799, + "name": "animated", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this emoji is animated" + }, + "sources": [ + { + "fileName": "payloads/v9/emoji.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5797, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji id" + }, + "sources": [ + { + "fileName": "payloads/v9/emoji.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5798, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji name (can be null only in reaction emoji objects)" + }, + "sources": [ + { + "fileName": "payloads/v9/emoji.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5799, + 5797, + 5798 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/emoji.ts", + "line": 12, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 5800, + "name": "APIEmoji" + } + ] + }, + { + "id": 5908, + "name": "APIPartialGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#guild-object-guild-structure" + }, + "children": [ + { + "id": 5912, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Banner hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5913, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description for the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5914, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Enabled guild features", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-features\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5999, + "name": "GuildFeature" + } + } + }, + { + "id": 5910, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Icon hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5918, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild id" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.id" + } + }, + { + "id": 5909, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild name (2-100 characters, excluding trailing and leading whitespace)" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5911, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Splash hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5917, + "name": "unavailable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if this guild is unavailable due to an outage" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5916, + "name": "vanity_url_code", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The vanity url code for the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5915, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification level required for the guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5979, + "name": "GuildVerificationLevel" + } + }, + { + "id": 5919, + "name": "welcome_screen", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The welcome screen of a Community guild, shown to new members", + "text": "Returned in the invite object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 254, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6110, + "name": "APIGuildWelcomeScreen" + }, + "inheritedFrom": { + "type": "reference", + "name": "Pick.welcome_screen" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5912, + 5913, + 5914, + 5910, + 5918, + 5909, + 5911, + 5917, + 5916, + 5915, + 5919 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 29, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5905, + "name": "APIUnavailableGuild" + }, + { + "type": "literal", + "value": "unavailable" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5920, + "name": "APIGuild" + }, + { + "type": "literal", + "value": "welcome_screen" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 5920, + "name": "APIGuild" + } + ] + }, + { + "id": 5608, + "name": "APIReaction", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#reaction-object-reaction-structure" + }, + "children": [ + { + "id": 5609, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Times this emoji has been used to react" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 647, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5611, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Emoji information", + "text": "See https://discord.com/developers/docs/resources/emoji#emoji-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 657, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5796, + "name": "APIPartialEmoji" + } + }, + { + "id": 5610, + "name": "me", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the current user reacted using this emoji" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 651, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5609, + 5611, + 5610 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 643, + "character": 17 + } + ] + }, + { + "id": 6567, + "name": "APIRole", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/permissions#role-object" + }, + "children": [ + { + "id": 6570, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integer representation of hexadecimal color code" + }, + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6571, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "If this role is pinned in the user listing" + }, + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6572, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role icon hash" + }, + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 30, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6568, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role id" + }, + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 14, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6576, + "name": "managed", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this role is managed by an integration" + }, + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6577, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this role is mentionable" + }, + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6569, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role name" + }, + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6575, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Permission bit set", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 44, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6574, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Position of this role" + }, + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6578, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The tags this role has" + }, + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6579, + "name": "APIRoleTags" + } + }, + { + "id": 6573, + "name": "unicode_emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role unicode emoji as a standard emoji" + }, + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6570, + 6571, + 6572, + 6568, + 6576, + 6577, + 6569, + 6575, + 6574, + 6578, + 6573 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 10, + "character": 17 + } + ] + }, + { + "id": 6579, + "name": "APIRoleTags", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/permissions#role-object-role-tags-structure" + }, + "children": [ + { + "id": 6580, + "name": "bot_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the bot this role belongs to" + }, + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6582, + "name": "integration_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the integration this role belongs to" + }, + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6581, + "name": "premium_subscriber", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this is the guild's premium subscriber role" + }, + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6580, + 6582, + 6581 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/permissions.ts", + "line": 62, + "character": 17 + } + ] + }, + { + "id": 5765, + "name": "APISelectMenuComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#select-menus" + }, + "children": [ + { + "id": 5766, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A developer-defined identifier for the select menu, max 100 characters" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1277, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5771, + "name": "disabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Disable the select", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1303, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5770, + "name": "max_values", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The maximum number of items that can be chosen; max 25", + "tags": [ + { + "tag": "default", + "text": "1\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1297, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5769, + "name": "min_values", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The minimum number of items that must be chosen; min 0, max 25", + "tags": [ + { + "tag": "default", + "text": "1\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1291, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5767, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The choices in the select, max 25" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1281, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5773, + "name": "APISelectMenuOption" + } + } + }, + { + "id": 5768, + "name": "placeholder", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Custom placeholder text if nothing is selected, max 150 characters" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1285, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5772, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1159, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5724, + "name": "SelectMenu" + }, + "inheritedFrom": { + "type": "reference", + "id": 5719, + "name": "APIBaseComponent.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5766, + 5771, + 5770, + 5769, + 5767, + 5768, + 5772 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1273, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5718, + "typeArguments": [ + { + "type": "reference", + "id": 5724, + "name": "ComponentType.SelectMenu" + } + ], + "name": "APIBaseComponent" + } + ] + }, + { + "id": 5773, + "name": "APISelectMenuOption", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#select-menu-object-select-option-structure" + }, + "children": [ + { + "id": 5778, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this option should be already-selected by default" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1329, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5776, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An additional description of the option (max 50 chars)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1321, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5777, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The emoji to display to the left of the option" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1325, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5737, + "name": "APIMessageComponentEmoji" + } + }, + { + "id": 5774, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user-facing name of the option (max 25 chars)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1313, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5775, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The dev-defined value of the option (max 100 chars)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1317, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5778, + 5776, + 5777, + 5774, + 5775 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1309, + "character": 17 + } + ] + }, + { + "id": 6583, + "name": "APIStageInstance", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#stage-instance-object" + }, + "children": [ + { + "id": 6586, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the associated stage channel" + }, + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6589, + "name": "discoverable_disabled", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether or not stage discovery is disabled", + "tags": [ + { + "tag": "deprecated", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6585, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild id of the associated stage channel" + }, + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6590, + "name": "guild_scheduled_event_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the scheduled event for this stage instance" + }, + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6584, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the stage instance" + }, + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 11, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6588, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the stage instance", + "text": "See https://discord.com/developers/docs/resources/stage-instance#stage-instance-object-privacy-level\n" + }, + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6591, + "name": "StageInstancePrivacyLevel" + } + }, + { + "id": 6587, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The topic of the stage instance (1-120 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6586, + 6589, + 6585, + 6590, + 6584, + 6588, + 6587 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/stageInstance.ts", + "line": 7, + "character": 17 + } + ] + }, + { + "id": 6129, + "name": "APIStageInstanceGuildScheduledEvent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6130, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 74, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.channel_id" + } + }, + { + "id": 6143, + "name": "creator", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator" + } + }, + { + "id": 6134, + "name": "creator_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator_id" + } + }, + { + "id": 6136, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.description" + } + }, + { + "id": 6142, + "name": "entity_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_id" + } + }, + { + "id": 6131, + "name": "entity_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_metadata" + } + }, + { + "id": 6141, + "name": "entity_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6184, + "name": "StageInstance" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_type" + } + }, + { + "id": 6133, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild id which the scheduled event belongs to" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.guild_id" + } + }, + { + "id": 6132, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.id" + } + }, + { + "id": 6145, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The cover image of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.image" + } + }, + { + "id": 6135, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.name" + } + }, + { + "id": 6139, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6193, + "name": "GuildOnly" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.privacy_level" + } + }, + { + "id": 6138, + "name": "scheduled_end_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the guild event will end, or `null` if the event does not have a scheduled time to end" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_end_time" + } + }, + { + "id": 6137, + "name": "scheduled_start_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time the scheduled event will start" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_start_time" + } + }, + { + "id": 6140, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The status of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6187, + "name": "GuildScheduledEventStatus" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.status" + } + }, + { + "id": 6144, + "name": "user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of users subscribed to the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.user_count" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6130, + 6143, + 6134, + 6136, + 6142, + 6131, + 6141, + 6133, + 6132, + 6145, + 6135, + 6139, + 6138, + 6137, + 6140, + 6144 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 72, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6184, + "name": "GuildScheduledEventEntityType.StageInstance" + } + ], + "name": "APIGuildScheduledEventBase" + } + ] + }, + { + "id": 6599, + "name": "APISticker", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-object" + }, + "children": [ + { + "id": 6605, + "name": "asset", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Previously the sticker asset hash, now an empty string", + "tags": [ + { + "tag": "deprecated", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "" + } + }, + { + "id": 6608, + "name": "available", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this guild sticker can be used, may be false due to loss of Server Boosts" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6603, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Description of the sticker" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6607, + "name": "format_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of sticker format", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-format-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6615, + "name": "StickerFormatType" + } + }, + { + "id": 6609, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the guild that owns this sticker" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6600, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the sticker" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6602, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the sticker" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6601, + "name": "pack_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "For standard stickers, ID of the pack the sticker is from" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6611, + "name": "sort_value", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The standard sticker's sort order within its pack" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6604, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "For guild stickers, the Discord name of a unicode emoji representing the sticker's expression. for standard stickers, a comma-separated list of related expressions." + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6606, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of sticker", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6612, + "name": "StickerType" + } + }, + { + "id": 6610, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that uploaded the guild sticker" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6605, + 6608, + 6603, + 6607, + 6609, + 6600, + 6602, + 6601, + 6611, + 6604, + 6606, + 6610 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 11, + "character": 17 + } + ] + }, + { + "id": 6620, + "name": "APIStickerPack", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-pack-object" + }, + "children": [ + { + "id": 6627, + "name": "banner_asset_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the sticker pack's banner image" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 126, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6625, + "name": "cover_sticker_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of a sticker in the pack which is shown as the pack's icon" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 118, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6626, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Description of the sticker pack" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 122, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6621, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the sticker pack" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 102, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6623, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the sticker pack" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 110, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6624, + "name": "sku_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the pack's SKU" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 114, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6622, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The stickers in the pack" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 106, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6599, + "name": "APISticker" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6627, + 6625, + 6626, + 6621, + 6623, + 6624, + 6622 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 98, + "character": 17 + } + ] + }, + { + "id": 6628, + "name": "APITeam", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/teams#data-models-team-object" + }, + "children": [ + { + "id": 6629, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A hash of the image of the team's icon" + }, + "sources": [ + { + "fileName": "payloads/v9/teams.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6630, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The unique id of the team" + }, + "sources": [ + { + "fileName": "payloads/v9/teams.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6631, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The members of the team" + }, + "sources": [ + { + "fileName": "payloads/v9/teams.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6634, + "name": "APITeamMember" + } + } + }, + { + "id": 6632, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the team" + }, + "sources": [ + { + "fileName": "payloads/v9/teams.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6633, + "name": "owner_user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user id of the current team owner" + }, + "sources": [ + { + "fileName": "payloads/v9/teams.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6629, + 6630, + 6631, + 6632, + 6633 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/teams.ts", + "line": 11, + "character": 17 + } + ] + }, + { + "id": 6634, + "name": "APITeamMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/teams#data-models-team-members-object" + }, + "children": [ + { + "id": 6635, + "name": "membership_state", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's membership state on the team", + "text": "See https://discord.com/developers/docs/topics/teams#data-models-membership-state-enum\n" + }, + "sources": [ + { + "fileName": "payloads/v9/teams.ts", + "line": 43, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6639, + "name": "TeamMemberMembershipState" + } + }, + { + "id": 6636, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Will always be `[\"*\"]`" + }, + "sources": [ + { + "fileName": "payloads/v9/teams.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "literal", + "value": "*" + } + ] + } + }, + { + "id": 6637, + "name": "team_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the parent team of which they are a member" + }, + "sources": [ + { + "fileName": "payloads/v9/teams.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6638, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The avatar, discriminator, id, and username of the user", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/teams.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6635, + 6636, + 6637, + 6638 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/teams.ts", + "line": 37, + "character": 17 + } + ] + }, + { + "id": 6642, + "name": "APITemplate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/template#template-object" + }, + "children": [ + { + "id": 6643, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The template code (unique ID)" + }, + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6649, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this template was created" + }, + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6648, + "name": "creator", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user who created the template", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + }, + { + "id": 6647, + "name": "creator_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The ID of the user who created the template" + }, + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6645, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The description for the template" + }, + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6653, + "name": "is_dirty", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the template has unsynced changes" + }, + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 6644, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Template name" + }, + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6652, + "name": "serialized_source_guild", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild snapshot this template contains" + }, + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 54, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6654, + "name": "APITemplateSerializedSourceGuild" + } + }, + { + "id": 6651, + "name": "source_guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The ID of the guild this template is based on" + }, + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6650, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this template was last synced to the source guild" + }, + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6646, + "name": "usage_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Number of times this template has been used" + }, + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6643, + 6649, + 6648, + 6647, + 6645, + 6653, + 6644, + 6652, + 6651, + 6650, + 6646 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 6654, + "name": "APITemplateSerializedSourceGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6665, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID for afk channel" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 135, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.afk_channel_id" + } + }, + { + "id": 6666, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "AFK timeout in seconds" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 139, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.afk_timeout" + } + }, + { + "id": 6664, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New guild's channels", + "text": "**When using the channels parameter, the `position` field is ignored, and none of the default channels are created.**\n\n*When using the channels parameter, the `id` field within each channel object may be set to an integer placeholder,\nand will be replaced by the API upon consumption. Its purpose is to allow you to create `GUILD_CATEGORY` channels\nby setting the `parent_id` field on any children to the category's id field.\nCategory channels must be listed before any children.*\n\nSee https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 131, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 7230, + "name": "APIGuildCreatePartialChannel" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.channels" + } + }, + { + "id": 6662, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default message notification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 99, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5964, + "name": "GuildDefaultMessageNotifications" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.default_message_notifications" + } + }, + { + "id": 6655, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6663, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit content filter level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 105, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5967, + "name": "GuildExplicitContentFilter" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.explicit_content_filter" + } + }, + { + "id": 6657, + "name": "icon_hash", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6659, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the guild (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.name" + } + }, + { + "id": 6656, + "name": "preferred_locale", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6669, + "name": "premium_progress_bar_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the boosts progress bar should be enabled." + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 153, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.premium_progress_bar_enabled" + } + }, + { + "id": 6661, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.region" + } + }, + { + "id": 6658, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New guild roles", + "text": "**When using this parameter, the first member of the array is used to change properties of the guild's @everyone role.\nIf you are trying to bootstrap a guild with additional roles, keep this in mind.**\n\n*When using this parameter, the required `id` field within each role object is an integer placeholder,\nand will be replaced by the API upon consumption. Its purpose is to allow you to overwrite a role's permissions\nin a channel when also passing in channels with the channels array.*\n\nSee https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 118, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 7236, + "name": "APIGuildCreateRole" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.roles" + } + }, + { + "id": 6668, + "name": "system_channel_flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "System channel flags", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 149, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5994, + "name": "GuildSystemChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.system_channel_flags" + } + }, + { + "id": 6667, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where guild notices such as welcome messages and boost events are posted" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 143, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.system_channel_id" + } + }, + { + "id": 6660, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 93, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5979, + "name": "GuildVerificationLevel" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.verification_level" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6665, + 6666, + 6664, + 6662, + 6655, + 6663, + 6657, + 6659, + 6656, + 6669, + 6661, + 6658, + 6668, + 6667, + 6660 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/template.ts", + "line": 61, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7245, + "name": "RESTPostAPIGuildsJSONBody" + }, + { + "type": "literal", + "value": "icon" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + }, + { + "id": 5414, + "name": "APITextBasedChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5417, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5789, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "id": 5408, + "name": "APIChannelBase.flags" + } + }, + { + "id": 5418, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5409, + "name": "APIChannelBase.id" + } + }, + { + "id": 5415, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this channel (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5419, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5410, + "name": "APIChannelBase.name" + } + }, + { + "id": 5416, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5420, + "name": "T" + }, + "inheritedFrom": { + "type": "reference", + "id": 5407, + "name": "APIChannelBase.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5417, + 5418, + 5415, + 5419, + 5416 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 59, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 5420, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 5509, + "name": "ChannelType" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5406, + "typeArguments": [ + { + "type": "reference", + "id": 5420, + "name": "T" + } + ], + "name": "APIChannelBase" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 5433, + "name": "APIGuildTextChannel" + } + ] + }, + { + "id": 5448, + "name": "APITextChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5450, + "name": "default_auto_archive_duration", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default duration for newly created threads, in minutes, to automatically archive the thread after recent activity" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 103, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5627, + "name": "ThreadAutoArchiveDuration" + }, + "inheritedFrom": { + "type": "reference", + "id": 5434, + "name": "APIGuildTextChannel.default_auto_archive_duration" + } + }, + { + "id": 5455, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5789, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "id": 5439, + "name": "APIGuildTextChannel.flags" + } + }, + { + "id": 5458, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5442, + "name": "APIGuildTextChannel.guild_id" + } + }, + { + "id": 5456, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5440, + "name": "APIGuildTextChannel.id" + } + }, + { + "id": 5453, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this channel (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5437, + "name": "APIGuildTextChannel.last_message_id" + } + }, + { + "id": 5452, + "name": "last_pin_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the last pinned message was pinned.\nThis may be `null` in events such as `GUILD_CREATE` when a message is not pinned" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 112, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5436, + "name": "APIGuildTextChannel.last_pin_timestamp" + } + }, + { + "id": 5457, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5441, + "name": "APIGuildTextChannel.name" + } + }, + { + "id": 5462, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 5446, + "name": "APIGuildTextChannel.nsfw" + } + }, + { + "id": 5461, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)", + "text": "OR\n\nID of the parent channel for a thread\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5445, + "name": "APIGuildTextChannel.parent_id" + } + }, + { + "id": 5459, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5612, + "name": "APIOverwrite" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 5443, + "name": "APIGuildTextChannel.permission_overwrites" + } + }, + { + "id": 5460, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 5444, + "name": "APIGuildTextChannel.position" + } + }, + { + "id": 5449, + "name": "rate_limit_per_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Amount of seconds a user has to wait before sending another message (0-21600);\nbots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected", + "text": "`rate_limit_per_user` also applies to thread creation. Users can send one message and create one thread during each `rate_limit_per_user` interval.\n\nFor thread channels, `rate_limit_per_user` is only returned if the field is set to a non-zero and non-null value.\nThe absence of this field in API calls and Gateway events should indicate that slowmode has been reset to the default value.\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 125, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5451, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel topic (0-1024 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5435, + "name": "APIGuildTextChannel.topic" + } + }, + { + "id": 5454, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5510, + "name": "GuildText" + }, + "inheritedFrom": { + "type": "reference", + "id": 5438, + "name": "APIGuildTextChannel.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5450, + 5455, + 5458, + 5456, + 5453, + 5452, + 5457, + 5462, + 5461, + 5459, + 5460, + 5449, + 5451, + 5454 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 115, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5433, + "typeArguments": [ + { + "type": "reference", + "id": 5510, + "name": "ChannelType.GuildText" + } + ], + "name": "APIGuildTextChannel" + } + ] + }, + { + "id": 5779, + "name": "APITextInputComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#text-inputs-text-input-structure" + }, + "children": [ + { + "id": 5781, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The custom id for the text input" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1343, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5782, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Text that appears on top of the text input field, max 80 characters" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1347, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5786, + "name": "max_length", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Maximal length of text input" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1363, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5785, + "name": "min_length", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Minimal length of text input" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1359, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5783, + "name": "placeholder", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Placeholder for the text input" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1351, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5787, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether or not this text input is required or not" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1367, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5780, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "One of text input styles" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1339, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5762, + "name": "TextInputStyle" + } + }, + { + "id": 5788, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1159, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5725, + "name": "TextInput" + }, + "inheritedFrom": { + "type": "reference", + "id": 5719, + "name": "APIBaseComponent.type" + } + }, + { + "id": 5784, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The pre-filled text in the text input" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1355, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5781, + 5782, + 5786, + 5785, + 5783, + 5787, + 5780, + 5788, + 5784 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1335, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5718, + "typeArguments": [ + { + "type": "reference", + "id": 5725, + "name": "ComponentType.TextInput" + } + ], + "name": "APIBaseComponent" + } + ] + }, + { + "id": 5490, + "name": "APIThreadChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5504, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5789, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "id": 5428, + "name": "APIGuildChannel.flags" + } + }, + { + "id": 5498, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5422, + "name": "APIGuildChannel.guild_id" + } + }, + { + "id": 5505, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5429, + "name": "APIGuildChannel.id" + } + }, + { + "id": 5497, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this thread (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 225, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5491, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The client users member for the thread, only included in select endpoints" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 195, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5632, + "name": "APIThreadMember" + } + }, + { + "id": 5494, + "name": "member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The approximate member count of the thread, does not count above 50 even if there are more members" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 207, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5493, + "name": "message_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The approximate message count of the thread, does not count above 50 even if there are more messages" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 203, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5506, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5430, + "name": "APIGuildChannel.name" + } + }, + { + "id": 5502, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 5426, + "name": "APIGuildChannel.nsfw" + } + }, + { + "id": 5496, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the thread creator" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 221, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5501, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)", + "text": "OR\n\nID of the parent channel for a thread\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5425, + "name": "APIGuildChannel.parent_id" + } + }, + { + "id": 5499, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5612, + "name": "APIOverwrite" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 5423, + "name": "APIGuildChannel.permission_overwrites" + } + }, + { + "id": 5500, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 5424, + "name": "APIGuildChannel.position" + } + }, + { + "id": 5495, + "name": "rate_limit_per_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Amount of seconds a user has to wait before sending another message (0-21600);\nbots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected", + "text": "`rate_limit_per_user` also applies to thread creation. Users can send one message and create one thread during each `rate_limit_per_user` interval.\n\nFor thread channels, `rate_limit_per_user` is only returned if the field is set to a non-zero and non-null value.\nThe absence of this field in API calls and Gateway events should indicate that slowmode has been reset to the default value.\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 217, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5492, + "name": "thread_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The metadata for a thread channel not shared by other channels" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 199, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5620, + "name": "APIThreadMetadata" + } + }, + { + "id": 5503, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5516, + "name": "GuildNewsThread" + }, + { + "type": "reference", + "id": 5517, + "name": "GuildPublicThread" + }, + { + "type": "reference", + "id": 5518, + "name": "GuildPrivateThread" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5427, + "name": "APIGuildChannel.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5504, + 5498, + 5505, + 5497, + 5491, + 5494, + 5493, + 5506, + 5502, + 5496, + 5501, + 5499, + 5500, + 5495, + 5492, + 5503 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 188, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5421, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5517, + "name": "ChannelType.GuildPublicThread" + }, + { + "type": "reference", + "id": 5518, + "name": "ChannelType.GuildPrivateThread" + }, + { + "type": "reference", + "id": 5516, + "name": "ChannelType.GuildNewsThread" + } + ] + } + ], + "name": "APIGuildChannel" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 5114, + "name": "GatewayThreadCreateDispatchData" + } + ] + }, + { + "id": 5638, + "name": "APIThreadList", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5641, + "name": "has_more", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether there are potentially additional threads" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 776, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5640, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The members for the client user in each of the fetched threads" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 772, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5632, + "name": "APIThreadMember" + } + } + }, + { + "id": 5639, + "name": "threads", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The threads that were fetched" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 768, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5641, + 5640, + 5639 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 764, + "character": 17 + } + ] + }, + { + "id": 5632, + "name": "APIThreadMember", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#thread-member-object-thread-member-structure" + }, + "children": [ + { + "id": 5636, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Member flags combined as a bitfield", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 759, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5637, + "name": "ThreadMemberFlags" + } + }, + { + "id": 5633, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the thread", + "text": "**This field is omitted on the member sent within each thread in the `GUILD_CREATE` event**\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 743, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5635, + "name": "join_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "An ISO8601 timestamp for when the member last joined" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 753, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5634, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the member", + "text": "**This field is omitted on the member sent within each thread in the `GUILD_CREATE` event**\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 749, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5636, + 5633, + 5635, + 5634 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 737, + "character": 17 + } + ] + }, + { + "id": 5620, + "name": "APIThreadMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#thread-metadata-object-thread-metadata-structure" + }, + "children": [ + { + "id": 5623, + "name": "archive_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "An ISO8601 timestamp when the thread's archive status was last changed, used for calculating recent activity" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 712, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5621, + "name": "archived", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the thread is archived" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 704, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5622, + "name": "auto_archive_duration", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Duration in minutes to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 708, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5627, + "name": "ThreadAutoArchiveDuration" + } + }, + { + "id": 5626, + "name": "create_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp when the thread was created; only populated for threads created after 2022-01-09" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 724, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5625, + "name": "invitable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether non-moderators can add other non-moderators to the thread; only available on private threads" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 720, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5624, + "name": "locked", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the thread is locked; when a thread is locked, only users with `MANAGE_THREADS` can unarchive it" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 716, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5623, + 5621, + 5622, + 5626, + 5625, + 5624 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 700, + "character": 17 + } + ] + }, + { + "id": 5905, + "name": "APIUnavailableGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#unavailable-guild-object" + }, + "children": [ + { + "id": 5906, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Guild id" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5907, + "name": "unavailable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`true` if this guild is unavailable due to an outage" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5906, + 5907 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 15, + "character": 17 + } + ] + }, + { + "id": 6670, + "name": "APIUser", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#user-object" + }, + "children": [ + { + "id": 6679, + "name": "accent_color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's banner color encoded as an integer representation of hexadecimal color code" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 6674, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's avatar hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6678, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's banner hash", + "text": "See https://discord.com/developers/docs/reference#image-formatting\n" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6675, + "name": "bot", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user belongs to an OAuth2 application" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6673, + "name": "discriminator", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's 4-digit discord-tag" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6682, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's email" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6683, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The flags on a user's account", + "text": "See https://discord.com/developers/docs/resources/user#user-object-user-flags\n" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6686, + "name": "UserFlags" + } + }, + { + "id": 6671, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's id" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6680, + "name": "locale", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's chosen language option" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6677, + "name": "mfa_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has two factor enabled on their account" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6684, + "name": "premium_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of Nitro subscription on a user's account", + "text": "See https://discord.com/developers/docs/resources/user#user-object-premium-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6702, + "name": "UserPremiumType" + } + }, + { + "id": 6685, + "name": "public_flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The public flags on a user's account", + "text": "See https://discord.com/developers/docs/resources/user#user-object-user-flags\n" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6686, + "name": "UserFlags" + } + }, + { + "id": 6676, + "name": "system", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is an Official Discord System user (part of the urgent message system)" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6672, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's username, not unique across the platform" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6681, + "name": "verified", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the email on this account has been verified" + }, + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6679, + 6674, + 6678, + 6675, + 6673, + 6682, + 6683, + 6671, + 6680, + 6677, + 6684, + 6685, + 6676, + 6672, + 6681 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/user.ts", + "line": 11, + "character": 17 + } + ] + }, + { + "id": 6341, + "name": "APIUserApplicationCommandInteractionData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure" + }, + "children": [ + { + "id": 6347, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/internals.ts", + "line": 8, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.guild_id" + } + }, + { + "id": 6344, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/internals.ts", + "line": 5, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.id" + } + }, + { + "id": 6346, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/internals.ts", + "line": 7, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.name" + } + }, + { + "id": 6343, + "name": "resolved", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6348, + "name": "APIUserApplicationCommandInteractionDataResolved" + } + }, + { + "id": 6342, + "name": "target_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 17, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6345, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/internals.ts", + "line": 6, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6219, + "name": "User" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIBaseApplicationCommandInteractionData.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6347, + 6344, + 6346, + 6343, + 6342, + 6345 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 15, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6219, + "name": "ApplicationCommandType.User" + } + ], + "name": "APIBaseApplicationCommandInteractionData" + } + ] + }, + { + "id": 6348, + "name": "APIUserApplicationCommandInteractionDataResolved", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-resolved-data-structure" + }, + "children": [ + { + "id": 6350, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 6229, + "name": "APIInteractionDataResolvedGuildMember" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 6349, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6350, + 6349 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 24, + "character": 17 + } + ] + }, + { + "id": 5465, + "name": "APIVoiceChannel", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5466, + "name": "bitrate", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitrate (in bits) of the voice channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 135, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5476, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5789, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "id": 5428, + "name": "APIGuildChannel.flags" + } + }, + { + "id": 5470, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5422, + "name": "APIGuildChannel.guild_id" + } + }, + { + "id": 5477, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5429, + "name": "APIGuildChannel.id" + } + }, + { + "id": 5478, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5430, + "name": "APIGuildChannel.name" + } + }, + { + "id": 5474, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 5426, + "name": "APIGuildChannel.nsfw" + } + }, + { + "id": 5473, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)", + "text": "OR\n\nID of the parent channel for a thread\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5425, + "name": "APIGuildChannel.parent_id" + } + }, + { + "id": 5471, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5612, + "name": "APIOverwrite" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 5423, + "name": "APIGuildChannel.permission_overwrites" + } + }, + { + "id": 5472, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 5424, + "name": "APIGuildChannel.position" + } + }, + { + "id": 5468, + "name": "rtc_region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id for the voice or stage channel, automatic when set to `null`", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 145, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5475, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5512, + "name": "GuildVoice" + }, + { + "type": "reference", + "id": 5519, + "name": "GuildStageVoice" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5427, + "name": "APIGuildChannel.type" + } + }, + { + "id": 5467, + "name": "user_limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user limit of the voice channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 139, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5469, + "name": "video_quality_mode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The camera video quality mode of the voice channel, `1` when not present", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-video-quality-modes\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 151, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5522, + "name": "VideoQualityMode" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5466, + 5476, + 5470, + 5477, + 5478, + 5474, + 5473, + 5471, + 5472, + 5468, + 5475, + 5467, + 5469 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 131, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5421, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5519, + "name": "ChannelType.GuildStageVoice" + }, + { + "type": "reference", + "id": 5512, + "name": "ChannelType.GuildVoice" + } + ] + } + ], + "name": "APIGuildChannel" + } + ] + }, + { + "id": 6146, + "name": "APIVoiceGuildScheduledEvent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6147, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.channel_id" + } + }, + { + "id": 6160, + "name": "creator", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator" + } + }, + { + "id": 6151, + "name": "creator_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the user that created the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.creator_id" + } + }, + { + "id": 6153, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.description" + } + }, + { + "id": 6159, + "name": "entity_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_id" + } + }, + { + "id": 6148, + "name": "entity_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "overwrites": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_metadata" + } + }, + { + "id": 6158, + "name": "entity_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of hosting entity associated with the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6185, + "name": "Voice" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.entity_type" + } + }, + { + "id": 6150, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild id which the scheduled event belongs to" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.guild_id" + } + }, + { + "id": 6149, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 9, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.id" + } + }, + { + "id": 6162, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The cover image of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.image" + } + }, + { + "id": 6152, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.name" + } + }, + { + "id": 6156, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6193, + "name": "GuildOnly" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.privacy_level" + } + }, + { + "id": 6155, + "name": "scheduled_end_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the guild event will end, or `null` if the event does not have a scheduled time to end" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_end_time" + } + }, + { + "id": 6154, + "name": "scheduled_start_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time the scheduled event will start" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.scheduled_start_time" + } + }, + { + "id": 6157, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The status of the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6187, + "name": "GuildScheduledEventStatus" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.status" + } + }, + { + "id": 6161, + "name": "user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The number of users subscribed to the scheduled event" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "name": "APIGuildScheduledEventBase.user_count" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6147, + 6160, + 6151, + 6153, + 6159, + 6148, + 6158, + 6150, + 6149, + 6162, + 6152, + 6156, + 6155, + 6154, + 6157, + 6161 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 78, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6185, + "name": "GuildScheduledEventEntityType.Voice" + } + ], + "name": "APIGuildScheduledEventBase" + } + ] + }, + { + "id": 6733, + "name": "APIVoiceRegion", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/voice#voice-region-object" + }, + "children": [ + { + "id": 6738, + "name": "custom", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this is a custom voice region (used for events/etc)" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 91, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6737, + "name": "deprecated", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this is a deprecated voice region (avoid switching to these)" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6734, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unique ID for the region" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6735, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the region" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6736, + "name": "optimal", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`true` for a single server that is closest to the current user's client" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6738, + 6737, + 6734, + 6735, + 6736 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 71, + "character": 17 + } + ] + }, + { + "id": 6739, + "name": "APIWebhook", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#webhook-object" + }, + "children": [ + { + "id": 6748, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The bot/OAuth2 application that created this webhook" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6746, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The default avatar of the webhook" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 43, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6743, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel id this webhook is for" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6742, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild id this webhook is for" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6740, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the webhook" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6745, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The default name of the webhook" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6750, + "name": "source_channel", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The channel that this webhook is following (returned for Channel Follower Webhooks)" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5402, + "name": "APIPartialChannel" + } + }, + { + "id": 6749, + "name": "source_guild", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild of the channel that this webhook is following (returned for Channel Follower Webhooks)" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5908, + "name": "APIPartialGuild" + } + }, + { + "id": 6747, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The secure token of the webhook (returned for Incoming Webhooks)" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6741, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the webhook", + "text": "See https://discord.com/developers/docs/resources/webhook#webhook-object-webhook-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6752, + "name": "WebhookType" + } + }, + { + "id": 6751, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The url used for executing the webhook (returned by the webhooks OAuth2 flow)" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6744, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user this webhook was created by (not returned when getting a webhook with its token)", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6748, + 6746, + 6743, + 6742, + 6740, + 6745, + 6750, + 6749, + 6747, + 6741, + 6751, + 6744 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/webhook.ts", + "line": 11, + "character": 17 + } + ] + }, + { + "id": 5836, + "name": "GatewayActivity", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-structure" + }, + "children": [ + { + "id": 5845, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Application id for the game" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 162, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5851, + "name": "assets", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Images for the presence and their hover texts", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-assets\n" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 189, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "large_image" + }, + { + "type": "literal", + "value": "large_text" + }, + { + "type": "literal", + "value": "small_image" + }, + { + "type": "literal", + "value": "small_text" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 5855, + "name": "buttons", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The custom buttons shown in the Rich Presence (max 2)" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 211, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 5891, + "name": "GatewayActivityButton" + } + } + ] + } + }, + { + "id": 5841, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unix timestamp of when the activity was added to the user's session" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 149, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5846, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "What the player is currently doing" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 166, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5848, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The emoji used for a custom status", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-emoji\n" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 176, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5875, + "name": "GatewayActivityEmoji" + } + }, + { + "id": 5854, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Activity flags `OR`d together, describes what the payload includes", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-flags\n\nSee https://en.wikipedia.org/wiki/Bit_field\n" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 207, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5881, + "name": "ActivityFlags" + } + }, + { + "id": 5837, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The activity's id" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 131, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5853, + "name": "instance", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether or not the activity is an instanced game session" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 199, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5838, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The activity's name" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 135, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5850, + "name": "party", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Information for the current party of the player", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-party\n" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 183, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5876, + "name": "GatewayActivityParty" + } + }, + { + "id": 5844, + "name": "platform", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "{@link ActivityPlatform}" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 158, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5852, + "name": "secrets", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Secrets for Rich Presence joining and spectating", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-secrets\n" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 195, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "join" + }, + { + "type": "literal", + "value": "spectate" + }, + { + "type": "literal", + "value": "match" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 5849, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 177, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5847, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's current party status" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 170, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5843, + "name": "sync_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 154, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5842, + "name": "timestamps", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Unix timestamps for start and/or end of the game" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 153, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5872, + "name": "GatewayActivityTimestamps" + } + }, + { + "id": 5839, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Activity type", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object-activity-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 141, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5865, + "name": "ActivityType" + } + }, + { + "id": 5840, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Stream url, is validated when type is `1`" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 145, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5845, + 5851, + 5855, + 5841, + 5846, + 5848, + 5854, + 5837, + 5853, + 5838, + 5850, + 5844, + 5852, + 5849, + 5847, + 5843, + 5842, + 5839, + 5840 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 127, + "character": 17 + } + ] + }, + { + "id": 5891, + "name": "GatewayActivityButton", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5892, + "name": "label", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The text shown on the button (1-32 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 323, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5893, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The url opened when clicking the button (1-512 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 327, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5892, + 5893 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 319, + "character": 17 + } + ] + }, + { + "id": 5876, + "name": "GatewayActivityParty", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-party" + }, + "children": [ + { + "id": 5877, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the party" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 285, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5878, + "name": "size", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Used to show the party's current and maximum size" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 289, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "named-tuple-member", + "name": "current_size", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + }, + { + "type": "named-tuple-member", + "name": "max_size", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5877, + 5878 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 281, + "character": 17 + } + ] + }, + { + "id": 5872, + "name": "GatewayActivityTimestamps", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-timestamps" + }, + "children": [ + { + "id": 5874, + "name": "end", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Unix time (in milliseconds) of when the activity ends" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 270, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5873, + "name": "start", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Unix time (in milliseconds) of when the activity started" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 266, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5874, + 5873 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 262, + "character": 17 + } + ] + }, + { + "id": 4933, + "name": "GatewayChannelPinsUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-pins-update" + }, + "children": [ + { + "id": 4935, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 495, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4934, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 491, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4936, + "name": "last_pin_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The time at which the most recent pinned message was pinned" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 499, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4935, + 4934, + 4936 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 487, + "character": 17 + } + ] + }, + { + "id": 4957, + "name": "GatewayGuildBanModifyDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-add\nhttps://discord.com/developers/docs/topics/gateway#guild-ban-remove" + }, + "children": [ + { + "id": 4958, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 639, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4959, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The banned user", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 645, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4958, + 4959 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 635, + "character": 17 + } + ] + }, + { + "id": 4965, + "name": "GatewayGuildEmojisUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-emojis-update" + }, + "children": [ + { + "id": 4967, + "name": "emojis", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of emojis", + "text": "See https://discord.com/developers/docs/resources/emoji#emoji-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 689, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5800, + "name": "APIEmoji" + } + } + }, + { + "id": 4966, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 683, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4967, + 4966 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 679, + "character": 17 + } + ] + }, + { + "id": 4973, + "name": "GatewayGuildIntegrationsUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-integrations-update" + }, + "children": [ + { + "id": 4974, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild whose integrations were updated" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 731, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4974 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 727, + "character": 17 + } + ] + }, + { + "id": 4976, + "name": "GatewayGuildMemberAddDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-add" + }, + "children": [ + { + "id": 4980, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member's guild avatar hash" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 576, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 6043, + "name": "APIGuildMember.avatar" + } + }, + { + "id": 4987, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 610, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 6050, + "name": "APIGuildMember.communication_disabled_until" + } + }, + { + "id": 4984, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is deafened in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 596, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 6047, + "name": "APIGuildMember.deaf" + } + }, + { + "id": 4977, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 749, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4982, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When the user joined the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 586, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 6045, + "name": "APIGuildMember.joined_at" + } + }, + { + "id": 4985, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether the user is muted in voice channels" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 600, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 6048, + "name": "APIGuildMember.mute" + } + }, + { + "id": 4979, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "This users guild nickname" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 572, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 6042, + "name": "APIGuildMember.nick" + } + }, + { + "id": 4986, + "name": "pending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user has not yet passed the guild's Membership Screening requirements", + "text": "*If this field is not present, it can be assumed as `false`.*\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 606, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 6049, + "name": "APIGuildMember.pending" + } + }, + { + "id": 4983, + "name": "premium_since", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When the user started boosting the guild", + "text": "See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 592, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 6046, + "name": "APIGuildMember.premium_since" + } + }, + { + "id": 4981, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of role object ids", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 582, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 6044, + "name": "APIGuildMember.roles" + } + }, + { + "id": 4978, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user this guild member represents", + "text": "**This field won't be included in the member object attached to `MESSAGE_CREATE` and `MESSAGE_UPDATE` gateway events.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 568, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + }, + "inheritedFrom": { + "type": "reference", + "id": 6041, + "name": "APIGuildMember.user" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4980, + 4987, + 4984, + 4977, + 4982, + 4985, + 4979, + 4986, + 4983, + 4981, + 4978 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 745, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + } + ] + }, + { + "id": 4989, + "name": "GatewayGuildMemberRemoveDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-remove" + }, + "children": [ + { + "id": 4990, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 767, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4991, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user who was removed", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 773, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4990, + 4991 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 763, + "character": 17 + } + ] + }, + { + "id": 4997, + "name": "GatewayGuildMembersChunkDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-members-chunk" + }, + "children": [ + { + "id": 5001, + "name": "chunk_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The total number of expected chunks for this response" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 826, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5000, + "name": "chunk_index", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The chunk index in the expected chunks for this response (`0 <= chunk_index < chunk_count`)" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 822, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4998, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 812, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4999, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Set of guild members", + "text": "See https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 818, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + } + } + }, + { + "id": 5004, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce used in the Guild Members Request", + "text": "See https://discord.com/developers/docs/topics/gateway#request-guild-members\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 842, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5002, + "name": "not_found", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If passing an invalid id to `REQUEST_GUILD_MEMBERS`, it will be returned here" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 830, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + }, + { + "id": 5003, + "name": "presences", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If passing true to `REQUEST_GUILD_MEMBERS`, presences of the returned members will be here", + "text": "See https://discord.com/developers/docs/topics/gateway#presence\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 836, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5820, + "name": "GatewayPresenceUpdate" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5001, + 5000, + 4998, + 4999, + 5004, + 5002, + 5003 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 808, + "character": 17 + } + ] + }, + { + "id": 5014, + "name": "GatewayGuildRoleDeleteDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-delete" + }, + "children": [ + { + "id": 5015, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 906, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5016, + "name": "role_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the role" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 910, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5015, + 5016 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 902, + "character": 17 + } + ] + }, + { + "id": 5006, + "name": "GatewayGuildRoleModifyDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-create\nhttps://discord.com/developers/docs/topics/gateway#guild-role-update" + }, + "children": [ + { + "id": 5007, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 862, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5008, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The role created or updated", + "text": "See https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 868, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6567, + "name": "APIRole" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5007, + 5008 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 858, + "character": 17 + } + ] + }, + { + "id": 5024, + "name": "GatewayGuildScheduledEventUserAddDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5027, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 942, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5025, + "name": "guild_scheduled_event_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 940, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5026, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 941, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5027, + 5025, + 5026 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 939, + "character": 17 + } + ] + }, + { + "id": 5029, + "name": "GatewayGuildScheduledEventUserRemoveDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 5032, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 953, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5030, + "name": "guild_scheduled_event_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 951, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5031, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 952, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5032, + 5030, + 5031 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 950, + "character": 17 + } + ] + }, + { + "id": 4969, + "name": "GatewayGuildStickersUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-stickers-update" + }, + "children": [ + { + "id": 4970, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 707, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4971, + "name": "stickers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of stickers", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 713, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6599, + "name": "APISticker" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4970, + 4971 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 703, + "character": 17 + } + ] + }, + { + "id": 5156, + "name": "GatewayHeartbeat", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating" + }, + "children": [ + { + "id": 5158, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1504, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5159, + "name": "GatewayHeartbeatData" + } + }, + { + "id": 5157, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1503, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 4785, + "name": "Heartbeat" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5158, + 5157 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1502, + "character": 17 + } + ] + }, + { + "id": 4899, + "name": "GatewayHeartbeatAck", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating-example-gateway-heartbeat-ack" + }, + "children": [ + { + "id": 4901, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 355, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 4900, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 354, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 4794, + "name": "HeartbeatAck" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 4903, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1747, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 4902, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1746, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4901, + 4900, + 4903, + 4902 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 353, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 4894, + "name": "GatewayHeartbeatRequest", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating" + }, + "children": [ + { + "id": 4896, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 347, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 4895, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 346, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 4785, + "name": "Heartbeat" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 4898, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1747, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 4897, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1746, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4896, + 4895, + 4898, + 4897 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 345, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 4887, + "name": "GatewayHello", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#hello" + }, + "children": [ + { + "id": 4889, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 329, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 4892, + "name": "GatewayHelloData" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 4888, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 328, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 4793, + "name": "Hello" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 4891, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1747, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 4890, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1746, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4889, + 4888, + 4891, + 4890 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 327, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 4892, + "name": "GatewayHelloData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#hello" + }, + "children": [ + { + "id": 4893, + "name": "heartbeat_interval", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The interval (in milliseconds) the client should heartbeat with" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 339, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4893 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 335, + "character": 17 + } + ] + }, + { + "id": 5160, + "name": "GatewayIdentify", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#identify" + }, + "children": [ + { + "id": 5162, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1517, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5163, + "name": "GatewayIdentifyData" + } + }, + { + "id": 5161, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1516, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 4786, + "name": "Identify" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5162, + 5161 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1515, + "character": 17 + } + ] + }, + { + "id": 5163, + "name": "GatewayIdentifyData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#identify" + }, + "children": [ + { + "id": 5166, + "name": "compress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this connection supports compression of packets", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1539, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5170, + "name": "intents", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The Gateway Intents you wish to receive", + "text": "See https://discord.com/developers/docs/topics/gateway#gateway-intents\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1564, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5167, + "name": "large_threshold", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value between 50 and 250, total number of members where the gateway will stop sending\noffline members in the guild member list", + "tags": [ + { + "tag": "default", + "text": "50\n" + } + ] + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1546, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5169, + "name": "presence", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Presence structure for initial presence information", + "text": "See https://discord.com/developers/docs/topics/gateway#update-presence\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1558, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5203, + "name": "GatewayPresenceUpdateData" + } + }, + { + "id": 5165, + "name": "properties", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Connection properties", + "text": "See https://discord.com/developers/docs/topics/gateway#identify-identify-connection-properties\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1533, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5171, + "name": "GatewayIdentifyProperties" + } + }, + { + "id": 5168, + "name": "shard", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Used for Guild Sharding", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1552, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "named-tuple-member", + "name": "shard_id", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + }, + { + "type": "named-tuple-member", + "name": "shard_count", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + } + ] + } + }, + { + "id": 5164, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Authentication token" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1527, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5166, + 5170, + 5167, + 5169, + 5165, + 5168, + 5164 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1523, + "character": 17 + } + ] + }, + { + "id": 5171, + "name": "GatewayIdentifyProperties", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#identify-identify-connection-properties" + }, + "children": [ + { + "id": 5173, + "name": "$browser", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Your library name" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1578, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5174, + "name": "$device", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Your library name" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1582, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5172, + "name": "$os", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Your operating system" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1574, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5173, + 5174, + 5172 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1570, + "character": 17 + } + ] + }, + { + "id": 5042, + "name": "GatewayIntegrationDeleteDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-delete" + }, + "children": [ + { + "id": 5045, + "name": "application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the bot/OAuth2 application for this Discord integration" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1005, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5044, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1001, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5043, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Integration id" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 997, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5045, + 5044, + 5043 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 993, + "character": 17 + } + ] + }, + { + "id": 4904, + "name": "GatewayInvalidSession", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invalid-session" + }, + "children": [ + { + "id": 4906, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 363, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 4905, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 362, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 4792, + "name": "InvalidSession" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 4908, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1747, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 4907, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1746, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4906, + 4905, + 4908, + 4907 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 361, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 5049, + "name": "GatewayInviteCreateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invite-create" + }, + "children": [ + { + "id": 5050, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel the invite is for" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1036, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5051, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The unique invite code", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1042, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5052, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the invite was created" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1046, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5053, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild of the invite" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1050, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5054, + "name": "inviter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user that created the invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1056, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + }, + { + "id": 5055, + "name": "max_age", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "How long the invite is valid for (in seconds)" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1060, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5056, + "name": "max_uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The maximum number of times the invite can be used" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1064, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5059, + "name": "target_application", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The embedded application to open for this voice channel embedded application invite" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1080, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5215, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 5057, + "name": "target_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of target for this voice channel invite", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1070, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6521, + "name": "InviteTargetType" + } + }, + { + "id": 5058, + "name": "target_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user whose stream to display for this voice channel stream invite", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1076, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + }, + { + "id": 5060, + "name": "temporary", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role)" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1084, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5061, + "name": "uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "How many times the invite has been used (always will be `0`)" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1088, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": 0 + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5050, + 5051, + 5052, + 5053, + 5054, + 5055, + 5056, + 5059, + 5057, + 5058, + 5060, + 5061 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1032, + "character": 17 + } + ] + }, + { + "id": 5063, + "name": "GatewayInviteDeleteDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invite-delete" + }, + "children": [ + { + "id": 5064, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel of the invite" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1106, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5066, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The unique invite code", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1116, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5065, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild of the invite" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1110, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5064, + 5066, + 5065 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1102, + "character": 17 + } + ] + }, + { + "id": 5080, + "name": "GatewayMessageDeleteBulkDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-delete-bulk" + }, + "children": [ + { + "id": 5082, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1193, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5083, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1197, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5081, + "name": "ids", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The ids of the messages" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1189, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5082, + 5083, + 5081 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1185, + "character": 17 + } + ] + }, + { + "id": 5075, + "name": "GatewayMessageDeleteDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-delete" + }, + "children": [ + { + "id": 5077, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1167, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5078, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1171, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5076, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the message" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1163, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5077, + 5078, + 5076 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1159, + "character": 17 + } + ] + }, + { + "id": 5091, + "name": "GatewayMessageReactionRemoveEmojiDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji" + }, + "children": [ + { + "id": 5093, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1797, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "MessageReactionRemoveData.channel_id" + } + }, + { + "id": 5092, + "name": "emoji", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The emoji that was removed" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1248, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5800, + "name": "APIEmoji" + } + }, + { + "id": 5095, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1805, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "MessageReactionRemoveData.guild_id" + } + }, + { + "id": 5094, + "name": "message_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the message" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1801, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "MessageReactionRemoveData.message_id" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5093, + 5092, + 5095, + 5094 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1244, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "MessageReactionRemoveData" + } + ] + }, + { + "id": 5832, + "name": "GatewayPresenceClientStatus", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#client-status-object" + }, + "children": [ + { + "id": 5833, + "name": "desktop", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's status set for an active desktop (Windows, Linux, Mac) application session" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 113, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5826, + "name": "PresenceUpdateStatus" + } + }, + { + "id": 5834, + "name": "mobile", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's status set for an active mobile (iOS, Android) application session" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 117, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5826, + "name": "PresenceUpdateStatus" + } + }, + { + "id": 5835, + "name": "web", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's status set for an active web (browser, bot account) application session" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 121, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5826, + "name": "PresenceUpdateStatus" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5833, + 5834, + 5835 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 109, + "character": 17 + } + ] + }, + { + "id": 5820, + "name": "GatewayPresenceUpdate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#presence-update-presence-update-event-fields" + }, + "children": [ + { + "id": 5824, + "name": "activities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User's current activities", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 86, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5836, + "name": "GatewayActivity" + } + } + }, + { + "id": 5825, + "name": "client_status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User's platform-dependent status", + "text": "See https://discord.com/developers/docs/topics/gateway#client-status-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5832, + "name": "GatewayPresenceClientStatus" + } + }, + { + "id": 5822, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5823, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Either \"idle\", \"dnd\", \"online\", or \"offline\"" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5826, + "name": "PresenceUpdateStatus" + } + }, + { + "id": 5821, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user presence is being updated for", + "text": "**The user object within this event can be partial, the only field which must be sent is the `id` field,\neverything else is optional.**\n\nSee https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6670, + "name": "APIUser" + }, + { + "type": "literal", + "value": "id" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5824, + 5825, + 5822, + 5823, + 5821 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 63, + "character": 17 + } + ] + }, + { + "id": 5203, + "name": "GatewayPresenceUpdateData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-presence-gateway-presence-update-structure" + }, + "children": [ + { + "id": 5205, + "name": "activities", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's activities", + "text": "See https://discord.com/developers/docs/topics/gateway#activity-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1705, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5208, + "name": "GatewayActivityUpdateData" + } + } + }, + { + "id": 5207, + "name": "afk", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether or not the client is afk" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1715, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5204, + "name": "since", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unix time (in milliseconds) of when the client went idle, or `null` if the client is not idle" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1699, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 5206, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's new status", + "text": "See https://discord.com/developers/docs/topics/gateway#update-presence-status-types\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1711, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5826, + "name": "PresenceUpdateStatus" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5205, + 5207, + 5204, + 5206 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1695, + "character": 17 + } + ] + }, + { + "id": 4916, + "name": "GatewayReadyDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#ready" + }, + "children": [ + { + "id": 4922, + "name": "application", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contains `id` and `flags`", + "text": "See https://discord.com/developers/docs/resources/application#application-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 421, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5215, + "name": "APIApplication" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "flags" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 4919, + "name": "guilds", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guilds the user is in", + "text": "See https://discord.com/developers/docs/resources/guild#unavailable-guild-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 405, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5905, + "name": "APIUnavailableGuild" + } + } + }, + { + "id": 4920, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Used for resuming connections" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 409, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4921, + "name": "shard", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The shard information associated with this session, if sent when identifying", + "text": "See https://discord.com/developers/docs/topics/gateway#sharding\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 415, + "character": 1 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "named-tuple-member", + "name": "shard_id", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + }, + { + "type": "named-tuple-member", + "name": "shard_count", + "isOptional": false, + "element": { + "type": "intrinsic", + "name": "number" + } + } + ] + } + }, + { + "id": 4918, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Information about the user including email", + "text": "See https://discord.com/developers/docs/resources/user#user-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 399, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + }, + { + "id": 4917, + "name": "v", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Gateway version", + "text": "See https://discord.com/developers/docs/topics/gateway#gateways-gateway-versions\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 393, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4922, + 4919, + 4920, + 4921, + 4918, + 4917 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 387, + "character": 17 + } + ] + }, + { + "id": 4910, + "name": "GatewayReconnect", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#reconnect" + }, + "children": [ + { + "id": 4912, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 376, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.d" + } + }, + { + "id": 4911, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 375, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 4790, + "name": "Reconnect" + }, + "overwrites": { + "type": "reference", + "name": "NonDispatchPayload.op" + } + }, + { + "id": 4914, + "name": "s", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1747, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.s" + } + }, + { + "id": 4913, + "name": "t", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1746, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": null + }, + "inheritedFrom": { + "type": "reference", + "name": "NonDispatchPayload.t" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4912, + 4911, + 4914, + 4913 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 374, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "NonDispatchPayload" + } + ] + }, + { + "id": 5182, + "name": "GatewayRequestGuildMembers", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#request-guild-members" + }, + "children": [ + { + "id": 5184, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1616, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5185, + "name": "GatewayRequestGuildMembersData" + } + }, + { + "id": 5183, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1615, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 4791, + "name": "RequestGuildMembers" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5184, + 5183 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1614, + "character": 17 + } + ] + }, + { + "id": 5185, + "name": "GatewayRequestGuildMembersData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#request-guild-members" + }, + "children": [ + { + "id": 5186, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild to get members for" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1626, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5188, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Maximum number of members to send matching the `query`;\na limit of `0` can be used with an empty string `query` to return all members" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1635, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5191, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Nonce to identify the Guild Members Chunk response", + "text": "Nonce can only be up to 32 bytes. If you send an invalid nonce it will be ignored and the reply member_chunk(s) will not have a `nonce` set.\n\nSee https://discord.com/developers/docs/topics/gateway#guild-members-chunk\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1651, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5189, + "name": "presences", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Used to specify if we want the presences of the matched members" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1639, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5187, + "name": "query", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "String that username starts with, or an empty string to return all members" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1630, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5190, + "name": "user_ids", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Used to specify which users you wish to fetch" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1643, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5186, + 5188, + 5191, + 5189, + 5187, + 5190 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1622, + "character": 17 + } + ] + }, + { + "id": 5175, + "name": "GatewayResume", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#resume" + }, + "children": [ + { + "id": 5177, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1590, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5178, + "name": "GatewayResumeData" + } + }, + { + "id": 5176, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1589, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 4789, + "name": "Resume" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5177, + 5176 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1588, + "character": 17 + } + ] + }, + { + "id": 5178, + "name": "GatewayResumeData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#resume" + }, + "children": [ + { + "id": 5181, + "name": "seq", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Last sequence number received" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1608, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5180, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Session id" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1604, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5179, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Session token" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1600, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5181, + 5180, + 5179 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1596, + "character": 17 + } + ] + }, + { + "id": 5114, + "name": "GatewayThreadCreateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-create" + }, + "children": [ + { + "id": 5129, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5789, + "name": "ChannelFlags" + }, + "inheritedFrom": { + "type": "reference", + "id": 5504, + "name": "APIThreadChannel.flags" + } + }, + { + "id": 5123, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild (may be missing for some channel objects received over gateway guild dispatches)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5498, + "name": "APIThreadChannel.guild_id" + } + }, + { + "id": 5130, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 21, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5505, + "name": "APIThreadChannel.id" + } + }, + { + "id": 5122, + "name": "last_message_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the last message sent in this thread (may not point to an existing or valid message)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 225, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5497, + "name": "APIThreadChannel.last_message_id" + } + }, + { + "id": 5116, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The client users member for the thread, only included in select endpoints" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 195, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5632, + "name": "APIThreadMember" + }, + "inheritedFrom": { + "type": "reference", + "id": 5491, + "name": "APIThreadChannel.member" + } + }, + { + "id": 5119, + "name": "member_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The approximate member count of the thread, does not count above 50 even if there are more members" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 207, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 5494, + "name": "APIThreadChannel.member_count" + } + }, + { + "id": 5118, + "name": "message_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The approximate message count of the thread, does not count above 50 even if there are more messages" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 203, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 5493, + "name": "APIThreadChannel.message_count" + } + }, + { + "id": 5131, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The name of the channel (2-100 characters)" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5506, + "name": "APIThreadChannel.name" + } + }, + { + "id": 5115, + "name": "newly_created", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the thread is newly created or not." + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1364, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": true + } + }, + { + "id": 5127, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 5502, + "name": "APIThreadChannel.nsfw" + } + }, + { + "id": 5121, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the thread creator" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 221, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 5496, + "name": "APIThreadChannel.owner_id" + } + }, + { + "id": 5126, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the parent category for a channel (each parent category can contain up to 50 channels)", + "text": "OR\n\nID of the parent channel for a thread\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 88, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5501, + "name": "APIThreadChannel.parent_id" + } + }, + { + "id": 5124, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit permission overwrites for members and roles", + "text": "See https://discord.com/developers/docs/resources/channel#overwrite-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5612, + "name": "APIOverwrite" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 5499, + "name": "APIThreadChannel.permission_overwrites" + } + }, + { + "id": 5125, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 5500, + "name": "APIThreadChannel.position" + } + }, + { + "id": 5120, + "name": "rate_limit_per_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Amount of seconds a user has to wait before sending another message (0-21600);\nbots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`, are unaffected", + "text": "`rate_limit_per_user` also applies to thread creation. Users can send one message and create one thread during each `rate_limit_per_user` interval.\n\nFor thread channels, `rate_limit_per_user` is only returned if the field is set to a non-zero and non-null value.\nThe absence of this field in API calls and Gateway events should indicate that slowmode has been reset to the default value.\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 217, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 5495, + "name": "APIThreadChannel.rate_limit_per_user" + } + }, + { + "id": 5117, + "name": "thread_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The metadata for a thread channel not shared by other channels" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 199, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5620, + "name": "APIThreadMetadata" + }, + "inheritedFrom": { + "type": "reference", + "id": 5492, + "name": "APIThreadChannel.thread_metadata" + } + }, + { + "id": 5128, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5516, + "name": "GuildNewsThread" + }, + { + "type": "reference", + "id": 5517, + "name": "GuildPublicThread" + }, + { + "type": "reference", + "id": 5518, + "name": "GuildPrivateThread" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 5503, + "name": "APIThreadChannel.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5129, + 5123, + 5130, + 5122, + 5116, + 5119, + 5118, + 5131, + 5115, + 5127, + 5121, + 5126, + 5124, + 5125, + 5120, + 5117, + 5128 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1360, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 5490, + "name": "APIThreadChannel" + } + ] + }, + { + "id": 5894, + "name": "GatewayThreadListSync", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-list-sync-thread-list-sync-event-fields" + }, + "children": [ + { + "id": 5896, + "name": "channel_ids", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The ids of all the parent channels whose threads are being synced, otherwise the entire guild" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 341, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5895, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 337, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5898, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The member objects for the client user in each joined thread that was synced" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 349, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5632, + "name": "APIThreadMember" + } + } + }, + { + "id": 5897, + "name": "threads", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Array of the synced threads" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 345, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5896, + 5895, + 5898, + 5897 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 333, + "character": 17 + } + ] + }, + { + "id": 5899, + "name": "GatewayThreadMembersUpdate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-members-update-thread-members-update-event-fields" + }, + "children": [ + { + "id": 5903, + "name": "added_members", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The members that were added to the thread" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 371, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5632, + "name": "APIThreadMember" + } + } + }, + { + "id": 5901, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild that the thread is in" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 363, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5900, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the thread for which members are being synced" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 359, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5902, + "name": "member_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The approximate member count of the thread, does not count above 50 even if there are more members" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 367, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5904, + "name": "removed_member_ids", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The ids of the members that were removed from the thread" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 375, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5903, + 5901, + 5900, + 5902, + 5904 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 355, + "character": 17 + } + ] + }, + { + "id": 5137, + "name": "GatewayTypingStartDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#typing-start" + }, + "children": [ + { + "id": 5138, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1399, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5139, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1403, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5142, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The member who started typing if this happened in a guild", + "text": "See https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1417, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + } + }, + { + "id": 5141, + "name": "timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Unix time (in seconds) of when the user started typing" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1411, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5140, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the user" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1407, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5138, + 5139, + 5142, + 5141, + 5140 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1395, + "character": 17 + } + ] + }, + { + "id": 5200, + "name": "GatewayUpdatePresence", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-status" + }, + "children": [ + { + "id": 5202, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1689, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5203, + "name": "GatewayPresenceUpdateData" + } + }, + { + "id": 5201, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1688, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 4787, + "name": "PresenceUpdate" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5202, + 5201 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1687, + "character": 17 + } + ] + }, + { + "id": 5148, + "name": "GatewayVoiceServerUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#voice-server-update" + }, + "children": [ + { + "id": 5151, + "name": "endpoint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The voice server host", + "text": "A `null` endpoint means that the voice server allocated has gone away and is trying to be reallocated.\nYou should attempt to disconnect from the currently connected voice server, and not attempt to reconnect\nuntil a new voice server is allocated\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1470, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5150, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The guild this voice server update is for" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1462, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5149, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Voice connection token" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1458, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5151, + 5150, + 5149 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1454, + "character": 17 + } + ] + }, + { + "id": 6719, + "name": "GatewayVoiceState", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/voice#voice-state-object" + }, + "children": [ + { + "id": 6721, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The channel id this user is connected to" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6725, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is deafened by the server" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6720, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild id this voice state is for" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6723, + "name": "member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild member this voice state is for", + "text": "See https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 29, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + } + }, + { + "id": 6726, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is muted by the server" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6732, + "name": "request_to_speak_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time at which the user requested to speak" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6727, + "name": "self_deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is locally deafened" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6728, + "name": "self_mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is locally muted" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 49, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6729, + "name": "self_stream", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this user is streaming using \"Go Live\"" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 53, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6730, + "name": "self_video", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user's camera is enabled" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6724, + "name": "session_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The session id for this voice state" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6731, + "name": "suppress", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Whether this user is muted by the current user" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6722, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user id this voice state is for" + }, + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 23, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6721, + 6725, + 6720, + 6723, + 6726, + 6732, + 6727, + 6728, + 6729, + 6730, + 6724, + 6731, + 6722 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/voice.ts", + "line": 11, + "character": 17 + } + ] + }, + { + "id": 5192, + "name": "GatewayVoiceStateUpdate", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-voice-state" + }, + "children": [ + { + "id": 5194, + "name": "d", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1659, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5195, + "name": "GatewayVoiceStateUpdateData" + } + }, + { + "id": 5193, + "name": "op", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1658, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 4788, + "name": "VoiceStateUpdate" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5194, + 5193 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1657, + "character": 17 + } + ] + }, + { + "id": 5195, + "name": "GatewayVoiceStateUpdateData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#update-voice-state" + }, + "children": [ + { + "id": 5197, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the voice channel client wants to join (`null` if disconnecting)" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1673, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5196, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1669, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5199, + "name": "self_deaf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Is the client deafened" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1681, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5198, + "name": "self_mute", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Is the client muted" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1677, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5197, + 5196, + 5199, + 5198 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1665, + "character": 17 + } + ] + }, + { + "id": 5153, + "name": "GatewayWebhooksUpdateDispatchData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#webhooks-update" + }, + "children": [ + { + "id": 5155, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1492, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5154, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1488, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5155, + 5154 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1484, + "character": 17 + } + ] + }, + { + "id": 6454, + "name": "ModalSubmitActionRowComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6455, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/modalSubmit.ts", + "line": 18, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6450, + "name": "ModalSubmitComponent" + } + } + }, + { + "id": 6456, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The type of the component" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1159, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5722, + "name": "ActionRow" + }, + "inheritedFrom": { + "type": "reference", + "name": "Omit.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6455, + 6456 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/modalSubmit.ts", + "line": 16, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5726, + "typeArguments": [ + { + "type": "reference", + "id": 5795, + "name": "APIModalActionRowComponent" + } + ], + "name": "APIActionRowComponent" + }, + { + "type": "literal", + "value": "components" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + }, + { + "id": 6450, + "name": "ModalSubmitComponent", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 6452, + "name": "custom_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/modalSubmit.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6451, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/modalSubmit.ts", + "line": 11, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5721, + "name": "ComponentType" + } + }, + { + "id": 6453, + "name": "value", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/modalSubmit.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6452, + 6451, + 6453 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/modalSubmit.ts", + "line": 10, + "character": 17 + } + ] + }, + { + "id": 7654, + "name": "RESTAPIPartialCurrentUserGuild", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 7659, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5999, + "name": "GuildFeature" + } + } + }, + { + "id": 7657, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7655, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7656, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7658, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7660, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 65, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7659, + 7657, + 7655, + 7656, + 7658, + 7660 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 59, + "character": 17 + } + ] + }, + { + "id": 7066, + "name": "RESTGetAPIAuditLogQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#get-guild-audit-log" + }, + "children": [ + { + "id": 7068, + "name": "action_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of audit log events" + }, + "sources": [ + { + "fileName": "rest/v9/auditLog.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5270, + "name": "AuditLogEvent" + } + }, + { + "id": 7069, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Filter the log before a certain entry ID" + }, + "sources": [ + { + "fileName": "rest/v9/auditLog.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7070, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "How many entries are returned (default 50, minimum 1, maximum 100)", + "tags": [ + { + "tag": "default", + "text": "50\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/auditLog.ts", + "line": 25, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7067, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Filter the log for actions made by a user" + }, + "sources": [ + { + "fileName": "rest/v9/auditLog.ts", + "line": 11, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7068, + 7069, + 7070, + 7067 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/auditLog.ts", + "line": 7, + "character": 17 + } + ] + }, + { + "id": 7130, + "name": "RESTGetAPIChannelMessageReactionUsersQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 7131, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get users after this user ID" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 311, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7132, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of users to return (1-100)", + "tags": [ + { + "tag": "default", + "text": "25\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 317, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7131, + 7132 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 307, + "character": 17 + } + ] + }, + { + "id": 7099, + "name": "RESTGetAPIChannelMessagesQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel-messages" + }, + "children": [ + { + "id": 7102, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get messages after this message ID" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 171, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7100, + "name": "around", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get messages around this message ID" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 163, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7101, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get messages before this message ID" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 167, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7103, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of messages to return (1-100)", + "tags": [ + { + "tag": "default", + "text": "50\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 177, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7102, + 7100, + 7101, + 7103 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 159, + "character": 17 + } + ] + }, + { + "id": 7203, + "name": "RESTGetAPIChannelThreadsArchivedQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 7204, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get threads before this id or ISO8601 timestamp" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 672, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7205, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of thread to return" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 676, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7204, + 7205 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 668, + "character": 17 + } + ] + }, + { + "id": 7650, + "name": "RESTGetAPICurrentUserGuildsQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-current-user-guilds" + }, + "children": [ + { + "id": 7652, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get guilds after this guild ID" + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7651, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Get guilds before this guild ID" + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7653, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of guilds to return (1-100)", + "tags": [ + { + "tag": "default", + "text": "100\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7652, + 7651, + 7653 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 42, + "character": 17 + } + ] + }, + { + "id": 7337, + "name": "RESTGetAPIGuildBansQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-bans" + }, + "children": [ + { + "id": 7339, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Consider only users after given user id" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 538, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7338, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Consider only users before given user id" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 534, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7340, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of users to return (1-1000)", + "tags": [ + { + "tag": "default", + "text": "1000\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 544, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7339, + 7338, + 7340 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 530, + "character": 17 + } + ] + }, + { + "id": 7301, + "name": "RESTGetAPIGuildMembersQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#list-guild-members" + }, + "children": [ + { + "id": 7303, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The highest user id in the previous page", + "tags": [ + { + "tag": "default", + "text": "0\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 366, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7302, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of members to return (1-1000)", + "tags": [ + { + "tag": "default", + "text": "1\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 360, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7303, + 7302 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 354, + "character": 17 + } + ] + }, + { + "id": 7305, + "name": "RESTGetAPIGuildMembersSearchQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#search-guild-members" + }, + "children": [ + { + "id": 7307, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of members to return (1-1000)", + "tags": [ + { + "tag": "default", + "text": "1\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 387, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7306, + "name": "query", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Query string to match username(s) and nickname(s) against" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 381, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7307, + 7306 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 377, + "character": 17 + } + ] + }, + { + "id": 7375, + "name": "RESTGetAPIGuildPruneCountQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-prune-count" + }, + "children": [ + { + "id": 7376, + "name": "days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of days to count prune for (1 or more)", + "tags": [ + { + "tag": "default", + "text": "7\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 706, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7377, + "name": "include_roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Role(s) to include", + "text": "While this is typed as a string, it represents an array of\nrole IDs delimited by commas\n\nSee https://discord.com/developers/docs/resources/guild#get-guild-prune-count-query-string-params\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 715, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7376, + 7377 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 700, + "character": 17 + } + ] + }, + { + "id": 7378, + "name": "RESTGetAPIGuildPruneCountResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-prune-count" + }, + "children": [ + { + "id": 7379, + "name": "pruned", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 722, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7379 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 721, + "character": 17 + } + ] + }, + { + "id": 7261, + "name": "RESTGetAPIGuildQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild" + }, + "children": [ + { + "id": 7262, + "name": "with_counts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When `true`, will return approximate member and presence counts for the guild", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 170, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7262 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 164, + "character": 17 + } + ] + }, + { + "id": 7438, + "name": "RESTGetAPIGuildScheduledEventQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event" + }, + "children": [ + { + "id": 7439, + "name": "with_user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether to include number of users subscribed to this event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7439 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 77, + "character": 17 + } + ] + }, + { + "id": 7448, + "name": "RESTGetAPIGuildScheduledEventUsersQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event-users" + }, + "children": [ + { + "id": 7452, + "name": "after", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Consider only users after given user id" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 139, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7451, + "name": "before", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Consider only users before given user id" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 135, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7449, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of users to receive from the event", + "tags": [ + { + "tag": "default", + "text": "100\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 127, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7450, + "name": "with_member", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether to include guild member data if it exists" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 131, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7452, + 7451, + 7449, + 7450 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 121, + "character": 17 + } + ] + }, + { + "id": 7423, + "name": "RESTGetAPIGuildScheduledEventsQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#list-scheduled-events-for-guild" + }, + "children": [ + { + "id": 7424, + "name": "with_user_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether to include number of users subscribed to each event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7424 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 15, + "character": 17 + } + ] + }, + { + "id": 7395, + "name": "RESTGetAPIGuildVanityUrlResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-vanity-url" + }, + "children": [ + { + "id": 7396, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 798, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7397, + "name": "uses", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 799, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7396, + 7397 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 797, + "character": 17 + } + ] + }, + { + "id": 7398, + "name": "RESTGetAPIGuildWidgetImageQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-image" + }, + "children": [ + { + "id": 7399, + "name": "style", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Style of the widget image returned", + "tags": [ + { + "tag": "default", + "text": "\"shield\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 811, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6104, + "name": "GuildWidgetStyle" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7399 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 805, + "character": 17 + } + ] + }, + { + "id": 7509, + "name": "RESTGetAPIInviteQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#get-invite" + }, + "children": [ + { + "id": 7512, + "name": "guild_scheduled_event_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The guild scheduled event to include with the invite" + }, + "sources": [ + { + "fileName": "rest/v9/invite.ts", + "line": 19, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7510, + "name": "with_counts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the invite should contain approximate member counts" + }, + "sources": [ + { + "fileName": "rest/v9/invite.ts", + "line": 11, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7511, + "name": "with_expiration", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the invite should contain the expiration date" + }, + "sources": [ + { + "fileName": "rest/v9/invite.ts", + "line": 15, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7512, + 7510, + 7511 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/invite.ts", + "line": 7, + "character": 17 + } + ] + }, + { + "id": 7516, + "name": "RESTGetAPIOAuth2CurrentAuthorizationResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information" + }, + "children": [ + { + "id": 7517, + "name": "application", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "the current application" + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5215, + "name": "APIApplication" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 7519, + "name": "expires", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "when the access token expires" + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 24, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7518, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "the scopes the user has authorized the application for" + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6542, + "name": "OAuth2Scopes" + } + } + }, + { + "id": 7520, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "the user who has authorized, if the user has authorized with the `identify` scope" + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7517, + 7519, + 7518, + 7520 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 7609, + "name": "RESTGetNitroStickerPacksResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#list-nitro-sticker-packs" + }, + "children": [ + { + "id": 7610, + "name": "sticker_packs", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 13, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6620, + "name": "APIStickerPack" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7610 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 7567, + "name": "RESTOAuth2AdvancedBotAuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorization" + }, + "children": [ + { + "id": 7568, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 148, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7572, + "name": "disable_guild_select", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 162, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7571, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 161, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7570, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The required permissions bitfield, stringified" + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 160, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7574, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 164, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7573, + "name": "response_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 163, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7569, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "This assumes you include the `bot` scope alongside others (like `identify` for example)" + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 152, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ] + ] + }, + { + "type": "template-literal", + "head": "bot ", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "bot%20", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + " " + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + " " + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20" + ] + ] + }, + { + "type": "reference", + "id": 6543, + "name": "Bot" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7568, + 7572, + 7571, + 7570, + 7574, + 7573, + 7569 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 147, + "character": 17 + } + ] + }, + { + "id": 7575, + "name": "RESTOAuth2AdvancedBotAuthorizationQueryResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 7576, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 168, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7578, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 170, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7579, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 171, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7577, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 169, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7576, + 7578, + 7579, + 7577 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 167, + "character": 17 + } + ] + }, + { + "id": 7521, + "name": "RESTOAuth2AuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant" + }, + "children": [ + { + "id": 7523, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 36, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7527, + "name": "prompt", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 40, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "consent" + }, + { + "type": "literal", + "value": "none" + } + ] + } + }, + { + "id": 7525, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7522, + "name": "response_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 35, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "code" + } + }, + { + "id": 7524, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7526, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 39, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7523, + 7527, + 7525, + 7522, + 7524, + 7526 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 34, + "character": 17 + } + ] + }, + { + "id": 7528, + "name": "RESTOAuth2AuthorizationQueryResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-example" + }, + "children": [ + { + "id": 7529, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7530, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7529, + 7530 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 46, + "character": 17 + } + ] + }, + { + "id": 7561, + "name": "RESTOAuth2BotAuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#bot-authorization-flow-bot-auth-parameters" + }, + "children": [ + { + "id": 7562, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Your app's client id" + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 119, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7566, + "name": "disable_guild_select", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` or `false`—disallows the user from changing the guild dropdown" + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 141, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7565, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Pre-fills the dropdown picker with a guild for the user" + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 137, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7564, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The permissions you're requesting", + "text": "See https://discord.com/developers/docs/topics/permissions\n" + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 133, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7563, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Needs to include bot for the bot flow" + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 123, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ] + ] + }, + { + "type": "template-literal", + "head": "bot ", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "bot%20", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + " " + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + " bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20" + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + " " + ] + ] + }, + { + "type": "template-literal", + "head": "", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20bot" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "%20" + ] + ] + }, + { + "type": "reference", + "id": 6543, + "name": "Bot" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7562, + 7566, + 7565, + 7564, + 7563 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 115, + "character": 17 + } + ] + }, + { + "id": 7549, + "name": "RESTOAuth2ImplicitAuthorizationQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#implicit-grant" + }, + "children": [ + { + "id": 7551, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 90, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7555, + "name": "prompt", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 94, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "consent" + }, + { + "type": "literal", + "value": "none" + } + ] + } + }, + { + "id": 7553, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 92, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7550, + "name": "response_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "token" + } + }, + { + "id": 7552, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 91, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7554, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 93, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7551, + 7555, + 7553, + 7550, + 7552, + 7554 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 88, + "character": 17 + } + ] + }, + { + "id": 7170, + "name": "RESTPostAPIChannelFollowersJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#follow-news-channel" + }, + "children": [ + { + "id": 7171, + "name": "webhook_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of target channel" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 526, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7171 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 522, + "character": 17 + } + ] + }, + { + "id": 7150, + "name": "RESTPostAPIChannelMessagesBulkDeleteJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#bulk-delete-messages" + }, + "children": [ + { + "id": 7151, + "name": "messages", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "An array of message ids to delete (2-100)" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 416, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7151 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 412, + "character": 17 + } + ] + }, + { + "id": 7460, + "name": "RESTPostAPIContextMenuApplicationCommandsJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-global-application-command" + }, + "children": [ + { + "id": 7467, + "name": "default_member_permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set of permissions represented as a bitset" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 76, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.default_member_permissions" + } + }, + { + "id": 7464, + "name": "default_permission", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the command is enabled by default when the app is added to a guild", + "text": "If missing, this property should be assumed as `true`", + "tags": [ + { + "tag": "deprecated", + "text": "Use `dm_permission` and/or `default_member_permissions` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.default_permission" + } + }, + { + "id": 7466, + "name": "description_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Localization dictionary for the description field. Values follow the same restrictions as description" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.description_localizations" + } + }, + { + "id": 7468, + "name": "dm_permission", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.dm_permission" + } + }, + { + "id": 7463, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "1-32 character name; `CHAT_INPUT` command names must be all lowercase matching `^[-_\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$`" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 48, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.name" + } + }, + { + "id": 7465, + "name": "name_localizations", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Localization dictionary for the name field. Values follow the same restrictions as name" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 52, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "en-US" + }, + { + "type": "literal", + "value": "en-GB" + }, + { + "type": "literal", + "value": "bg" + }, + { + "type": "literal", + "value": "zh-CN" + }, + { + "type": "literal", + "value": "zh-TW" + }, + { + "type": "literal", + "value": "hr" + }, + { + "type": "literal", + "value": "cs" + }, + { + "type": "literal", + "value": "da" + }, + { + "type": "literal", + "value": "nl" + }, + { + "type": "literal", + "value": "fi" + }, + { + "type": "literal", + "value": "fr" + }, + { + "type": "literal", + "value": "de" + }, + { + "type": "literal", + "value": "el" + }, + { + "type": "literal", + "value": "hi" + }, + { + "type": "literal", + "value": "hu" + }, + { + "type": "literal", + "value": "it" + }, + { + "type": "literal", + "value": "ja" + }, + { + "type": "literal", + "value": "ko" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "no" + }, + { + "type": "literal", + "value": "pl" + }, + { + "type": "literal", + "value": "pt-BR" + }, + { + "type": "literal", + "value": "ro" + }, + { + "type": "literal", + "value": "ru" + }, + { + "type": "literal", + "value": "es-ES" + }, + { + "type": "literal", + "value": "sv-SE" + }, + { + "type": "literal", + "value": "th" + }, + { + "type": "literal", + "value": "tr" + }, + { + "type": "literal", + "value": "uk" + }, + { + "type": "literal", + "value": "vi" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.name_localizations" + } + }, + { + "id": 7462, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The parameters for the `CHAT_INPUT` command, max 25" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 72, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6244, + "name": "APIApplicationCommandOption" + } + }, + "inheritedFrom": { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody.options" + } + }, + { + "id": 7461, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6219, + "name": "User" + }, + { + "type": "reference", + "id": 6220, + "name": "Message" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7467, + 7464, + 7466, + 7468, + 7463, + 7465, + 7462, + 7461 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 55, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody" + } + ] + }, + { + "id": 7663, + "name": "RESTPostAPICurrentUserCreateDMChannelJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#create-dm" + }, + "children": [ + { + "id": 7664, + "name": "recipient_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The recipient to open a DM channel with" + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 85, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7664 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 81, + "character": 17 + } + ] + }, + { + "id": 7385, + "name": "RESTPostAPIGuildPruneResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#begin-guild-prune" + }, + "children": [ + { + "id": 7386, + "name": "pruned", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 751, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7386 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 750, + "character": 17 + } + ] + }, + { + "id": 7613, + "name": "RESTPostAPIGuildStickerFormDataBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#create-guild-sticker" + }, + "children": [ + { + "id": 7615, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Description of the sticker (empty or 2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 37, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7617, + "name": "file", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The sticker file to upload, must be a PNG, APNG, or Lottie JSON file, max 500 KB" + }, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 45, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 7614, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the sticker (2-30 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 33, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7616, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The Discord name of a unicode emoji representing the sticker's expression (2-200 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 41, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7615, + 7617, + 7614, + 7616 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 29, + "character": 17 + } + ] + }, + { + "id": 7595, + "name": "RESTPostAPIStageInstanceJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#create-stage-instance" + }, + "children": [ + { + "id": 7596, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the stage channel" + }, + "sources": [ + { + "fileName": "rest/v9/stageInstance.ts", + "line": 12, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7598, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The privacy level of the stage instance", + "tags": [ + { + "tag": "default", + "text": "GuildOnly\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/stageInstance.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6591, + "name": "StageInstancePrivacyLevel" + } + }, + { + "id": 7599, + "name": "send_start_notification", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Notify @everyone that a stage instance has started" + }, + "sources": [ + { + "fileName": "rest/v9/stageInstance.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7597, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The topic of the stage instance (1-120 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/stageInstance.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7596, + 7598, + 7599, + 7597 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/stageInstance.ts", + "line": 8, + "character": 17 + } + ] + }, + { + "id": 7701, + "name": "RESTPostAPIWebhookWithTokenQuery", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook-querystring-params" + }, + "children": [ + { + "id": 7703, + "name": "thread_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Send a message to the specified thread within a webhook's channel. The thread will automatically be unarchived." + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 175, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7702, + "name": "wait", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Waits for server confirmation of message send before response, and returns the created message body\n(defaults to `false`; when `false` a message that is not saved does not return an error)", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 171, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7703, + 7702 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 164, + "character": 17 + } + ] + }, + { + "id": 7537, + "name": "RESTPostOAuth2AccessTokenResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-access-token-response" + }, + "children": [ + { + "id": 7538, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7540, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7541, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7542, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 70, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7539, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7538, + 7540, + 7541, + 7542, + 7539 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 65, + "character": 17 + } + ] + }, + { + "id": 7531, + "name": "RESTPostOAuth2AccessTokenURLEncodedData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-redirect-url-example" + }, + "children": [ + { + "id": 7532, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 55, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7533, + "name": "client_secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7535, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7534, + "name": "grant_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "authorization_code" + } + }, + { + "id": 7536, + "name": "redirect_uri", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 59, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7532, + 7533, + 7535, + 7534, + 7536 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 54, + "character": 17 + } + ] + }, + { + "id": 7580, + "name": "RESTPostOAuth2AccessTokenWithBotAndGuildsScopeResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#advanced-bot-authorization-extended-bot-authorization-access-token-example" + }, + "children": [ + { + "id": 7581, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 178, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7583, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 180, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7586, + "name": "guild", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 183, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5920, + "name": "APIGuild" + } + }, + { + "id": 7584, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 181, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7585, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 182, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7582, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 179, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7581, + 7583, + 7586, + 7584, + 7585, + 7582 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 177, + "character": 17 + } + ] + }, + { + "id": 7587, + "name": "RESTPostOAuth2AccessTokenWithBotAndWebhookIncomingScopeResult", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#webhooks-webhook-token-response-example" + }, + "children": [ + { + "id": 7588, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 190, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7590, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 192, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7591, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 193, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7592, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 194, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7589, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 191, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7593, + "name": "webhook", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 195, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6739, + "name": "APIWebhook" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7588, + 7590, + 7591, + 7592, + 7589, + 7593 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 189, + "character": 17 + } + ] + }, + { + "id": 7557, + "name": "RESTPostOAuth2ClientCredentialsURLEncodedData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#client-credentials-grant" + }, + "children": [ + { + "id": 7558, + "name": "grant_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 106, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "client_credentials" + } + }, + { + "id": 7559, + "name": "scope", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7558, + 7559 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 105, + "character": 17 + } + ] + }, + { + "id": 7543, + "name": "RESTPostOAuth2RefreshTokenURLEncodedData", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#authorization-code-grant-refresh-token-exchange-example" + }, + "children": [ + { + "id": 7544, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7545, + "name": "client_secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 78, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7546, + "name": "grant_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 79, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "refresh_token" + } + }, + { + "id": 7547, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 80, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7544, + 7545, + 7546, + 7547 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 76, + "character": 17 + } + ] + }, + { + "id": 7504, + "name": "RESTPutAPIApplicationCommandPermissionsJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-application-command-permissions" + }, + "children": [ + { + "id": 7505, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 242, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6375, + "name": "APIApplicationCommandPermission" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7505 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 241, + "character": 17 + } + ] + }, + { + "id": 7153, + "name": "RESTPutAPIChannelPermissionJSONBody", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-channel-permissions" + }, + "children": [ + { + "id": 7154, + "name": "allow", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all allowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 435, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7155, + "name": "deny", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitwise value of all disallowed permissions", + "text": "See https://en.wikipedia.org/wiki/Bit_field\n", + "tags": [ + { + "tag": "default", + "text": "\"0\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 443, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7156, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`0` for a role or `1` for a member" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 447, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5617, + "name": "OverwriteType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7154, + 7155, + 7156 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 427, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 7072, + "name": "APIChannelPatchOverwrite" + }, + { + "type": "reference", + "id": 7224, + "name": "APIGuildCreateOverwrite" + } + ] + }, + { + "id": 5793, + "name": "APIActionRowComponentTypes", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1383, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5794, + "name": "APIMessageActionRowComponent" + }, + { + "type": "reference", + "id": 5795, + "name": "APIModalActionRowComponent" + } + ] + } + }, + { + "id": 6263, + "name": "APIApplicationCommandAttachmentOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.ts", + "line": 5, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6303, + "name": "ApplicationCommandOptionType.Attachment" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 6394, + "name": "APIApplicationCommandAutocompleteDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/autocomplete.ts", + "line": 26, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6431, + "typeArguments": [ + { + "type": "reference", + "id": 6393, + "name": "APIApplicationCommandAutocompleteInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 6395, + "name": "APIApplicationCommandAutocompleteGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/autocomplete.ts", + "line": 32, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6433, + "typeArguments": [ + { + "type": "reference", + "id": 6393, + "name": "APIApplicationCommandAutocompleteInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 6393, + "name": "APIApplicationCommandAutocompleteInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/autocomplete.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6468, + "name": "InteractionType.ApplicationCommandAutocomplete" + }, + { + "type": "reference", + "id": 6247, + "name": "APIChatInputApplicationCommandInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6468, + "name": "InteractionType.ApplicationCommandAutocomplete" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6247, + "name": "APIChatInputApplicationCommandInteractionData" + }, + { + "type": "literal", + "value": "options" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 6243, + "name": "APIApplicationCommandBasicOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-structure" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 72, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6309, + "name": "APIApplicationCommandStringOption" + }, + { + "type": "reference", + "id": 6276, + "name": "APIApplicationCommandIntegerOption" + }, + { + "type": "reference", + "id": 6265, + "name": "APIApplicationCommandBooleanOption" + }, + { + "type": "reference", + "id": 6339, + "name": "APIApplicationCommandUserOption" + }, + { + "type": "reference", + "id": 6267, + "name": "APIApplicationCommandChannelOption" + }, + { + "type": "reference", + "id": 6290, + "name": "APIApplicationCommandRoleOption" + }, + { + "type": "reference", + "id": 6282, + "name": "APIApplicationCommandMentionableOption" + }, + { + "type": "reference", + "id": 6284, + "name": "APIApplicationCommandNumberOption" + }, + { + "type": "reference", + "id": 6263, + "name": "APIApplicationCommandAttachmentOption" + } + ] + } + }, + { + "id": 6265, + "name": "APIApplicationCommandBooleanOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.ts", + "line": 4, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6297, + "name": "ApplicationCommandOptionType.Boolean" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 6241, + "name": "APIApplicationCommandDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 141, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6261, + "name": "APIChatInputApplicationCommandDMInteraction" + }, + { + "type": "reference", + "id": 6368, + "name": "APIContextMenuDMInteraction" + } + ] + } + }, + { + "id": 6242, + "name": "APIApplicationCommandGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 148, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6262, + "name": "APIChatInputApplicationCommandGuildInteraction" + }, + { + "type": "reference", + "id": 6369, + "name": "APIContextMenuGuildInteraction" + } + ] + } + }, + { + "id": 6276, + "name": "APIApplicationCommandIntegerOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/integer.ts", + "line": 20, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "APIApplicationCommandIntegerOptionBase" + }, + { + "type": "reference", + "id": 6304, + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "APIApplicationCommandOptionChoice" + } + ], + "name": "APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper" + } + }, + { + "id": 6240, + "name": "APIApplicationCommandInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 136, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6260, + "name": "APIChatInputApplicationCommandInteraction" + }, + { + "type": "reference", + "id": 6367, + "name": "APIContextMenuInteraction" + } + ] + } + }, + { + "id": 6221, + "name": "APIApplicationCommandInteractionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 106, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6247, + "name": "APIChatInputApplicationCommandInteractionData" + }, + { + "type": "reference", + "id": 6360, + "name": "APIContextMenuInteractionData" + } + ] + } + }, + { + "id": 6264, + "name": "APIApplicationCommandInteractionDataAttachmentOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6303, + "name": "ApplicationCommandOptionType.Attachment" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 6246, + "name": "APIApplicationCommandInteractionDataBasicOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 99, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6310, + "name": "APIApplicationCommandInteractionDataStringOption" + }, + { + "type": "reference", + "id": 6277, + "name": "APIApplicationCommandInteractionDataIntegerOption" + }, + { + "type": "reference", + "id": 6266, + "name": "APIApplicationCommandInteractionDataBooleanOption" + }, + { + "type": "reference", + "id": 6340, + "name": "APIApplicationCommandInteractionDataUserOption" + }, + { + "type": "reference", + "id": 6275, + "name": "APIApplicationCommandInteractionDataChannelOption" + }, + { + "type": "reference", + "id": 6291, + "name": "APIApplicationCommandInteractionDataRoleOption" + }, + { + "type": "reference", + "id": 6283, + "name": "APIApplicationCommandInteractionDataMentionableOption" + }, + { + "type": "reference", + "id": 6285, + "name": "APIApplicationCommandInteractionDataNumberOption" + }, + { + "type": "reference", + "id": 6264, + "name": "APIApplicationCommandInteractionDataAttachmentOption" + } + ] + } + }, + { + "id": 6266, + "name": "APIApplicationCommandInteractionDataBooleanOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.ts", + "line": 6, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6297, + "name": "ApplicationCommandOptionType.Boolean" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 6275, + "name": "APIApplicationCommandInteractionDataChannelOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/channel.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6299, + "name": "ApplicationCommandOptionType.Channel" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 6283, + "name": "APIApplicationCommandInteractionDataMentionableOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6301, + "name": "ApplicationCommandOptionType.Mentionable" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 6245, + "name": "APIApplicationCommandInteractionDataOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-interaction-data-option-structure" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 94, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6323, + "name": "APIApplicationCommandInteractionDataSubcommandOption" + }, + { + "type": "reference", + "id": 6335, + "name": "APIApplicationCommandInteractionDataSubcommandGroupOption" + }, + { + "type": "reference", + "id": 6246, + "name": "APIApplicationCommandInteractionDataBasicOption" + } + ] + } + }, + { + "id": 6291, + "name": "APIApplicationCommandInteractionDataRoleOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/role.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6300, + "name": "ApplicationCommandOptionType.Role" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 6340, + "name": "APIApplicationCommandInteractionDataUserOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/user.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6298, + "name": "ApplicationCommandOptionType.User" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "APIInteractionDataOptionBase" + } + }, + { + "id": 6238, + "name": "APIApplicationCommandInteractionWrapper", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/applicationCommands.ts", + "line": 129, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 6239, + "name": "Data", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 6221, + "name": "APIApplicationCommandInteractionData" + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6466, + "name": "InteractionType.ApplicationCommand" + }, + { + "type": "reference", + "id": 6239, + "name": "Data" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6466, + "name": "InteractionType.ApplicationCommand" + }, + { + "type": "reference", + "id": 6239, + "name": "Data" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "channel_id" + }, + { + "type": "literal", + "value": "data" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 6282, + "name": "APIApplicationCommandMentionableOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.ts", + "line": 5, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6301, + "name": "ApplicationCommandOptionType.Mentionable" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 6284, + "name": "APIApplicationCommandNumberOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/number.ts", + "line": 20, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "APIApplicationCommandNumberOptionBase" + }, + { + "type": "reference", + "id": 6304, + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "APIApplicationCommandOptionChoice" + } + ], + "name": "APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper" + } + }, + { + "id": 6244, + "name": "APIApplicationCommandOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-structure" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 86, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6315, + "name": "APIApplicationCommandSubcommandOption" + }, + { + "type": "reference", + "id": 6327, + "name": "APIApplicationCommandSubcommandGroupOption" + }, + { + "type": "reference", + "id": 6243, + "name": "APIApplicationCommandBasicOption" + } + ] + } + }, + { + "id": 6290, + "name": "APIApplicationCommandRoleOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/role.ts", + "line": 5, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6300, + "name": "ApplicationCommandOptionType.Role" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 6309, + "name": "APIApplicationCommandStringOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/string.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6295, + "name": "ApplicationCommandOptionType.String" + } + ], + "name": "APIApplicationCommandOptionBase" + }, + { + "type": "reference", + "id": 6304, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "APIApplicationCommandOptionChoice" + } + ], + "name": "APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper" + } + }, + { + "id": 6339, + "name": "APIApplicationCommandUserOption", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/_chatInput/user.ts", + "line": 5, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6298, + "name": "ApplicationCommandOptionType.User" + } + ], + "name": "APIApplicationCommandOptionBase" + } + }, + { + "id": 5331, + "name": "APIAuditLogChange", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/audit-log#audit-log-change-object-audit-log-change-structure" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 281, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5332, + "name": "APIAuditLogChangeKeyName" + }, + { + "type": "reference", + "id": 5333, + "name": "APIAuditLogChangeKeyDescription" + }, + { + "type": "reference", + "id": 5334, + "name": "APIAuditLogChangeKeyIconHash" + }, + { + "type": "reference", + "id": 5335, + "name": "APIAuditLogChangeKeyImageHash" + }, + { + "type": "reference", + "id": 5336, + "name": "APIAuditLogChangeKeySplashHash" + }, + { + "type": "reference", + "id": 5337, + "name": "APIAuditLogChangeKeyDiscoverySplashHash" + }, + { + "type": "reference", + "id": 5338, + "name": "APIAuditLogChangeKeyBannerHash" + }, + { + "type": "reference", + "id": 5339, + "name": "APIAuditLogChangeKeyOwnerId" + }, + { + "type": "reference", + "id": 5340, + "name": "APIAuditLogChangeKeyRegion" + }, + { + "type": "reference", + "id": 5341, + "name": "APIAuditLogChangeKeyPreferredLocale" + }, + { + "type": "reference", + "id": 5342, + "name": "APIAuditLogChangeKeyAFKChannelId" + }, + { + "type": "reference", + "id": 5343, + "name": "APIAuditLogChangeKeyAFKTimeout" + }, + { + "type": "reference", + "id": 5344, + "name": "APIAuditLogChangeKeyRulesChannelId" + }, + { + "type": "reference", + "id": 5345, + "name": "APIAuditLogChangeKeyPublicUpdatesChannelId" + }, + { + "type": "reference", + "id": 5346, + "name": "APIAuditLogChangeKeyMFALevel" + }, + { + "type": "reference", + "id": 5347, + "name": "APIAuditLogChangeKeyVerificationLevel" + }, + { + "type": "reference", + "id": 5348, + "name": "APIAuditLogChangeKeyExplicitContentFilter" + }, + { + "type": "reference", + "id": 5349, + "name": "APIAuditLogChangeKeyDefaultMessageNotifications" + }, + { + "type": "reference", + "id": 5350, + "name": "APIAuditLogChangeKeyVanityURLCode" + }, + { + "type": "reference", + "id": 5351, + "name": "APIAuditLogChangeKey$Add" + }, + { + "type": "reference", + "id": 5352, + "name": "APIAuditLogChangeKey$Remove" + }, + { + "type": "reference", + "id": 5353, + "name": "APIAuditLogChangeKeyPruneDeleteDays" + }, + { + "type": "reference", + "id": 5354, + "name": "APIAuditLogChangeKeyWidgetEnabled" + }, + { + "type": "reference", + "id": 5355, + "name": "APIAuditLogChangeKeyWidgetChannelId" + }, + { + "type": "reference", + "id": 5356, + "name": "APIAuditLogChangeKeySystemChannelId" + }, + { + "type": "reference", + "id": 5357, + "name": "APIAuditLogChangeKeyPosition" + }, + { + "type": "reference", + "id": 5358, + "name": "APIAuditLogChangeKeyTopic" + }, + { + "type": "reference", + "id": 5359, + "name": "APIAuditLogChangeKeyBitrate" + }, + { + "type": "reference", + "id": 5360, + "name": "APIAuditLogChangeKeyPermissionOverwrites" + }, + { + "type": "reference", + "id": 5361, + "name": "APIAuditLogChangeKeyNSFW" + }, + { + "type": "reference", + "id": 5362, + "name": "APIAuditLogChangeKeyApplicationId" + }, + { + "type": "reference", + "id": 5363, + "name": "APIAuditLogChangeKeyRateLimitPerUser" + }, + { + "type": "reference", + "id": 5364, + "name": "APIAuditLogChangeKeyPermissions" + }, + { + "type": "reference", + "id": 5365, + "name": "APIAuditLogChangeKeyColor" + }, + { + "type": "reference", + "id": 5367, + "name": "APIAuditLogChangeKeyHoist" + }, + { + "type": "reference", + "id": 5368, + "name": "APIAuditLogChangeKeyMentionable" + }, + { + "type": "reference", + "id": 5369, + "name": "APIAuditLogChangeKeyAllow" + }, + { + "type": "reference", + "id": 5370, + "name": "APIAuditLogChangeKeyDeny" + }, + { + "type": "reference", + "id": 5371, + "name": "APIAuditLogChangeKeyCode" + }, + { + "type": "reference", + "id": 5372, + "name": "APIAuditLogChangeKeyChannelId" + }, + { + "type": "reference", + "id": 5373, + "name": "APIAuditLogChangeKeyInviterId" + }, + { + "type": "reference", + "id": 5374, + "name": "APIAuditLogChangeKeyMaxUses" + }, + { + "type": "reference", + "id": 5375, + "name": "APIAuditLogChangeKeyUses" + }, + { + "type": "reference", + "id": 5376, + "name": "APIAuditLogChangeKeyMaxAge" + }, + { + "type": "reference", + "id": 5377, + "name": "APIAuditLogChangeKeyTemporary" + }, + { + "type": "reference", + "id": 5378, + "name": "APIAuditLogChangeKeyDeaf" + }, + { + "type": "reference", + "id": 5379, + "name": "APIAuditLogChangeKeyMute" + }, + { + "type": "reference", + "id": 5380, + "name": "APIAuditLogChangeKeyNick" + }, + { + "type": "reference", + "id": 5381, + "name": "APIAuditLogChangeKeyAvatarHash" + }, + { + "type": "reference", + "id": 5382, + "name": "APIAuditLogChangeKeyId" + }, + { + "type": "reference", + "id": 5383, + "name": "APIAuditLogChangeKeyType" + }, + { + "type": "reference", + "id": 5384, + "name": "APIAuditLogChangeKeyEnableEmoticons" + }, + { + "type": "reference", + "id": 5385, + "name": "APIAuditLogChangeKeyExpireBehavior" + }, + { + "type": "reference", + "id": 5386, + "name": "APIAuditLogChangeKeyExpireGracePeriod" + }, + { + "type": "reference", + "id": 5387, + "name": "APIAuditLogChangeKeyUserLimit" + }, + { + "type": "reference", + "id": 5388, + "name": "APIAuditLogChangeKeyPrivacyLevel" + }, + { + "type": "reference", + "id": 5389, + "name": "APIAuditLogChangeKeyTags" + }, + { + "type": "reference", + "id": 5390, + "name": "APIAuditLogChangeKeyFormatType" + }, + { + "type": "reference", + "id": 5391, + "name": "APIAuditLogChangeKeyAsset" + }, + { + "type": "reference", + "id": 5392, + "name": "APIAuditLogChangeKeyAvailable" + }, + { + "type": "reference", + "id": 5393, + "name": "APIAuditLogChangeKeyGuildId" + }, + { + "type": "reference", + "id": 5394, + "name": "APIAuditLogChangeKeyArchived" + }, + { + "type": "reference", + "id": 5395, + "name": "APIAuditLogChangeKeyLocked" + }, + { + "type": "reference", + "id": 5396, + "name": "APIAuditLogChangeKeyAutoArchiveDuration" + }, + { + "type": "reference", + "id": 5397, + "name": "APIAuditLogChangeKeyDefaultAutoArchiveDuration" + }, + { + "type": "reference", + "id": 5398, + "name": "APIAuditLogChangeKeyEntityType" + }, + { + "type": "reference", + "id": 5399, + "name": "APIAuditLogChangeKeyStatus" + }, + { + "type": "reference", + "id": 5400, + "name": "APIAuditLogChangeKeyLocation" + }, + { + "type": "reference", + "id": 5401, + "name": "APIAuditLogChangeKeyCommunicationDisabledUntil" + } + ] + } + }, + { + "id": 5351, + "name": "APIAuditLogChangeKey$Add", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when new role(s) are added" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 456, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "$add" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 6567, + "name": "APIRole" + } + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5352, + "name": "APIAuditLogChangeKey$Remove", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when role(s) are removed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 461, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "$remove" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 6567, + "name": "APIRole" + } + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5342, + "name": "APIAuditLogChangeKeyAFKChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's afk_channel_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 405, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "afk_channel_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5343, + "name": "APIAuditLogChangeKeyAFKTimeout", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's afk_timeout is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 410, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "afk_timeout" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5369, + "name": "APIAuditLogChangeKeyAllow", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an overwrite's allowed permissions bitfield is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 548, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "allow" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5362, + "name": "APIAuditLogChangeKeyApplicationId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "The application ID of the added or removed Webhook or Bot" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 511, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "application_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5394, + "name": "APIAuditLogChangeKeyArchived", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 673, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "archived" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5391, + "name": "APIAuditLogChangeKeyAsset", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Empty string" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 658, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "asset" + }, + { + "type": "literal", + "value": "" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5396, + "name": "APIAuditLogChangeKeyAutoArchiveDuration", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 683, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "auto_archive_duration" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5392, + "name": "APIAuditLogChangeKeyAvailable", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a sticker's availability is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 663, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "available" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5381, + "name": "APIAuditLogChangeKeyAvatarHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's avatar_hash is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 608, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "avatar_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5338, + "name": "APIAuditLogChangeKeyBannerHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's banner hash is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 385, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "banner_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5359, + "name": "APIAuditLogChangeKeyBitrate", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a voice channel's bitrate is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 496, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "bitrate" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5372, + "name": "APIAuditLogChangeKeyChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's or guild scheduled event's channel_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 563, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "channel_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5371, + "name": "APIAuditLogChangeKeyCode", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's code is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 558, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "code" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5365, + "name": "APIAuditLogChangeKeyColor", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a role's color is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 527, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "color" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5401, + "name": "APIAuditLogChangeKeyCommunicationDisabledUntil", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's timeout is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 711, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "communication_disabled_until" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5378, + "name": "APIAuditLogChangeKeyDeaf", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's deaf status is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 593, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "deaf" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5397, + "name": "APIAuditLogChangeKeyDefaultAutoArchiveDuration", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 688, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "default_auto_archive_duration" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5349, + "name": "APIAuditLogChangeKeyDefaultMessageNotifications", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's default_message_notifications is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 443, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "default_message_notifications" + }, + { + "type": "reference", + "id": 5964, + "name": "GuildDefaultMessageNotifications" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5370, + "name": "APIAuditLogChangeKeyDeny", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an overwrite's denied permissions bitfield is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 553, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "deny" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5333, + "name": "APIAuditLogChangeKeyDescription", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's or sticker's or guild scheduled event's description is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 360, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "description" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5337, + "name": "APIAuditLogChangeKeyDiscoverySplashHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's discovery splash is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 380, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "discovery_splash_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5384, + "name": "APIAuditLogChangeKeyEnableEmoticons", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an integration's enable_emoticons is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 623, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "enable_emoticons" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5398, + "name": "APIAuditLogChangeKeyEntityType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when entity type of a guild scheduled event is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 696, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "entity_type" + }, + { + "type": "reference", + "id": 6183, + "name": "GuildScheduledEventEntityType" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5385, + "name": "APIAuditLogChangeKeyExpireBehavior", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an integration's expire_behavior is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 628, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "expire_behavior" + }, + { + "type": "reference", + "id": 6068, + "name": "IntegrationExpireBehavior" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5386, + "name": "APIAuditLogChangeKeyExpireGracePeriod", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an integration's expire_grace_period is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 633, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "expire_grace_period" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5348, + "name": "APIAuditLogChangeKeyExplicitContentFilter", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's explicit_content_filter is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 435, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "explicit_content_filter" + }, + { + "type": "reference", + "id": 5967, + "name": "GuildExplicitContentFilter" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5390, + "name": "APIAuditLogChangeKeyFormatType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a sticker's format_type is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 653, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "format_type" + }, + { + "type": "reference", + "id": 6615, + "name": "StickerFormatType" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5393, + "name": "APIAuditLogChangeKeyGuildId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a sticker's guild_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 668, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "guild_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5367, + "name": "APIAuditLogChangeKeyHoist", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a role's hoist status is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 538, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "hoist" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5334, + "name": "APIAuditLogChangeKeyIconHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's icon is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 365, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "icon_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5382, + "name": "APIAuditLogChangeKeyId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "The ID of the changed entity - sometimes used in conjunction with other keys" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 613, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5335, + "name": "APIAuditLogChangeKeyImageHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's scheduled event's cover image is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 370, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "image_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5373, + "name": "APIAuditLogChangeKeyInviterId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's inviter_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 568, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "inviter_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5400, + "name": "APIAuditLogChangeKeyLocation", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when location of a guild scheduled event is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 706, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "location" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5395, + "name": "APIAuditLogChangeKeyLocked", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 678, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "locked" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5346, + "name": "APIAuditLogChangeKeyMFALevel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's mfa_level is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 425, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "mfa_level" + }, + { + "type": "reference", + "id": 5971, + "name": "GuildMFALevel" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5376, + "name": "APIAuditLogChangeKeyMaxAge", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's max_age is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 583, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "max_age" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5374, + "name": "APIAuditLogChangeKeyMaxUses", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's max_uses is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 573, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "max_uses" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5368, + "name": "APIAuditLogChangeKeyMentionable", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a role's mentionable status is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 543, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "mentionable" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5379, + "name": "APIAuditLogChangeKeyMute", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's mute status is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 598, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "mute" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5361, + "name": "APIAuditLogChangeKeyNSFW", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's NSFW restriction is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 506, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "nsfw" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5332, + "name": "APIAuditLogChangeKeyName", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an entity's name is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 355, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "name" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5380, + "name": "APIAuditLogChangeKeyNick", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a user's nick is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 603, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "nick" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5339, + "name": "APIAuditLogChangeKeyOwnerId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's owner_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 390, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "owner_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5360, + "name": "APIAuditLogChangeKeyPermissionOverwrites", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's permission overwrites is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 501, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "permission_overwrites" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 5612, + "name": "APIOverwrite" + } + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5364, + "name": "APIAuditLogChangeKeyPermissions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a permission bitfield is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 522, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "permissions" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5357, + "name": "APIAuditLogChangeKeyPosition", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's position is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 486, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "position" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5341, + "name": "APIAuditLogChangeKeyPreferredLocale", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's preferred_locale is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 400, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "preferred_locale" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5388, + "name": "APIAuditLogChangeKeyPrivacyLevel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when privacy level of a stage instance or guild scheduled event is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 643, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "privacy_level" + }, + { + "type": "reference", + "id": 6591, + "name": "StageInstancePrivacyLevel" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5353, + "name": "APIAuditLogChangeKeyPruneDeleteDays", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when there is a change in number of days after which inactive and role-unassigned members are kicked" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 466, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "prune_delete_days" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5345, + "name": "APIAuditLogChangeKeyPublicUpdatesChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's public_updates_channel_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 420, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "public_updates_channel_id" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5363, + "name": "APIAuditLogChangeKeyRateLimitPerUser", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's amount of seconds a user has to wait before sending another message\nis changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 517, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "rate_limit_per_user" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5340, + "name": "APIAuditLogChangeKeyRegion", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's region is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 395, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "region" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5344, + "name": "APIAuditLogChangeKeyRulesChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's rules_channel_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 415, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "rules_channel_id" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5366, + "name": "APIAuditLogChangeKeySnowflake", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Represents a change where the key is a snowflake.\nCurrently, the only known instance of this is returned when permissions for a command were updated ()" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 533, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5336, + "name": "APIAuditLogChangeKeySplashHash", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's splash is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 375, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "splash_hash" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5399, + "name": "APIAuditLogChangeKeyStatus", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when status of a guild scheduled event is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 701, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "status" + }, + { + "type": "reference", + "id": 6187, + "name": "GuildScheduledEventStatus" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5356, + "name": "APIAuditLogChangeKeySystemChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's system_channel_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 481, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "system_channel_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5389, + "name": "APIAuditLogChangeKeyTags", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a sticker's related emoji is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 648, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "tags" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5377, + "name": "APIAuditLogChangeKeyTemporary", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's temporary status is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 588, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "temporary" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5358, + "name": "APIAuditLogChangeKeyTopic", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a channel's topic is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 491, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "topic" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5383, + "name": "APIAuditLogChangeKeyType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "The type of entity created" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 618, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "type" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5387, + "name": "APIAuditLogChangeKeyUserLimit", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a voice channel's user_limit is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 638, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "user_limit" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5375, + "name": "APIAuditLogChangeKeyUses", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when an invite's uses is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 578, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "uses" + }, + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5350, + "name": "APIAuditLogChangeKeyVanityURLCode", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's vanity_url_code is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 451, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "vanity_url_code" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5347, + "name": "APIAuditLogChangeKeyVerificationLevel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's verification_level is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 430, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "verification_level" + }, + { + "type": "reference", + "id": 5979, + "name": "GuildVerificationLevel" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5355, + "name": "APIAuditLogChangeKeyWidgetChannelId", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's widget_channel_id is changed" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 476, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "widget_channel_id" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5354, + "name": "APIAuditLogChangeKeyWidgetEnabled", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Returned when a guild's widget is enabled" + }, + "sources": [ + { + "fileName": "payloads/v9/auditLog.ts", + "line": 471, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "widget_enabled" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "AuditLogChangeData" + } + }, + { + "id": 5755, + "name": "APIButtonComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1249, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5741, + "name": "APIButtonComponentWithCustomId" + }, + { + "type": "reference", + "id": 5748, + "name": "APIButtonComponentWithURL" + } + ] + } + }, + { + "id": 5508, + "name": "APIChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#channel-object-channel-structure" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 233, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5480, + "name": "APIGroupDMChannel" + }, + { + "type": "reference", + "id": 5479, + "name": "APIDMChannel" + }, + { + "type": "reference", + "id": 5448, + "name": "APITextChannel" + }, + { + "type": "reference", + "id": 5463, + "name": "APINewsChannel" + }, + { + "type": "reference", + "id": 5465, + "name": "APIVoiceChannel" + }, + { + "type": "reference", + "id": 5464, + "name": "APIGuildCategoryChannel" + }, + { + "type": "reference", + "id": 5490, + "name": "APIThreadChannel" + }, + { + "type": "reference", + "id": 5463, + "name": "APINewsChannel" + }, + { + "type": "reference", + "id": 5507, + "name": "APIGuildForumChannel" + } + ] + } + }, + { + "id": 6261, + "name": "APIChatInputApplicationCommandDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 139, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6431, + "typeArguments": [ + { + "type": "reference", + "id": 6260, + "name": "APIChatInputApplicationCommandInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 6262, + "name": "APIChatInputApplicationCommandGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 145, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6433, + "typeArguments": [ + { + "type": "reference", + "id": 6260, + "name": "APIChatInputApplicationCommandInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 6260, + "name": "APIChatInputApplicationCommandInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/chatInput.ts", + "line": 133, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6238, + "typeArguments": [ + { + "type": "reference", + "id": 6247, + "name": "APIChatInputApplicationCommandInteractionData" + } + ], + "name": "APIApplicationCommandInteractionWrapper" + } + }, + { + "id": 6368, + "name": "APIContextMenuDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 95, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6362, + "name": "APIUserApplicationCommandDMInteraction" + }, + { + "type": "reference", + "id": 6365, + "name": "APIMessageApplicationCommandDMInteraction" + } + ] + } + }, + { + "id": 6369, + "name": "APIContextMenuGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 102, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6363, + "name": "APIUserApplicationCommandGuildInteraction" + }, + { + "type": "reference", + "id": 6366, + "name": "APIMessageApplicationCommandGuildInteraction" + } + ] + } + }, + { + "id": 6367, + "name": "APIContextMenuInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 90, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6361, + "name": "APIUserApplicationCommandInteraction" + }, + { + "type": "reference", + "id": 6364, + "name": "APIMessageApplicationCommandInteraction" + } + ] + } + }, + { + "id": 6360, + "name": "APIContextMenuInteractionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-data-structure" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 48, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6341, + "name": "APIUserApplicationCommandInteractionData" + }, + { + "type": "reference", + "id": 6351, + "name": "APIMessageApplicationCommandInteractionData" + } + ] + } + }, + { + "id": 5479, + "name": "APIDMChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 163, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5511, + "name": "ChannelType.DM" + } + ], + "name": "APIDMChannelBase" + } + }, + { + "id": 6199, + "name": "APIDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/interactions.ts", + "line": 44, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6241, + "name": "APIApplicationCommandDMInteraction" + }, + { + "type": "reference", + "id": 6448, + "name": "APIMessageComponentDMInteraction" + }, + { + "type": "reference", + "id": 6394, + "name": "APIApplicationCommandAutocompleteDMInteraction" + }, + { + "type": "reference", + "id": 6461, + "name": "APIModalSubmitDMInteraction" + } + ] + } + }, + { + "id": 6431, + "name": "APIDMInteractionWrapper", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 117, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 6432, + "name": "Original", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6464, + "name": "InteractionType" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "APIBaseInteraction" + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6432, + "name": "Original" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "member" + }, + { + "type": "literal", + "value": "guild_id" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6432, + "name": "Original" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 5464, + "name": "APIGuildCategoryChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 129, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5421, + "typeArguments": [ + { + "type": "reference", + "id": 5514, + "name": "ChannelType.GuildCategory" + } + ], + "name": "APIGuildChannel" + } + }, + { + "id": 7229, + "name": "APIGuildChannelResolvable", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 40, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5508, + "name": "APIChannel" + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5479, + "name": "APIDMChannel" + }, + { + "type": "reference", + "id": 5480, + "name": "APIGroupDMChannel" + } + ] + } + ], + "qualifiedName": "Exclude", + "package": "typescript", + "name": "Exclude" + } + }, + { + "id": 7230, + "name": "APIGuildCreatePartialChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 41, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7229, + "name": "APIGuildChannelResolvable" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "type" + }, + { + "type": "literal", + "value": "topic" + }, + { + "type": "literal", + "value": "nsfw" + }, + { + "type": "literal", + "value": "bitrate" + }, + { + "type": "literal", + "value": "user_limit" + }, + { + "type": "literal", + "value": "rate_limit_per_user" + }, + { + "type": "literal", + "value": "default_auto_archive_duration" + }, + { + "type": "literal", + "value": "position" + }, + { + "type": "literal", + "value": "rtc_region" + }, + { + "type": "literal", + "value": "video_quality_mode" + }, + { + "type": "literal", + "value": "flags" + } + ] + } + ], + "name": "DistributivePick" + } + ], + "name": "StrictPartial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7231, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7233, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 59, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7232, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 58, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7234, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 60, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7235, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 61, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 7224, + "name": "APIGuildCreateOverwrite" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7233, + 7232, + 7234, + 7235 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 57, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 5507, + "name": "APIGuildForumChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 228, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5433, + "typeArguments": [ + { + "type": "reference", + "id": 5521, + "name": "ChannelType.GuildForum" + } + ], + "name": "APIGuildTextChannel" + } + }, + { + "id": 6067, + "name": "APIGuildIntegrationType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/guild.ts", + "line": 707, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "twitch" + }, + { + "type": "literal", + "value": "youtube" + }, + { + "type": "literal", + "value": "discord" + } + ] + } + }, + { + "id": 6200, + "name": "APIGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/interactions.ts", + "line": 53, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6242, + "name": "APIApplicationCommandGuildInteraction" + }, + { + "type": "reference", + "id": 6449, + "name": "APIMessageComponentGuildInteraction" + }, + { + "type": "reference", + "id": 6395, + "name": "APIApplicationCommandAutocompleteGuildInteraction" + }, + { + "type": "reference", + "id": 6462, + "name": "APIModalSubmitGuildInteraction" + } + ] + } + }, + { + "id": 6433, + "name": "APIGuildInteractionWrapper", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 123, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 6434, + "name": "Original", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6464, + "name": "InteractionType" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "APIBaseInteraction" + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6434, + "name": "Original" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6434, + "name": "Original" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "member" + }, + { + "type": "literal", + "value": "guild_id" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 6180, + "name": "APIGuildScheduledEvent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-structure" + }, + "sources": [ + { + "fileName": "payloads/v9/guildScheduledEvent.ts", + "line": 92, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6129, + "name": "APIStageInstanceGuildScheduledEvent" + }, + { + "type": "reference", + "id": 6146, + "name": "APIVoiceGuildScheduledEvent" + }, + { + "type": "reference", + "id": 6163, + "name": "APIExternalGuildScheduledEvent" + } + ] + } + }, + { + "id": 6198, + "name": "APIInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/interactions.ts", + "line": 34, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6463, + "name": "APIPingInteraction" + }, + { + "type": "reference", + "id": 6240, + "name": "APIApplicationCommandInteraction" + }, + { + "type": "reference", + "id": 6435, + "name": "APIMessageComponentInteraction" + }, + { + "type": "reference", + "id": 6393, + "name": "APIApplicationCommandAutocompleteInteraction" + }, + { + "type": "reference", + "id": 6460, + "name": "APIModalSubmitInteraction" + } + ] + } + }, + { + "id": 6470, + "name": "APIInteractionResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 20, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6471, + "name": "APIInteractionResponsePong" + }, + { + "type": "reference", + "id": 6479, + "name": "APIInteractionResponseChannelMessageWithSource" + }, + { + "type": "reference", + "id": 6482, + "name": "APIInteractionResponseDeferredChannelMessageWithSource" + }, + { + "type": "reference", + "id": 6485, + "name": "APIInteractionResponseDeferredMessageUpdate" + }, + { + "type": "reference", + "id": 6487, + "name": "APIInteractionResponseUpdateMessage" + }, + { + "type": "reference", + "id": 6473, + "name": "APIApplicationCommandAutocompleteResponse" + }, + { + "type": "reference", + "id": 6476, + "name": "APIModalInteractionResponse" + } + ] + } + }, + { + "id": 6498, + "name": "APIInteractionResponseCallbackData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-data-structure" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 99, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7687, + "name": "RESTPostAPIWebhookWithTokenJSONBody" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "username" + }, + { + "type": "literal", + "value": "avatar_url" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reflection", + "declaration": { + "id": 6499, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 6500, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 102, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 5595, + "name": "MessageFlags" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6500 + ] + } + ], + "sources": [ + { + "fileName": "payloads/v9/_interactions/responses.ts", + "line": 102, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 6507, + "name": "APIInviteGuild", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/invite.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5920, + "name": "APIGuild" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "name" + }, + { + "type": "literal", + "value": "splash" + }, + { + "type": "literal", + "value": "banner" + }, + { + "type": "literal", + "value": "icon" + }, + { + "type": "literal", + "value": "vanity_url_code" + }, + { + "type": "literal", + "value": "description" + }, + { + "type": "literal", + "value": "features" + }, + { + "type": "literal", + "value": "verification_level" + }, + { + "type": "literal", + "value": "nsfw_level" + }, + { + "type": "literal", + "value": "premium_subscription_count" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 5794, + "name": "APIMessageActionRowComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#message-components" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1388, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5755, + "name": "APIButtonComponent" + }, + { + "type": "reference", + "id": 5765, + "name": "APISelectMenuComponent" + } + ] + } + }, + { + "id": 6365, + "name": "APIMessageApplicationCommandDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 78, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6431, + "typeArguments": [ + { + "type": "reference", + "id": 6364, + "name": "APIMessageApplicationCommandInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 6366, + "name": "APIMessageApplicationCommandGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 84, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6433, + "typeArguments": [ + { + "type": "reference", + "id": 6364, + "name": "APIMessageApplicationCommandInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 6364, + "name": "APIMessageApplicationCommandInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 72, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6238, + "typeArguments": [ + { + "type": "reference", + "id": 6351, + "name": "APIMessageApplicationCommandInteractionData" + } + ], + "name": "APIApplicationCommandInteractionWrapper" + } + }, + { + "id": 6443, + "name": "APIMessageButtonInteractionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/messageComponents.ts", + "line": 51, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6439, + "typeArguments": [ + { + "type": "reference", + "id": 5723, + "name": "ComponentType.Button" + } + ], + "name": "APIMessageComponentBaseInteractionData" + } + }, + { + "id": 5791, + "name": "APIMessageComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/message-components#message-components" + }, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1380, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5794, + "name": "APIMessageActionRowComponent" + }, + { + "type": "reference", + "id": 5726, + "typeArguments": [ + { + "type": "reference", + "id": 5794, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + ] + } + }, + { + "id": 6436, + "name": "APIMessageComponentButtonInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/messageComponents.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6467, + "name": "InteractionType.MessageComponent" + }, + { + "type": "reference", + "id": 6443, + "name": "APIMessageButtonInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6467, + "name": "InteractionType.MessageComponent" + }, + { + "type": "reference", + "id": 6443, + "name": "APIMessageButtonInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "channel_id" + }, + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "message" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 6448, + "name": "APIMessageComponentDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/messageComponents.ts", + "line": 58, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6431, + "typeArguments": [ + { + "type": "reference", + "id": 6435, + "name": "APIMessageComponentInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 6449, + "name": "APIMessageComponentGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/messageComponents.ts", + "line": 60, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6433, + "typeArguments": [ + { + "type": "reference", + "id": 6435, + "name": "APIMessageComponentInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 6435, + "name": "APIMessageComponentInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/messageComponents.ts", + "line": 5, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6467, + "name": "InteractionType.MessageComponent" + }, + { + "type": "reference", + "id": 6438, + "name": "APIMessageComponentInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6467, + "name": "InteractionType.MessageComponent" + }, + { + "type": "reference", + "id": 6438, + "name": "APIMessageComponentInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "channel_id" + }, + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "message" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 6438, + "name": "APIMessageComponentInteractionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/messageComponents.ts", + "line": 38, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6443, + "name": "APIMessageButtonInteractionData" + }, + { + "type": "reference", + "id": 6444, + "name": "APIMessageSelectMenuInteractionData" + } + ] + } + }, + { + "id": 6437, + "name": "APIMessageComponentSelectMenuInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/messageComponents.ts", + "line": 27, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6467, + "name": "InteractionType.MessageComponent" + }, + { + "type": "reference", + "id": 6444, + "name": "APIMessageSelectMenuInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6467, + "name": "InteractionType.MessageComponent" + }, + { + "type": "reference", + "id": 6444, + "name": "APIMessageSelectMenuInteractionData" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "channel_id" + }, + { + "type": "literal", + "value": "data" + }, + { + "type": "literal", + "value": "message" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 7106, + "name": "APIMessageReferenceSend", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#message-reference-object-message-reference-structure" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 193, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5586, + "name": "APIMessageReference" + } + ], + "name": "StrictPartial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5586, + "name": "APIMessageReference" + }, + { + "type": "literal", + "value": "message_id" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7107, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7108, + "name": "fail_if_not_exists", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message", + "tags": [ + { + "tag": "default", + "text": "true\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 201, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7108 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 195, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 5795, + "name": "APIModalActionRowComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1391, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5779, + "name": "APITextInputComponent" + } + }, + { + "id": 5792, + "name": "APIModalComponent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 1381, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5795, + "name": "APIModalActionRowComponent" + }, + { + "type": "reference", + "id": 5726, + "typeArguments": [ + { + "type": "reference", + "id": 5795, + "name": "APIModalActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + ] + } + }, + { + "id": 6461, + "name": "APIModalSubmitDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/modalSubmit.ts", + "line": 41, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6431, + "typeArguments": [ + { + "type": "reference", + "id": 6460, + "name": "APIModalSubmitInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 6462, + "name": "APIModalSubmitGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/modalSubmit.ts", + "line": 46, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6433, + "typeArguments": [ + { + "type": "reference", + "id": 6460, + "name": "APIModalSubmitInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 6460, + "name": "APIModalSubmitInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/modalSubmit.ts", + "line": 35, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6469, + "name": "InteractionType.ModalSubmit" + }, + { + "type": "reference", + "id": 6457, + "name": "APIModalSubmission" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6469, + "name": "InteractionType.ModalSubmit" + }, + { + "type": "reference", + "id": 6457, + "name": "APIModalSubmission" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + } + ] + } + }, + { + "id": 5463, + "name": "APINewsChannel", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 128, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5433, + "typeArguments": [ + { + "type": "reference", + "id": 5515, + "name": "ChannelType.GuildNews" + } + ], + "name": "APIGuildTextChannel" + } + }, + { + "id": 6463, + "name": "APIPingInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/ping.ts", + "line": 4, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6415, + "typeArguments": [ + { + "type": "reference", + "id": 6465, + "name": "InteractionType.Ping" + }, + { + "type": "intrinsic", + "name": "never" + } + ], + "name": "APIBaseInteraction" + }, + { + "type": "literal", + "value": "locale" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 6619, + "name": "APIStickerItem", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#sticker-item-object" + }, + "sources": [ + { + "fileName": "payloads/v9/sticker.ts", + "line": 93, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6599, + "name": "APISticker" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "name" + }, + { + "type": "literal", + "value": "format_type" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 6362, + "name": "APIUserApplicationCommandDMInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 61, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6431, + "typeArguments": [ + { + "type": "reference", + "id": 6361, + "name": "APIUserApplicationCommandInteraction" + } + ], + "name": "APIDMInteractionWrapper" + } + }, + { + "id": 6363, + "name": "APIUserApplicationCommandGuildInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 66, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6433, + "typeArguments": [ + { + "type": "reference", + "id": 6361, + "name": "APIUserApplicationCommandInteraction" + } + ], + "name": "APIGuildInteractionWrapper" + } + }, + { + "id": 6361, + "name": "APIUserApplicationCommandInteraction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/contextMenu.ts", + "line": 55, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6238, + "typeArguments": [ + { + "type": "reference", + "id": 6341, + "name": "APIUserApplicationCommandInteractionData" + } + ], + "name": "APIApplicationCommandInteractionWrapper" + } + }, + { + "id": 5879, + "name": "GatewayActivityAssets", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-assets" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 295, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "large_image" + }, + { + "type": "literal", + "value": "large_text" + }, + { + "type": "literal", + "value": "small_image" + }, + { + "type": "literal", + "value": "small_text" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 5875, + "name": "GatewayActivityEmoji", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-emoji" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 276, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5800, + "name": "APIEmoji" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "animated" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5800, + "name": "APIEmoji" + }, + { + "type": "literal", + "value": "name" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ] + } + }, + { + "id": 5880, + "name": "GatewayActivitySecrets", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-secrets" + }, + "sources": [ + { + "fileName": "payloads/v9/gateway.ts", + "line": 302, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "join" + }, + { + "type": "literal", + "value": "spectate" + }, + { + "type": "literal", + "value": "match" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 5208, + "name": "GatewayActivityUpdateData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#activity-object-activity-structure" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1721, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5836, + "name": "GatewayActivity" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "name" + }, + { + "type": "literal", + "value": "type" + }, + { + "type": "literal", + "value": "url" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 4926, + "name": "GatewayChannelCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 449, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4924, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 4927, + "name": "GatewayChannelCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 454, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4925, + "name": "GatewayChannelModifyDispatchData" + } + }, + { + "id": 4930, + "name": "GatewayChannelDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-delete" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 469, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4924, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 4931, + "name": "GatewayChannelDeleteDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-delete" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 474, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4925, + "name": "GatewayChannelModifyDispatchData" + } + }, + { + "id": 4924, + "name": "GatewayChannelModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-create\nhttps://discord.com/developers/docs/topics/gateway#channel-update\nhttps://discord.com/developers/docs/topics/gateway#channel-delete" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 434, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 4829, + "name": "GatewayDispatchEvents.ChannelCreate" + }, + { + "type": "reference", + "id": 4830, + "name": "GatewayDispatchEvents.ChannelDelete" + }, + { + "type": "reference", + "id": 4832, + "name": "GatewayDispatchEvents.ChannelUpdate" + } + ] + }, + { + "type": "reference", + "id": 4925, + "name": "GatewayChannelModifyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4925, + "name": "GatewayChannelModifyDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-create\nhttps://discord.com/developers/docs/topics/gateway#channel-update\nhttps://discord.com/developers/docs/topics/gateway#channel-delete" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 444, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + }, + { + "id": 4932, + "name": "GatewayChannelPinsUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-pins-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 479, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4831, + "name": "GatewayDispatchEvents.ChannelPinsUpdate" + }, + { + "type": "reference", + "id": 4933, + "name": "GatewayChannelPinsUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4928, + "name": "GatewayChannelUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 459, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4924, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 4929, + "name": "GatewayChannelUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#channel-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 464, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4925, + "name": "GatewayChannelModifyDispatchData" + } + }, + { + "id": 4886, + "name": "GatewayDispatchPayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 272, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 4924, + "name": "GatewayChannelModifyDispatch" + }, + { + "type": "reference", + "id": 4932, + "name": "GatewayChannelPinsUpdateDispatch" + }, + { + "type": "reference", + "id": 4956, + "name": "GatewayGuildBanModifyDispatch" + }, + { + "type": "reference", + "id": 4954, + "name": "GatewayGuildDeleteDispatch" + }, + { + "type": "reference", + "id": 4964, + "name": "GatewayGuildEmojisUpdateDispatch" + }, + { + "type": "reference", + "id": 4972, + "name": "GatewayGuildIntegrationsUpdateDispatch" + }, + { + "type": "reference", + "id": 4975, + "name": "GatewayGuildMemberAddDispatch" + }, + { + "type": "reference", + "id": 4988, + "name": "GatewayGuildMemberRemoveDispatch" + }, + { + "type": "reference", + "id": 4996, + "name": "GatewayGuildMembersChunkDispatch" + }, + { + "type": "reference", + "id": 4992, + "name": "GatewayGuildMemberUpdateDispatch" + }, + { + "type": "reference", + "id": 4937, + "name": "GatewayGuildModifyDispatch" + }, + { + "type": "reference", + "id": 5013, + "name": "GatewayGuildRoleDeleteDispatch" + }, + { + "type": "reference", + "id": 5005, + "name": "GatewayGuildRoleModifyDispatch" + }, + { + "type": "reference", + "id": 5017, + "name": "GatewayGuildScheduledEventCreateDispatch" + }, + { + "type": "reference", + "id": 5019, + "name": "GatewayGuildScheduledEventUpdateDispatch" + }, + { + "type": "reference", + "id": 5021, + "name": "GatewayGuildScheduledEventDeleteDispatch" + }, + { + "type": "reference", + "id": 5023, + "name": "GatewayGuildScheduledEventUserAddDispatch" + }, + { + "type": "reference", + "id": 5028, + "name": "GatewayGuildScheduledEventUserRemoveDispatch" + }, + { + "type": "reference", + "id": 4968, + "name": "GatewayGuildStickersUpdateDispatch" + }, + { + "type": "reference", + "id": 5033, + "name": "GatewayIntegrationCreateDispatch" + }, + { + "type": "reference", + "id": 5041, + "name": "GatewayIntegrationDeleteDispatch" + }, + { + "type": "reference", + "id": 5037, + "name": "GatewayIntegrationUpdateDispatch" + }, + { + "type": "reference", + "id": 5046, + "name": "GatewayInteractionCreateDispatch" + }, + { + "type": "reference", + "id": 5048, + "name": "GatewayInviteCreateDispatch" + }, + { + "type": "reference", + "id": 5062, + "name": "GatewayInviteDeleteDispatch" + }, + { + "type": "reference", + "id": 5067, + "name": "GatewayMessageCreateDispatch" + }, + { + "type": "reference", + "id": 5079, + "name": "GatewayMessageDeleteBulkDispatch" + }, + { + "type": "reference", + "id": 5074, + "name": "GatewayMessageDeleteDispatch" + }, + { + "type": "reference", + "id": 5084, + "name": "GatewayMessageReactionAddDispatch" + }, + { + "type": "reference", + "id": 5088, + "name": "GatewayMessageReactionRemoveAllDispatch" + }, + { + "type": "reference", + "id": 5086, + "name": "GatewayMessageReactionRemoveDispatch" + }, + { + "type": "reference", + "id": 5090, + "name": "GatewayMessageReactionRemoveEmojiDispatch" + }, + { + "type": "reference", + "id": 5069, + "name": "GatewayMessageUpdateDispatch" + }, + { + "type": "reference", + "id": 5096, + "name": "GatewayPresenceUpdateDispatch" + }, + { + "type": "reference", + "id": 5098, + "name": "GatewayStageInstanceCreateDispatch" + }, + { + "type": "reference", + "id": 5100, + "name": "GatewayStageInstanceDeleteDispatch" + }, + { + "type": "reference", + "id": 5102, + "name": "GatewayStageInstanceUpdateDispatch" + }, + { + "type": "reference", + "id": 4915, + "name": "GatewayReadyDispatch" + }, + { + "type": "reference", + "id": 4923, + "name": "GatewayResumedDispatch" + }, + { + "type": "reference", + "id": 5104, + "name": "GatewayThreadListSyncDispatch" + }, + { + "type": "reference", + "id": 5106, + "name": "GatewayThreadMembersUpdateDispatch" + }, + { + "type": "reference", + "id": 5108, + "name": "GatewayThreadMemberUpdateDispatch" + }, + { + "type": "reference", + "id": 5112, + "name": "GatewayThreadModifyDispatch" + }, + { + "type": "reference", + "id": 5136, + "name": "GatewayTypingStartDispatch" + }, + { + "type": "reference", + "id": 5143, + "name": "GatewayUserUpdateDispatch" + }, + { + "type": "reference", + "id": 5147, + "name": "GatewayVoiceServerUpdateDispatch" + }, + { + "type": "reference", + "id": 5145, + "name": "GatewayVoiceStateUpdateDispatch" + }, + { + "type": "reference", + "id": 5152, + "name": "GatewayWebhooksUpdateDispatch" + } + ] + } + }, + { + "id": 4960, + "name": "GatewayGuildBanAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-add" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 651, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4956, + "name": "GatewayGuildBanModifyDispatch" + } + }, + { + "id": 4961, + "name": "GatewayGuildBanAddDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-add" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 656, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4957, + "name": "GatewayGuildBanModifyDispatchData" + } + }, + { + "id": 4956, + "name": "GatewayGuildBanModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-add\nhttps://discord.com/developers/docs/topics/gateway#guild-ban-remove" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 626, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 4833, + "name": "GatewayDispatchEvents.GuildBanAdd" + }, + { + "type": "reference", + "id": 4834, + "name": "GatewayDispatchEvents.GuildBanRemove" + } + ] + }, + { + "type": "reference", + "id": 4957, + "name": "GatewayGuildBanModifyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4962, + "name": "GatewayGuildBanRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-remove" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 661, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4956, + "name": "GatewayGuildBanModifyDispatch" + } + }, + { + "id": 4963, + "name": "GatewayGuildBanRemoveDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-ban-remove" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 666, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4957, + "name": "GatewayGuildBanModifyDispatchData" + } + }, + { + "id": 4939, + "name": "GatewayGuildCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 519, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4937, + "name": "GatewayGuildModifyDispatch" + } + }, + { + "id": 4940, + "name": "GatewayGuildCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-create\nhttps://discord.com/developers/docs/topics/gateway#guild-create-guild-create-extra-fields" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 525, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 5920, + "name": "APIGuild" + }, + { + "type": "reflection", + "declaration": { + "id": 4941, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4947, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Channels in the guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 567, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + } + }, + { + "id": 4951, + "name": "guild_scheduled_events", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The scheduled events in the guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nhttps://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 599, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6180, + "name": "APIGuildScheduledEvent" + } + } + }, + { + "id": 4942, + "name": "joined_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "When this guild was joined at", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 531, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4943, + "name": "large", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "`true` if this is considered a large guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 537, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4944, + "name": "member_count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Total number of members in this guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 543, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4946, + "name": "members", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Users in the guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/resources/guild#guild-member-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 559, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + } + } + }, + { + "id": 4949, + "name": "presences", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Presences of the members in the guild, will only include non-offline members if the size is greater than `large_threshold`", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/topics/gateway#presence-update\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 583, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5820, + "name": "GatewayPresenceUpdate" + } + } + }, + { + "id": 4950, + "name": "stage_instances", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The stage instances in the guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/resources/stage-instance#stage-instance-object-stage-instance-structure\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 591, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6583, + "name": "APIStageInstance" + } + } + }, + { + "id": 4948, + "name": "threads", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Threads in the guild", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 575, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + } + }, + { + "id": 4945, + "name": "voice_states", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "States of members currently in voice channels; lacks the `guild_id` key", + "text": "**This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event**\n\nSee https://discord.com/developers/docs/resources/voice#voice-state-object\n" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 551, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6719, + "name": "GatewayVoiceState" + }, + { + "type": "literal", + "value": "guild_id" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4947, + 4951, + 4942, + 4943, + 4944, + 4946, + 4949, + 4950, + 4948, + 4945 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 525, + "character": 56 + } + ] + } + } + ] + } + }, + { + "id": 4954, + "name": "GatewayGuildDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-delete" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 615, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4836, + "name": "GatewayDispatchEvents.GuildDelete" + }, + { + "type": "reference", + "id": 4955, + "name": "GatewayGuildDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4955, + "name": "GatewayGuildDeleteDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-delete" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 620, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5905, + "name": "APIUnavailableGuild" + } + }, + { + "id": 4964, + "name": "GatewayGuildEmojisUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-emojis-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 671, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4837, + "name": "GatewayDispatchEvents.GuildEmojisUpdate" + }, + { + "type": "reference", + "id": 4965, + "name": "GatewayGuildEmojisUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4972, + "name": "GatewayGuildIntegrationsUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-integrations-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 719, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4838, + "name": "GatewayDispatchEvents.GuildIntegrationsUpdate" + }, + { + "type": "reference", + "id": 4973, + "name": "GatewayGuildIntegrationsUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4975, + "name": "GatewayGuildMemberAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-add" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 737, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4839, + "name": "GatewayDispatchEvents.GuildMemberAdd" + }, + { + "type": "reference", + "id": 4976, + "name": "GatewayGuildMemberAddDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4988, + "name": "GatewayGuildMemberRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-remove" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 755, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4840, + "name": "GatewayDispatchEvents.GuildMemberRemove" + }, + { + "type": "reference", + "id": 4989, + "name": "GatewayGuildMemberRemoveDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4992, + "name": "GatewayGuildMemberUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 779, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4842, + "name": "GatewayDispatchEvents.GuildMemberUpdate" + }, + { + "type": "reference", + "id": 4993, + "name": "GatewayGuildMemberUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4993, + "name": "GatewayGuildMemberUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-member-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 787, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "deaf" + }, + { + "type": "literal", + "value": "mute" + }, + { + "type": "literal", + "value": "user" + }, + { + "type": "literal", + "value": "joined_at" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "deaf" + }, + { + "type": "literal", + "value": "mute" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Required", + "package": "typescript", + "name": "Required" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + }, + { + "type": "literal", + "value": "joined_at" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "name": "Nullable" + }, + { + "type": "reflection", + "declaration": { + "id": 4994, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 4995, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the guild" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 794, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 4995 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 790, + "character": 47 + } + ] + } + } + ] + } + }, + { + "id": 4996, + "name": "GatewayGuildMembersChunkDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-members-chunk" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 800, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4841, + "name": "GatewayDispatchEvents.GuildMembersChunk" + }, + { + "type": "reference", + "id": 4997, + "name": "GatewayGuildMembersChunkDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4937, + "name": "GatewayGuildModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-create\nhttps://discord.com/developers/docs/topics/gateway#guild-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 506, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 4835, + "name": "GatewayDispatchEvents.GuildCreate" + }, + { + "type": "reference", + "id": 4847, + "name": "GatewayDispatchEvents.GuildUpdate" + } + ] + }, + { + "type": "reference", + "id": 4938, + "name": "GatewayGuildModifyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4938, + "name": "GatewayGuildModifyDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 514, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5920, + "name": "APIGuild" + } + }, + { + "id": 5009, + "name": "GatewayGuildRoleCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 874, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5005, + "name": "GatewayGuildRoleModifyDispatch" + } + }, + { + "id": 5010, + "name": "GatewayGuildRoleCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 879, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5006, + "name": "GatewayGuildRoleModifyDispatchData" + } + }, + { + "id": 5013, + "name": "GatewayGuildRoleDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-delete" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 894, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4844, + "name": "GatewayDispatchEvents.GuildRoleDelete" + }, + { + "type": "reference", + "id": 5014, + "name": "GatewayGuildRoleDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5005, + "name": "GatewayGuildRoleModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-create\nhttps://discord.com/developers/docs/topics/gateway#guild-role-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 849, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 4843, + "name": "GatewayDispatchEvents.GuildRoleCreate" + }, + { + "type": "reference", + "id": 4845, + "name": "GatewayDispatchEvents.GuildRoleUpdate" + } + ] + }, + { + "type": "reference", + "id": 5006, + "name": "GatewayGuildRoleModifyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5011, + "name": "GatewayGuildRoleUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 884, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5005, + "name": "GatewayGuildRoleModifyDispatch" + } + }, + { + "id": 5012, + "name": "GatewayGuildRoleUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-role-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 889, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5006, + "name": "GatewayGuildRoleModifyDispatchData" + } + }, + { + "id": 5017, + "name": "GatewayGuildScheduledEventCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 913, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4879, + "name": "GatewayDispatchEvents.GuildScheduledEventCreate" + }, + { + "type": "reference", + "id": 5018, + "name": "GatewayGuildScheduledEventCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5018, + "name": "GatewayGuildScheduledEventCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 918, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6180, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 5021, + "name": "GatewayGuildScheduledEventDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 927, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4881, + "name": "GatewayDispatchEvents.GuildScheduledEventDelete" + }, + { + "type": "reference", + "id": 5022, + "name": "GatewayGuildScheduledEventDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5022, + "name": "GatewayGuildScheduledEventDeleteDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 932, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6180, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 5019, + "name": "GatewayGuildScheduledEventUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 920, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4880, + "name": "GatewayDispatchEvents.GuildScheduledEventUpdate" + }, + { + "type": "reference", + "id": 5020, + "name": "GatewayGuildScheduledEventUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5020, + "name": "GatewayGuildScheduledEventUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 925, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6180, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 5023, + "name": "GatewayGuildScheduledEventUserAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 934, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4882, + "name": "GatewayDispatchEvents.GuildScheduledEventUserAdd" + }, + { + "type": "reference", + "id": 5024, + "name": "GatewayGuildScheduledEventUserAddDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5028, + "name": "GatewayGuildScheduledEventUserRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 945, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4883, + "name": "GatewayDispatchEvents.GuildScheduledEventUserRemove" + }, + { + "type": "reference", + "id": 5024, + "name": "GatewayGuildScheduledEventUserAddDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4968, + "name": "GatewayGuildStickersUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-stickers-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 695, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4846, + "name": "GatewayDispatchEvents.GuildStickersUpdate" + }, + { + "type": "reference", + "id": 4969, + "name": "GatewayGuildStickersUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4952, + "name": "GatewayGuildUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 605, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4937, + "name": "GatewayGuildModifyDispatch" + } + }, + { + "id": 4953, + "name": "GatewayGuildUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#guild-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 610, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4938, + "name": "GatewayGuildModifyDispatchData" + } + }, + { + "id": 5159, + "name": "GatewayHeartbeatData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#heartbeating" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1510, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5033, + "name": "GatewayIntegrationCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 959, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4848, + "name": "GatewayDispatchEvents.IntegrationCreate" + }, + { + "type": "reference", + "id": 5034, + "name": "GatewayIntegrationCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5034, + "name": "GatewayIntegrationCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 967, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 6051, + "name": "APIGuildIntegration" + }, + { + "type": "reflection", + "declaration": { + "id": 5035, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 5036, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 967, + "character": 75 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5036 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 967, + "character": 73 + } + ] + } + } + ] + } + }, + { + "id": 5041, + "name": "GatewayIntegrationDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 985, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4849, + "name": "GatewayDispatchEvents.IntegrationDelete" + }, + { + "type": "reference", + "id": 5042, + "name": "GatewayIntegrationDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5037, + "name": "GatewayIntegrationUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 972, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4850, + "name": "GatewayDispatchEvents.IntegrationUpdate" + }, + { + "type": "reference", + "id": 5038, + "name": "GatewayIntegrationUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5038, + "name": "GatewayIntegrationUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#integration-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 980, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 6051, + "name": "APIGuildIntegration" + }, + { + "type": "reflection", + "declaration": { + "id": 5039, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 5040, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 980, + "character": 75 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5040 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 980, + "character": 73 + } + ] + } + } + ] + } + }, + { + "id": 5046, + "name": "GatewayInteractionCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#interaction-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1011, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4851, + "name": "GatewayDispatchEvents.InteractionCreate" + }, + { + "type": "reference", + "id": 5047, + "name": "GatewayInteractionCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5047, + "name": "GatewayInteractionCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#interaction-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1019, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6198, + "name": "APIInteraction" + } + }, + { + "id": 4909, + "name": "GatewayInvalidSessionData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invalid-session" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 369, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5048, + "name": "GatewayInviteCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invite-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1024, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4852, + "name": "GatewayDispatchEvents.InviteCreate" + }, + { + "type": "reference", + "id": 5049, + "name": "GatewayInviteCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5062, + "name": "GatewayInviteDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#invite-delete" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1094, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4853, + "name": "GatewayDispatchEvents.InviteDelete" + }, + { + "type": "reference", + "id": 5063, + "name": "GatewayInviteDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5067, + "name": "GatewayMessageCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1122, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4854, + "name": "GatewayDispatchEvents.MessageCreate" + }, + { + "type": "reference", + "id": 5068, + "name": "GatewayMessageCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5068, + "name": "GatewayMessageCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1130, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + }, + { + "id": 5079, + "name": "GatewayMessageDeleteBulkDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-delete-bulk" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1177, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4856, + "name": "GatewayDispatchEvents.MessageDeleteBulk" + }, + { + "type": "reference", + "id": 5080, + "name": "GatewayMessageDeleteBulkDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5074, + "name": "GatewayMessageDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-delete" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1151, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4855, + "name": "GatewayDispatchEvents.MessageDelete" + }, + { + "type": "reference", + "id": 5075, + "name": "GatewayMessageDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5084, + "name": "GatewayMessageReactionAddDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-add" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1203, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4857, + "name": "GatewayDispatchEvents.MessageReactionAdd" + } + ], + "name": "ReactionData" + } + }, + { + "id": 5085, + "name": "GatewayMessageReactionAddDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-add" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1208, + "character": 12 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "d" + }, + "objectType": { + "type": "reference", + "id": 5084, + "name": "GatewayMessageReactionAddDispatch" + } + } + }, + { + "id": 5088, + "name": "GatewayMessageReactionRemoveAllDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove-all" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1223, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4859, + "name": "GatewayDispatchEvents.MessageReactionRemoveAll" + }, + { + "type": "reference", + "id": 5089, + "name": "GatewayMessageReactionRemoveAllDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5089, + "name": "GatewayMessageReactionRemoveAllDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove-all" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1231, + "character": 12 + } + ], + "type": { + "type": "reference", + "name": "MessageReactionRemoveData" + } + }, + { + "id": 5086, + "name": "GatewayMessageReactionRemoveDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1213, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4858, + "name": "GatewayDispatchEvents.MessageReactionRemove" + }, + { + "type": "literal", + "value": "member" + } + ], + "name": "ReactionData" + } + }, + { + "id": 5087, + "name": "GatewayMessageReactionRemoveDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1218, + "character": 12 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "d" + }, + "objectType": { + "type": "reference", + "id": 5086, + "name": "GatewayMessageReactionRemoveDispatch" + } + } + }, + { + "id": 5090, + "name": "GatewayMessageReactionRemoveEmojiDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1236, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4860, + "name": "GatewayDispatchEvents.MessageReactionRemoveEmoji" + }, + { + "type": "reference", + "id": 5091, + "name": "GatewayMessageReactionRemoveEmojiDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5069, + "name": "GatewayMessageUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1135, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4861, + "name": "GatewayDispatchEvents.MessageUpdate" + }, + { + "type": "reference", + "id": 5070, + "name": "GatewayMessageUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5070, + "name": "GatewayMessageUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#message-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1143, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 5071, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 5073, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1145, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 5072, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1144, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5073, + 5072 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1143, + "character": 47 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + }, + { + "id": 5096, + "name": "GatewayPresenceUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#presence-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1254, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4862, + "name": "GatewayDispatchEvents.PresenceUpdate" + }, + { + "type": "reference", + "id": 5097, + "name": "GatewayPresenceUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5097, + "name": "GatewayPresenceUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#presence-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1262, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5820, + "name": "RawGatewayPresenceUpdate" + } + }, + { + "id": 4915, + "name": "GatewayReadyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#ready" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 382, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4866, + "name": "GatewayDispatchEvents.Ready" + }, + { + "type": "reference", + "id": 4916, + "name": "GatewayReadyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4885, + "name": "GatewayReceivePayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 264, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 4887, + "name": "GatewayHello" + }, + { + "type": "reference", + "id": 4894, + "name": "GatewayHeartbeatRequest" + }, + { + "type": "reference", + "id": 4899, + "name": "GatewayHeartbeatAck" + }, + { + "type": "reference", + "id": 4904, + "name": "GatewayInvalidSession" + }, + { + "type": "reference", + "id": 4910, + "name": "GatewayReconnect" + }, + { + "type": "reference", + "id": 4886, + "name": "GatewayDispatchPayload" + } + ] + } + }, + { + "id": 4923, + "name": "GatewayResumedDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#resumed" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 427, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4867, + "name": "GatewayDispatchEvents.Resumed" + }, + { + "type": "intrinsic", + "name": "never" + } + ], + "name": "DataPayload" + } + }, + { + "id": 4884, + "name": "GatewaySendPayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 256, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5156, + "name": "GatewayHeartbeat" + }, + { + "type": "reference", + "id": 5160, + "name": "GatewayIdentify" + }, + { + "type": "reference", + "id": 5200, + "name": "GatewayUpdatePresence" + }, + { + "type": "reference", + "id": 5192, + "name": "GatewayVoiceStateUpdate" + }, + { + "type": "reference", + "id": 5175, + "name": "GatewayResume" + }, + { + "type": "reference", + "id": 5182, + "name": "GatewayRequestGuildMembers" + } + ] + } + }, + { + "id": 5098, + "name": "GatewayStageInstanceCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1267, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4863, + "name": "GatewayDispatchEvents.StageInstanceCreate" + }, + { + "type": "reference", + "id": 5099, + "name": "GatewayStageInstanceCreateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5099, + "name": "GatewayStageInstanceCreateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1275, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6583, + "name": "APIStageInstance" + } + }, + { + "id": 5100, + "name": "GatewayStageInstanceDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-delete" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1280, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4864, + "name": "GatewayDispatchEvents.StageInstanceDelete" + }, + { + "type": "reference", + "id": 5101, + "name": "GatewayStageInstanceDeleteDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5101, + "name": "GatewayStageInstanceDeleteDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-delete" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1288, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6583, + "name": "APIStageInstance" + } + }, + { + "id": 5102, + "name": "GatewayStageInstanceUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1293, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4865, + "name": "GatewayDispatchEvents.StageInstanceUpdate" + }, + { + "type": "reference", + "id": 5103, + "name": "GatewayStageInstanceUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5103, + "name": "GatewayStageInstanceUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#stage-instance-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1301, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6583, + "name": "APIStageInstance" + } + }, + { + "id": 5113, + "name": "GatewayThreadCreateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-create" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1355, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4924, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 5134, + "name": "GatewayThreadDeleteDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-delete" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1380, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4924, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 5135, + "name": "GatewayThreadDeleteDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-delete" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1385, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4925, + "name": "GatewayChannelModifyDispatchData" + } + }, + { + "id": 5104, + "name": "GatewayThreadListSyncDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-list-sync" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1306, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4870, + "name": "GatewayDispatchEvents.ThreadListSync" + }, + { + "type": "reference", + "id": 5105, + "name": "GatewayThreadListSyncDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5105, + "name": "GatewayThreadListSyncDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-list-sync" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1314, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5894, + "name": "RawGatewayThreadListSync" + } + }, + { + "id": 5108, + "name": "GatewayThreadMemberUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-member-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1332, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4872, + "name": "GatewayDispatchEvents.ThreadMemberUpdate" + }, + { + "type": "reference", + "id": 5109, + "name": "GatewayThreadMemberUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5109, + "name": "GatewayThreadMemberUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-member-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1340, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 5632, + "name": "APIThreadMember" + }, + { + "type": "reflection", + "declaration": { + "id": 5110, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 5111, + "name": "guild_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1340, + "character": 72 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 5111 + ] + } + ], + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1340, + "character": 70 + } + ] + } + } + ] + } + }, + { + "id": 5106, + "name": "GatewayThreadMembersUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-members-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1319, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4871, + "name": "GatewayDispatchEvents.ThreadMembersUpdate" + }, + { + "type": "reference", + "id": 5107, + "name": "GatewayThreadMembersUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5107, + "name": "GatewayThreadMembersUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-members-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1327, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5899, + "name": "RawGatewayThreadMembersUpdate" + } + }, + { + "id": 5112, + "name": "GatewayThreadModifyDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-create\nhttps://discord.com/developers/docs/topics/gateway#thread-update\nhttps://discord.com/developers/docs/topics/gateway#thread-delete" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1347, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 4868, + "name": "GatewayDispatchEvents.ThreadCreate" + }, + { + "type": "reference", + "id": 4869, + "name": "GatewayDispatchEvents.ThreadDelete" + }, + { + "type": "reference", + "id": 4873, + "name": "GatewayDispatchEvents.ThreadUpdate" + } + ] + }, + { + "type": "reference", + "id": 4925, + "name": "GatewayChannelModifyDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5132, + "name": "GatewayThreadUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1370, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4924, + "name": "GatewayChannelModifyDispatch" + } + }, + { + "id": 5133, + "name": "GatewayThreadUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#thread-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1375, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 4925, + "name": "GatewayChannelModifyDispatchData" + } + }, + { + "id": 5136, + "name": "GatewayTypingStartDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#typing-start" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1390, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4874, + "name": "GatewayDispatchEvents.TypingStart" + }, + { + "type": "reference", + "id": 5137, + "name": "GatewayTypingStartDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5143, + "name": "GatewayUserUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#user-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1423, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4875, + "name": "GatewayDispatchEvents.UserUpdate" + }, + { + "type": "reference", + "id": 5144, + "name": "GatewayUserUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5144, + "name": "GatewayUserUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#user-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1428, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + }, + { + "id": 5147, + "name": "GatewayVoiceServerUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#voice-server-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1446, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4876, + "name": "GatewayDispatchEvents.VoiceServerUpdate" + }, + { + "type": "reference", + "id": 5148, + "name": "GatewayVoiceServerUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5145, + "name": "GatewayVoiceStateUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#voice-state-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1433, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4877, + "name": "GatewayDispatchEvents.VoiceStateUpdate" + }, + { + "type": "reference", + "id": 5146, + "name": "GatewayVoiceStateUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 5146, + "name": "GatewayVoiceStateUpdateDispatchData", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#voice-state-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1441, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6719, + "name": "GatewayVoiceState" + } + }, + { + "id": 5152, + "name": "GatewayWebhooksUpdateDispatch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#webhooks-update" + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 1476, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 4878, + "name": "GatewayDispatchEvents.WebhooksUpdate" + }, + { + "type": "reference", + "id": 5153, + "name": "GatewayWebhooksUpdateDispatchData" + } + ], + "name": "DataPayload" + } + }, + { + "id": 7667, + "name": "GetAPIVoiceRegionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/voice#list-voice-regions" + }, + "sources": [ + { + "fileName": "rest/v9/voice.ts", + "line": 6, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6733, + "name": "APIVoiceRegion" + } + } + }, + { + "id": 5413, + "name": "GuildChannelType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 54, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5412, + "name": "TextChannelType" + }, + { + "type": "reference", + "id": 5512, + "name": "ChannelType.GuildVoice" + }, + { + "type": "reference", + "id": 5519, + "name": "ChannelType.GuildStageVoice" + }, + { + "type": "reference", + "id": 5515, + "name": "ChannelType.GuildNews" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5511, + "name": "ChannelType.DM" + }, + { + "type": "reference", + "id": 5513, + "name": "ChannelType.GroupDM" + } + ] + } + ], + "qualifiedName": "Exclude", + "package": "typescript", + "name": "Exclude" + } + }, + { + "id": 5432, + "name": "GuildTextChannelType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 95, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5412, + "name": "TextChannelType" + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5511, + "name": "ChannelType.DM" + }, + { + "type": "reference", + "id": 5513, + "name": "ChannelType.GroupDM" + } + ] + } + ], + "qualifiedName": "Exclude", + "package": "typescript", + "name": "Exclude" + } + }, + { + "id": 6396, + "name": "PartialAPIMessageInteractionGuildMember", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/base.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "roles" + }, + { + "type": "literal", + "value": "premium_since" + }, + { + "type": "literal", + "value": "pending" + }, + { + "type": "literal", + "value": "nick" + }, + { + "type": "literal", + "value": "mute" + }, + { + "type": "literal", + "value": "joined_at" + }, + { + "type": "literal", + "value": "deaf" + }, + { + "type": "literal", + "value": "communication_disabled_until" + }, + { + "type": "literal", + "value": "avatar" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + }, + { + "id": 7134, + "name": "RESTDeleteAPIChannelAllMessageReactionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-all-reactions" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 328, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7128, + "name": "RESTDeleteAPIChannelMessageOwnReaction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-own-reaction" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 297, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7135, + "name": "RESTDeleteAPIChannelMessageReactionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-all-reactions-for-emoji" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 333, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7149, + "name": "RESTDeleteAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 407, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7129, + "name": "RESTDeleteAPIChannelMessageUserReactionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-user-reaction" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 302, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7169, + "name": "RESTDeleteAPIChannelPermissionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#delete-channel-permission" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 517, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7176, + "name": "RESTDeleteAPIChannelPinResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#unpin-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 552, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7182, + "name": "RESTDeleteAPIChannelRecipientResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#group-dm-remove-recipient" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 576, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 7098, + "name": "RESTDeleteAPIChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#deleteclose-channel" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 154, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + }, + { + "id": 7201, + "name": "RESTDeleteAPIChannelThreadMembersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#leave-thread" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 658, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7662, + "name": "RESTDeleteAPICurrentUserGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#leave-guild" + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 76, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7347, + "name": "RESTDeleteAPIGuildBanResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#remove-guild-ban" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 576, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7221, + "name": "RESTDeleteAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#delete-guild-emoji" + }, + "sources": [ + { + "fileName": "rest/v9/emoji.ts", + "line": 62, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7390, + "name": "RESTDeleteAPIGuildIntegrationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#delete-guild-integration" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 772, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7335, + "name": "RESTDeleteAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#remove-guild-member" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 520, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7334, + "name": "RESTDeleteAPIGuildMemberRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#remove-guild-member-role" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 515, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7288, + "name": "RESTDeleteAPIGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#delete-guild" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 295, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7374, + "name": "RESTDeleteAPIGuildRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#delete-guild-role" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 695, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7447, + "name": "RESTDeleteAPIGuildScheduledEventResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#delete-guild-scheduled-event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 116, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7625, + "name": "RESTDeleteAPIGuildStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#delete-guild-sticker" + }, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 79, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7641, + "name": "RESTDeleteAPIGuildTemplateResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#delete-guild-template" + }, + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 72, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6642, + "name": "APITemplate" + } + }, + { + "id": 7501, + "name": "RESTDeleteAPIInteractionFollowupResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#delete-followup-message" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 226, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7720, + "name": "RESTDeleteAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 7491, + "name": "RESTDeleteAPIInteractionOriginalResponseResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#delete-original-interaction-response" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 179, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7720, + "name": "RESTDeleteAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 7514, + "name": "RESTDeleteAPIInviteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/invite#delete-invite" + }, + "sources": [ + { + "fileName": "rest/v9/invite.ts", + "line": 27, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6508, + "name": "APIInvite" + } + }, + { + "id": 7607, + "name": "RESTDeleteAPIStageInstanceResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#delete-stage-instance" + }, + "sources": [ + { + "fileName": "rest/v9/stageInstance.ts", + "line": 61, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7685, + "name": "RESTDeleteAPIWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#delete-webhook" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 92, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7720, + "name": "RESTDeleteAPIWebhookWithTokenMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#delete-webhook-message" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 268, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7686, + "name": "RESTDeleteAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#delete-webhook-with-token" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 97, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7503, + "name": "RESTGetAPIApplicationCommandPermissionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-application-command-permissions" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 236, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6370, + "name": "APIGuildApplicationCommandPermissions" + } + }, + { + "id": 7455, + "name": "RESTGetAPIApplicationCommandResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-global-application-command" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 27, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6201, + "name": "APIApplicationCommand" + } + }, + { + "id": 7454, + "name": "RESTGetAPIApplicationCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-global-application-commands" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 22, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6201, + "name": "APIApplicationCommand" + } + } + }, + { + "id": 7476, + "name": "RESTGetAPIApplicationGuildCommandResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-guild-application-commands" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 99, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6201, + "name": "APIApplicationCommand" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 7475, + "name": "RESTGetAPIApplicationGuildCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-guild-application-commands" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 94, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6201, + "name": "APIApplicationCommand" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + } + }, + { + "id": 7071, + "name": "RESTGetAPIAuditLogResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/auditLog.ts", + "line": 28, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5254, + "name": "APIAuditLog" + } + }, + { + "id": 7158, + "name": "RESTGetAPIChannelInvitesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel-invites" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 458, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6524, + "name": "APIExtendedInvite" + } + } + }, + { + "id": 7133, + "name": "RESTGetAPIChannelMessageReactionUsersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-reactions" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 323, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + } + }, + { + "id": 7105, + "name": "RESTGetAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 188, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + }, + { + "id": 7104, + "name": "RESTGetAPIChannelMessagesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel-messages" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 183, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + } + }, + { + "id": 7174, + "name": "RESTGetAPIChannelPinsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-pinned-messages" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 542, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + } + }, + { + "id": 7077, + "name": "RESTGetAPIChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#get-channel" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 32, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + }, + { + "id": 7202, + "name": "RESTGetAPIChannelThreadMembersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#list-thread-members" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 663, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5632, + "name": "APIThreadMember" + } + } + }, + { + "id": 7206, + "name": "RESTGetAPIChannelThreadsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#list-active-threads", + "tags": [ + { + "tag": "deprecated", + "text": "Removed in API v10, use [List Active Guild Threads](https://discord.com/developers/docs/resources/guild#list-active-threads) instead.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 684, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5638, + "name": "APIThreadList" + } + }, + { + "id": 7207, + "name": "RESTGetAPIChannelUsersThreadsArchivedResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#list-joined-private-archived-threads" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 689, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5638, + "name": "APIThreadList" + } + }, + { + "id": 7673, + "name": "RESTGetAPIChannelWebhooksResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-channel-webhooks" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 37, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6739, + "name": "APIWebhook" + } + } + }, + { + "id": 7666, + "name": "RESTGetAPICurrentUserConnectionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-user-connections" + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 96, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6706, + "name": "APIConnection" + } + } + }, + { + "id": 7661, + "name": "RESTGetAPICurrentUserGuildsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-current-user-guilds" + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 71, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 7654, + "name": "RESTAPIPartialCurrentUserGuild" + } + } + }, + { + "id": 7642, + "name": "RESTGetAPICurrentUserResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-current-user" + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + }, + { + "id": 7223, + "name": "RESTGetAPIGatewayBotResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway-bot" + }, + "sources": [ + { + "fileName": "rest/v9/gateway.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5811, + "name": "APIGatewayBotInfo" + } + }, + { + "id": 7222, + "name": "RESTGetAPIGatewayResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/gateway#get-gateway" + }, + "sources": [ + { + "fileName": "rest/v9/gateway.ts", + "line": 6, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5809, + "name": "APIGatewayInfo" + } + }, + { + "id": 7502, + "name": "RESTGetAPIGuildApplicationCommandsPermissionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#get-guild-application-command-permissions" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 231, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6370, + "name": "APIGuildApplicationCommandPermissions" + } + } + }, + { + "id": 7341, + "name": "RESTGetAPIGuildBanResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-ban" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 550, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6080, + "name": "APIBan" + } + }, + { + "id": 7336, + "name": "RESTGetAPIGuildBansResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-bans" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 525, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6080, + "name": "APIBan" + } + } + }, + { + "id": 7289, + "name": "RESTGetAPIGuildChannelsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-channels" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 300, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + } + }, + { + "id": 7209, + "name": "RESTGetAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#get-guild-emoji" + }, + "sources": [ + { + "fileName": "rest/v9/emoji.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5800, + "name": "APIEmoji" + } + }, + { + "id": 7208, + "name": "RESTGetAPIGuildEmojisResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#list-guild-emojis" + }, + "sources": [ + { + "fileName": "rest/v9/emoji.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5800, + "name": "APIEmoji" + } + } + }, + { + "id": 7389, + "name": "RESTGetAPIGuildIntegrationsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-integrations" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 767, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6051, + "name": "APIGuildIntegration" + } + } + }, + { + "id": 7388, + "name": "RESTGetAPIGuildInvitesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-invites" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 762, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6524, + "name": "APIExtendedInvite" + } + } + }, + { + "id": 7300, + "name": "RESTGetAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-member" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 349, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + } + }, + { + "id": 7401, + "name": "RESTGetAPIGuildMemberVerificationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 820, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6118, + "name": "APIGuildMembershipScreening" + } + }, + { + "id": 7304, + "name": "RESTGetAPIGuildMembersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#list-guild-members" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 372, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + } + } + }, + { + "id": 7308, + "name": "RESTGetAPIGuildMembersSearchResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 390, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + } + } + }, + { + "id": 7264, + "name": "RESTGetAPIGuildPreviewResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-preview" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 181, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6025, + "name": "APIGuildPreview" + } + }, + { + "id": 7263, + "name": "RESTGetAPIGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 176, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5920, + "name": "APIGuild" + } + }, + { + "id": 7348, + "name": "RESTGetAPIGuildRolesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-roles" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 581, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6567, + "name": "APIRole" + } + } + }, + { + "id": 7440, + "name": "RESTGetAPIGuildScheduledEventResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 87, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6180, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 7453, + "name": "RESTGetAPIGuildScheduledEventUsersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event-users" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 145, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6194, + "name": "APIGuildScheduledEventUser" + } + } + }, + { + "id": 7425, + "name": "RESTGetAPIGuildScheduledEventsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#list-scheduled-events-for-guild" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 25, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6180, + "name": "APIGuildScheduledEvent" + } + } + }, + { + "id": 7612, + "name": "RESTGetAPIGuildStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#get-guild-sticker" + }, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 24, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6599, + "name": "APISticker" + } + }, + { + "id": 7611, + "name": "RESTGetAPIGuildStickersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#list-guild-stickers" + }, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 19, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6599, + "name": "APISticker" + } + } + }, + { + "id": 7632, + "name": "RESTGetAPIGuildTemplatesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#get-guild-templates" + }, + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 33, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6642, + "name": "APITemplate" + } + } + }, + { + "id": 7299, + "name": "RESTGetAPIGuildThreadsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#list-active-threads" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 344, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5638, + "name": "APIThreadList" + }, + { + "type": "literal", + "value": "has_more" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 7387, + "name": "RESTGetAPIGuildVoiceRegionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-voice-regions" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 757, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6733, + "name": "APIVoiceRegion" + } + } + }, + { + "id": 7674, + "name": "RESTGetAPIGuildWebhooksResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-guild-webhooks" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 42, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6739, + "name": "APIWebhook" + } + } + }, + { + "id": 7418, + "name": "RESTGetAPIGuildWelcomeScreenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-welcome-screen" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 879, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6110, + "name": "APIGuildWelcomeScreen" + } + }, + { + "id": 7400, + "name": "RESTGetAPIGuildWidgetImageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Note: while the return type is `ArrayBuffer`, the expected result is\na buffer of sorts (depends if in browser or on node.js/deno)." + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 818, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "ArrayBuffer", + "package": "typescript", + "name": "ArrayBuffer" + } + }, + { + "id": 7394, + "name": "RESTGetAPIGuildWidgetJSONResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 792, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6083, + "name": "APIGuildWidget" + } + }, + { + "id": 7391, + "name": "RESTGetAPIGuildWidgetSettingsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#get-guild-widget-settings" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 777, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6037, + "name": "APIGuildWidgetSettings" + } + }, + { + "id": 7497, + "name": "RESTGetAPIInteractionFollowupResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#get-followup-message" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 206, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7712, + "name": "RESTGetAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 7487, + "name": "RESTGetAPIInteractionOriginalResponseResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#get-original-interaction-response" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 159, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7712, + "name": "RESTGetAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 7513, + "name": "RESTGetAPIInviteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/invite.ts", + "line": 22, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6508, + "name": "APIInvite" + } + }, + { + "id": 7515, + "name": "RESTGetAPIOAuth2CurrentApplicationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#get-current-bot-application-information" + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5215, + "name": "APIApplication" + }, + { + "type": "literal", + "value": "flags" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 7601, + "name": "RESTGetAPIStageInstanceResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#get-stage-instance" + }, + "sources": [ + { + "fileName": "rest/v9/stageInstance.ts", + "line": 37, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6583, + "name": "APIStageInstance" + } + }, + { + "id": 7608, + "name": "RESTGetAPIStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#get-sticker" + }, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6599, + "name": "APISticker" + } + }, + { + "id": 7626, + "name": "RESTGetAPITemplateResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#get-guild-template" + }, + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6642, + "name": "APITemplate" + } + }, + { + "id": 7643, + "name": "RESTGetAPIUserResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-user" + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + }, + { + "id": 7675, + "name": "RESTGetAPIWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-webhook" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 47, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6739, + "name": "APIWebhook" + } + }, + { + "id": 7712, + "name": "RESTGetAPIWebhookWithTokenMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-webhook-message" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 230, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + }, + { + "id": 7676, + "name": "RESTGetAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#get-webhook-with-token" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 52, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6739, + "name": "APIWebhook" + }, + { + "type": "literal", + "value": "user" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 7644, + "name": "RESTGetCurrentUserGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#get-current-user-guild-member" + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 18, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + } + }, + { + "id": 7556, + "name": "RESTOAuth2ImplicitAuthorizationURLFragmentResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/oauth2#implicit-grant-redirect-url-example" + }, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 100, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7537, + "name": "RESTPostOAuth2AccessTokenResult" + }, + { + "type": "literal", + "value": "refresh_token" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 7471, + "name": "RESTPatchAPIApplicationCommandJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-global-application-command" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 74, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7469, + "name": "RESTPostAPIApplicationCommandsJSONBody" + } + ], + "name": "StrictPartial" + } + }, + { + "id": 7472, + "name": "RESTPatchAPIApplicationCommandResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-global-application-command" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 79, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6201, + "name": "APIApplicationCommand" + } + }, + { + "id": 7479, + "name": "RESTPatchAPIApplicationGuildCommandJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-guild-application-command" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 116, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7456, + "name": "RESTPostAPIChatInputApplicationCommandsJSONBody" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7460, + "name": "RESTPostAPIContextMenuApplicationCommandsJSONBody" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + } + ], + "name": "StrictPartial" + } + }, + { + "id": 7480, + "name": "RESTPatchAPIApplicationGuildCommandResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-guild-application-command" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 124, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6201, + "name": "APIApplicationCommand" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 7078, + "name": "RESTPatchAPIChannelJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#modify-channel" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 37, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7079, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7092, + "name": "archived", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the thread should be archived", + "text": "Channel types: newsThread, publicThread, privateThread\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 119, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7093, + "name": "auto_archive_duration", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The amount of time in minutes to wait before automatically archiving the thread", + "text": "Channel types: newsThread, publicThread, privateThread\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 125, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5627, + "name": "ThreadAutoArchiveDuration" + } + }, + { + "id": 7086, + "name": "bitrate", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The bitrate (in bits) of the voice channel; 8000 to 96000 (128000 for VIP servers)", + "text": "Channel types: voice\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 83, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7095, + "name": "default_auto_archive_duration", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default duration for newly created threads, in minutes, to automatically archive the thread after recent activity", + "text": "Channel types: text, news\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 137, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5627, + "name": "ThreadAutoArchiveDuration" + } + }, + { + "id": 7096, + "name": "invitable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether non-moderators can add other non-moderators to the thread", + "text": "Channel types: privateThread\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 143, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7094, + "name": "locked", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the thread should be locked", + "text": "Channel types: newsThread, publicThread, privateThread\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 131, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7080, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "1-100 character channel name", + "text": "Channel types: all\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 43, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7084, + "name": "nsfw", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the channel is nsfw", + "text": "Channel types: text, news\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 69, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7089, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of the new parent category for a channel", + "text": "Channel types: text, news, voice\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 101, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7088, + "name": "permission_overwrites", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Channel or category-specific permissions", + "text": "Channel types: all excluding newsThread, publicThread, privateThread\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 95, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 7072, + "name": "APIChannelPatchOverwrite" + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7082, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The position of the channel in the left-hand listing", + "text": "Channel types: all excluding newsThread, publicThread, privateThread\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7085, + "name": "rate_limit_per_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Amount of seconds a user has to wait before sending another message (0-21600);\nbots, as well as users with the permission `MANAGE_MESSAGES` or `MANAGE_CHANNELS`,\nare unaffected", + "text": "Channel types: text, newsThread, publicThread, privateThread\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 77, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7090, + "name": "rtc_region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id for the voice or stage channel, automatic when set to `null`", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 107, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7083, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "0-1024 character channel topic", + "text": "Channel types: text, news\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 63, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7081, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of channel; only conversion between `text` and `news`\nis supported and only in guilds with the \"NEWS\" feature", + "text": "Channel types: text, news\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5515, + "name": "ChannelType.GuildNews" + }, + { + "type": "reference", + "id": 5510, + "name": "ChannelType.GuildText" + } + ] + } + }, + { + "id": 7087, + "name": "user_limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user limit of the voice channel; 0 refers to no limit, 1 to 99 refers to a user limit", + "text": "Channel types: voice\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 89, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7091, + "name": "video_quality_mode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The camera video quality mode of the voice channel", + "text": "See https://discord.com/developers/docs/resources/channel#channel-object-video-quality-modes\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 113, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5522, + "name": "VideoQualityMode" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7092, + 7093, + 7086, + 7095, + 7096, + 7094, + 7080, + 7084, + 7089, + 7088, + 7082, + 7085, + 7090, + 7083, + 7081, + 7087, + 7091 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 37, + "character": 95 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7145, + "name": "RESTPatchAPIChannelMessageFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 390, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 7146, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7147, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 395, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7147 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 391, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 7136, + "name": "RESTPatchAPIChannelMessageJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 7136, + "name": "RESTPatchAPIChannelMessageJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 338, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7137, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7142, + "name": "allowed_mentions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Allowed mentions for the message", + "text": "See https://discord.com/developers/docs/resources/channel#allowed-mentions-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 370, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5713, + "name": "APIAllowedMentions" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7143, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Attached files to keep", + "text": "Starting with API v10, the `attachments` array must contain all attachments that should be present after edit, including **retained and new** attachments provided in the request body.\n\nSee https://discord.com/developers/docs/resources/channel#attachment-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 378, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5693, + "name": "APIAttachment" + }, + { + "type": "literal", + "value": "id" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5693, + "name": "APIAttachment" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "filename" + }, + { + "type": "literal", + "value": "description" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + } + }, + { + "id": 7144, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The components to include with the message", + "text": "See https://discord.com/developers/docs/interactions/message-components#component-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 384, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 5726, + "typeArguments": [ + { + "type": "reference", + "id": 5794, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7138, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The new message contents (up to 2000 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 342, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7140, + "name": "embed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Embedded `rich` content", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object", + "tags": [ + { + "tag": "deprecated", + "text": "Use `embeds` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 355, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5642, + "name": "APIEmbed" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7139, + "name": "embeds", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Embedded `rich` content (up to 6000 characters)", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 348, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 5642, + "name": "APIEmbed" + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7141, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Edit the flags of a message (only `SUPPRESS_EMBEDS` can currently be set/unset)", + "text": "When specifying flags, ensure to include all previously set flags/bits\nin addition to ones that you are modifying\n\nSee https://discord.com/developers/docs/resources/channel#message-object-message-flags\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 364, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5595, + "name": "MessageFlags" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7142, + 7143, + 7144, + 7138, + 7140, + 7139, + 7141 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 338, + "character": 102 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7148, + "name": "RESTPatchAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 402, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + }, + { + "id": 7097, + "name": "RESTPatchAPIChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#modify-channel" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 149, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + }, + { + "id": 7329, + "name": "RESTPatchAPICurrentGuildMemberJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-current-member" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 490, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7330, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7331, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value to set users nickname to", + "text": "Requires `CHANGE_NICKNAME` permission\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 496, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7331 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 490, + "character": 106 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7326, + "name": "RESTPatchAPICurrentGuildMemberNicknameJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-current-user-nick", + "tags": [ + { + "tag": "deprecated", + "text": "Use [Modify Current Member](https://discord.com/developers/docs/resources/guild#modify-current-member) instead.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 478, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7327, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7328, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value to set users nickname to", + "text": "Requires `CHANGE_NICKNAME` permission\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 484, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7328 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 478, + "character": 114 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7332, + "name": "RESTPatchAPICurrentGuildMemberNicknameResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-current-user-nick", + "tags": [ + { + "tag": "deprecated", + "text": "Use [Modify Current Member](https://discord.com/developers/docs/resources/guild#modify-current-member) instead.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 504, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7326, + "name": "RESTPatchAPICurrentGuildMemberNicknameJSONBody" + } + ], + "name": "StrictRequired" + } + }, + { + "id": 7645, + "name": "RESTPatchAPICurrentUserJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#modify-current-user" + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 23, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7646, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7648, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If passed, modifies the user's avatar" + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 31, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7647, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User's username, if changed may cause the user's discriminator to be randomized" + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 27, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7648, + 7647 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 23, + "character": 99 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7649, + "name": "RESTPatchAPICurrentUserResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#modify-current-user" + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 37, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6670, + "name": "APIUser" + } + }, + { + "id": 7292, + "name": "RESTPatchAPIGuildChannelPositionsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-channel-positions" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 315, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7293, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7294, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Channel id" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 320, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 7296, + "name": "lock_permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sync channel overwrites with the new parent, when moving to a new `parent_id`" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 328, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7297, + "name": "parent_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The new parent id of this channel" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 332, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7295, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Sorting position of the channel" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 324, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7294, + 7296, + 7297, + 7295 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 316, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + } + }, + { + "id": 7298, + "name": "RESTPatchAPIGuildChannelPositionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-channel-positions" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 339, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7216, + "name": "RESTPatchAPIGuildEmojiJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#modify-guild-emoji" + }, + "sources": [ + { + "fileName": "rest/v9/emoji.ts", + "line": 43, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7217, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7218, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the emoji" + }, + "sources": [ + { + "fileName": "rest/v9/emoji.ts", + "line": 47, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7219, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Roles for which this emoji will be whitelisted" + }, + "sources": [ + { + "fileName": "rest/v9/emoji.ts", + "line": 51, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7218, + 7219 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/emoji.ts", + "line": 43, + "character": 98 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7220, + "name": "RESTPatchAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#modify-guild-emoji" + }, + "sources": [ + { + "fileName": "rest/v9/emoji.ts", + "line": 57, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5800, + "name": "APIEmoji" + } + }, + { + "id": 7265, + "name": "RESTPatchAPIGuildJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 186, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7266, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7272, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID for afk channel" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 218, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7273, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "AFK timeout in seconds" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 222, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7278, + "name": "banner", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 16:9 png/jpeg image for the guild banner (when the server has the `BANNER` feature; can be animated gif when the server has the `ANIMATED_BANNER` feature)" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 246, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7270, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default message notification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 208, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5964, + "name": "GuildDefaultMessageNotifications" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7285, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description for the guild" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 280, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7277, + "name": "discovery_splash", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 png/jpeg image for the guild discovery splash (when the guild has `DISCOVERABLE` feature)" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 242, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7271, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit content filter level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 214, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5967, + "name": "GuildExplicitContentFilter" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7284, + "name": "features", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Enabled guild features", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-guild-features\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 276, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5999, + "name": "GuildFeature" + } + } + }, + { + "id": 7274, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when the guild has `ANIMATED_ICON` feature)", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 228, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7267, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New name for the guild (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 190, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7275, + "name": "owner_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "User id to transfer guild ownership to (must be owner)" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 232, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 7283, + "name": "preferred_locale", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The preferred locale of a Community guild used in server discovery and notices from Discord; defaults to \"en-US\"", + "tags": [ + { + "tag": "default", + "text": "\"en-US\" (if the value is set to `null`)\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 270, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7286, + "name": "premium_progress_bar_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the boosts progress bar should be enabled." + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 284, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7282, + "name": "public_updates_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where admins and moderators of Community guilds receive notices from Discord" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 264, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7268, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 196, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7281, + "name": "rules_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where Community guilds display rules and/or guidelines" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 260, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7276, + "name": "splash", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 16:9 png/jpeg image for the guild splash (when the guild has `INVITE_SPLASH` feature)", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 238, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7280, + "name": "system_channel_flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "System channel flags", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 256, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5994, + "name": "GuildSystemChannelFlags" + } + }, + { + "id": 7279, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where guild notices such as welcome messages and boost events are posted" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 250, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7269, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 202, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5979, + "name": "GuildVerificationLevel" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7272, + 7273, + 7278, + 7270, + 7285, + 7277, + 7271, + 7284, + 7274, + 7267, + 7275, + 7283, + 7286, + 7282, + 7268, + 7281, + 7276, + 7280, + 7279, + 7269 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 186, + "character": 93 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7317, + "name": "RESTPatchAPIGuildMemberJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-member" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 431, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7318, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7323, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID of channel to move user to (if they are connected to voice)", + "text": "Requires `MOVE_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 461, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7324, + "name": "communication_disabled_until", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Timestamp of when the time out will be removed; until then, they cannot interact with the guild" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 465, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7322, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is deafened in voice channels. Will throw a 400 if the user is not in a voice channel", + "text": "Requires `DEAFEN_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 455, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7321, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is muted in voice channels. Will throw a 400 if the user is not in a voice channel", + "text": "Requires `MUTE_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 449, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7319, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value to set users nickname to", + "text": "Requires `MANAGE_NICKNAMES` permission\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 437, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7320, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of role ids the member is assigned", + "text": "Requires `MANAGE_ROLES` permission\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 443, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7323, + 7324, + 7322, + 7321, + 7319, + 7320 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 431, + "character": 99 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7325, + "name": "RESTPatchAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#add-guild-member" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 471, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + } + }, + { + "id": 7402, + "name": "RESTPatchAPIGuildMemberVerificationJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 822, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7403, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7406, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The server description to show in the screening form" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 834, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7404, + "name": "enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether Membership Screening is enabled" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 826, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7405, + "name": "form_fields", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of field objects serialized in a string" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 830, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7406, + 7404, + 7405 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 822, + "character": 111 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7407, + "name": "RESTPatchAPIGuildMemberVerificationResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 837, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6118, + "name": "APIGuildMembershipScreening" + } + }, + { + "id": 7287, + "name": "RESTPatchAPIGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 290, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5920, + "name": "APIGuild" + } + }, + { + "id": 7364, + "name": "RESTPatchAPIGuildRoleJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-role" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 656, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7365, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7368, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "RGB color value" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 668, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7369, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be displayed separately in the sidebar" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 672, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7370, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's icon image (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 676, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7372, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be mentionable" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 684, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7366, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the role" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 660, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7367, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Bitwise value of the enabled/disabled permissions" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 664, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Permissions" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7371, + "name": "unicode_emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's unicode emoji as a standard emoji (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 680, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7368, + 7369, + 7370, + 7372, + 7366, + 7367, + 7371 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 656, + "character": 97 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7359, + "name": "RESTPatchAPIGuildRolePositionsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-role-positions" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 635, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7360, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7361, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Role id" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 640, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 7362, + "name": "position", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sorting position of the role" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 644, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7361, + 7362 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 636, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + } + }, + { + "id": 7363, + "name": "RESTPatchAPIGuildRolePositionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-role-positions" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 651, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6567, + "name": "APIRole" + } + } + }, + { + "id": 7373, + "name": "RESTPatchAPIGuildRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-role" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 690, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6567, + "name": "APIRole" + } + }, + { + "id": 7441, + "name": "RESTPatchAPIGuildScheduledEventJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#modify-guild-scheduled-event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 92, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7426, + "name": "RESTPostAPIGuildScheduledEventJSONBody" + } + ], + "name": "StrictPartial" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7442, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7445, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description of the guild event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 105, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7444, + "name": "entity_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The entity metadata of the scheduled event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 101, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6181, + "name": "APIGuildScheduledEventEntityMetadata" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7443, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The status of the scheduled event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 97, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 6187, + "name": "GuildScheduledEventStatus" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7445, + 7444, + 7443 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 93, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 7446, + "name": "RESTPatchAPIGuildScheduledEventResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#modify-guild-scheduled-event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 111, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6180, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 7619, + "name": "RESTPatchAPIGuildStickerJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#modify-guild-sticker" + }, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 56, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7620, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7622, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Description of the sticker (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 64, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7621, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the sticker (2-30 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 60, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7623, + "name": "tags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The Discord name of a unicode emoji representing the sticker's expression (2-200 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 68, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7622, + 7621, + 7623 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 56, + "character": 100 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7624, + "name": "RESTPatchAPIGuildStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#modify-guild-sticker" + }, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 74, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6599, + "name": "APISticker" + } + }, + { + "id": 7639, + "name": "RESTPatchAPIGuildTemplateJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#modify-guild-template" + }, + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 62, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7633, + "name": "RESTPostAPIGuildTemplatesJSONBody" + } + ], + "name": "StrictPartial" + } + }, + { + "id": 7640, + "name": "RESTPatchAPIGuildTemplateResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#modify-guild-template" + }, + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 67, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6642, + "name": "APITemplate" + } + }, + { + "id": 7408, + "name": "RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-current-user-voice-state" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 842, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7409, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7410, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel the user is currently in" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 846, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 7412, + "name": "request_to_speak_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Sets the user's request to speak" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 854, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7411, + "name": "suppress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Toggles the user's suppress state" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 850, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7410, + 7412, + 7411 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 842, + "character": 116 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7413, + "name": "RESTPatchAPIGuildVoiceStateCurrentMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-current-user-voice-state" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 860, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7414, + "name": "RESTPatchAPIGuildVoiceStateUserJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-user-voice-state" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 865, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7415, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7416, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The id of the channel the user is currently in" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 869, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 7417, + "name": "suppress", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Toggles the user's suppress state" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 873, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7416, + 7417 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 865, + "character": 107 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7419, + "name": "RESTPatchAPIGuildWelcomeScreenJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-welcome-screen" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 884, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6110, + "name": "APIGuildWelcomeScreen" + } + ], + "name": "StrictPartial" + } + ], + "name": "Nullable" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7420, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7421, + "name": "enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the welcome screen is enabled" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 889, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7421 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 885, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 7422, + "name": "RESTPatchAPIGuildWelcomeScreenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-welcome-screen" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 895, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6110, + "name": "APIGuildWelcomeScreen" + } + }, + { + "id": 7392, + "name": "RESTPatchAPIGuildWidgetSettingsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-widget" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 782, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6037, + "name": "APIGuildWidgetSettings" + } + ], + "name": "StrictPartial" + } + }, + { + "id": 7393, + "name": "RESTPatchAPIGuildWidgetSettingsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#modify-guild-widget" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 787, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6037, + "name": "APIGuildWidgetSettings" + } + }, + { + "id": 7499, + "name": "RESTPatchAPIInteractionFollowupFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-followup-message" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 216, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7716, + "name": "RESTPatchAPIWebhookWithTokenMessageFormDataBody" + } + }, + { + "id": 7498, + "name": "RESTPatchAPIInteractionFollowupJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-followup-message" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 211, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7713, + "name": "RESTPatchAPIWebhookWithTokenMessageJSONBody" + } + }, + { + "id": 7500, + "name": "RESTPatchAPIInteractionFollowupResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-followup-message" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 221, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7719, + "name": "RESTPatchAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 7489, + "name": "RESTPatchAPIInteractionOriginalResponseFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 169, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7716, + "name": "RESTPatchAPIWebhookWithTokenMessageFormDataBody" + } + }, + { + "id": 7488, + "name": "RESTPatchAPIInteractionOriginalResponseJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 164, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7713, + "name": "RESTPatchAPIWebhookWithTokenMessageJSONBody" + } + }, + { + "id": 7490, + "name": "RESTPatchAPIInteractionOriginalResponseResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 174, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7719, + "name": "RESTPatchAPIWebhookWithTokenMessageResult" + } + }, + { + "id": 7602, + "name": "RESTPatchAPIStageInstanceJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#modify-stage-instance" + }, + "sources": [ + { + "fileName": "rest/v9/stageInstance.ts", + "line": 42, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7603, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7605, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The privacy level of the stage instance" + }, + "sources": [ + { + "fileName": "rest/v9/stageInstance.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6591, + "name": "StageInstancePrivacyLevel" + } + }, + { + "id": 7604, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The topic of the stage instance (1-120 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/stageInstance.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7605, + 7604 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/stageInstance.ts", + "line": 42, + "character": 101 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7606, + "name": "RESTPatchAPIStageInstanceResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#modify-stage-instance" + }, + "sources": [ + { + "fileName": "rest/v9/stageInstance.ts", + "line": 56, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6583, + "name": "APIStageInstance" + } + }, + { + "id": 7677, + "name": "RESTPatchAPIWebhookJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#modify-webhook" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 57, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7678, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7680, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Image for the default webhook avatar", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 67, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7681, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The new channel id this webhook should be moved to" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 71, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 7679, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The default name of the webhook" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 61, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7680, + 7681, + 7679 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 57, + "character": 95 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7682, + "name": "RESTPatchAPIWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#modify-webhook" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 77, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6739, + "name": "APIWebhook" + } + }, + { + "id": 7683, + "name": "RESTPatchAPIWebhookWithTokenJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#modify-webhook-with-token" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 82, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7677, + "name": "RESTPatchAPIWebhookJSONBody" + }, + { + "type": "literal", + "value": "channel_id" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 7716, + "name": "RESTPatchAPIWebhookWithTokenMessageFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#edit-webhook-message" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 251, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 7717, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7718, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 256, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7718 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 252, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 7713, + "name": "RESTPatchAPIWebhookWithTokenMessageJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 7713, + "name": "RESTPatchAPIWebhookWithTokenMessageJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#edit-webhook-message" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 235, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7687, + "name": "RESTPostAPIWebhookWithTokenJSONBody" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "content" + }, + { + "type": "literal", + "value": "embeds" + }, + { + "type": "literal", + "value": "allowed_mentions" + }, + { + "type": "literal", + "value": "components" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "name": "Nullable" + }, + { + "type": "reflection", + "declaration": { + "id": 7714, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7715, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Attached files to keep", + "text": "Starting with API v10, the `attachments` array must contain all attachments that should be present after edit, including **retained and new** attachments provided in the request body.\n\nSee https://discord.com/developers/docs/resources/channel#attachment-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 244, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5693, + "name": "APIAttachment" + }, + { + "type": "literal", + "value": "id" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5693, + "name": "APIAttachment" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "filename" + }, + { + "type": "literal", + "value": "description" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7715 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 236, + "character": 113 + } + ] + } + } + ] + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7719, + "name": "RESTPatchAPIWebhookWithTokenMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#edit-webhook-message" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 263, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + }, + { + "id": 7684, + "name": "RESTPatchAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#modify-webhook-with-token" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 87, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7676, + "name": "RESTGetAPIWebhookWithTokenResult" + } + }, + { + "id": 7469, + "name": "RESTPostAPIApplicationCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-global-application-command" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 62, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 7456, + "name": "RESTPostAPIChatInputApplicationCommandsJSONBody" + }, + { + "type": "reference", + "id": 7460, + "name": "RESTPostAPIContextMenuApplicationCommandsJSONBody" + } + ] + } + }, + { + "id": 7470, + "name": "RESTPostAPIApplicationCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-global-application-command" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 69, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6201, + "name": "APIApplicationCommand" + } + }, + { + "id": 7477, + "name": "RESTPostAPIApplicationGuildCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-guild-application-command" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 104, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7456, + "name": "RESTPostAPIChatInputApplicationCommandsJSONBody" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7460, + "name": "RESTPostAPIContextMenuApplicationCommandsJSONBody" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + } + }, + { + "id": 7478, + "name": "RESTPostAPIApplicationGuildCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-guild-application-command" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 111, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6201, + "name": "APIApplicationCommand" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + }, + { + "id": 7172, + "name": "RESTPostAPIChannelFollowersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#follow-news-channel" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 532, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5605, + "name": "APIFollowedChannel" + } + }, + { + "id": 7159, + "name": "RESTPostAPIChannelInviteJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-channel-invite" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 463, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7160, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7161, + "name": "max_age", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Duration of invite in seconds before expiry, or 0 for never", + "tags": [ + { + "tag": "default", + "text": "86400 (24 hours)\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 469, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7162, + "name": "max_uses", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Max number of uses or 0 for unlimited", + "tags": [ + { + "tag": "default", + "text": "0\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 475, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7167, + "name": "target_application_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the embedded application to open for this invite\n- Required if `target_type` is 2\n- The application must have the `EMBEDDED` flag" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 506, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 7165, + "name": "target_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of target for this voice channel invite", + "text": "See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 494, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6521, + "name": "InviteTargetType" + } + }, + { + "id": 7166, + "name": "target_user_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the user whose stream to display for this invite\n- Required if `target_type` is 1\n- The user must be streaming in the channel" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 500, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 7163, + "name": "temporary", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether this invite only grants temporary membership", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 481, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7164, + "name": "unique", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If true, don't try to reuse a similar invite\n(useful for creating many unique one time use invites)", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 488, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7161, + 7162, + 7167, + 7165, + 7166, + 7163, + 7164 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 463, + "character": 100 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7168, + "name": "RESTPostAPIChannelInviteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-channel-invite" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 512, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6524, + "name": "APIExtendedInvite" + } + }, + { + "id": 7126, + "name": "RESTPostAPIChannelMessageCrosspostResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#crosspost-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 287, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + }, + { + "id": 7122, + "name": "RESTPostAPIChannelMessageFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 270, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 7123, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7124, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 275, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7124 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 271, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 7109, + "name": "RESTPostAPIChannelMessageJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 7109, + "name": "RESTPostAPIChannelMessageJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 207, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7110, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7116, + "name": "allowed_mentions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Allowed mentions for a message", + "text": "See https://discord.com/developers/docs/resources/channel#allowed-mentions-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 238, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5713, + "name": "APIAllowedMentions" + } + }, + { + "id": 7120, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Attachment objects with filename and description" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 260, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5693, + "name": "APIAttachment" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "description" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5693, + "name": "APIAttachment" + }, + { + "type": "literal", + "value": "filename" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + } + }, + { + "id": 7118, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The components to include with the message", + "text": "See https://discord.com/developers/docs/interactions/message-components#component-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 250, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5726, + "typeArguments": [ + { + "type": "reference", + "id": 5794, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + } + }, + { + "id": 7111, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The message contents (up to 2000 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 211, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7115, + "name": "embed", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Embedded `rich` content", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object", + "tags": [ + { + "tag": "deprecated", + "text": "Use `embeds` instead\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 232, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5642, + "name": "APIEmbed" + } + }, + { + "id": 7114, + "name": "embeds", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Embedded `rich` content (up to 6000 characters)", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 225, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5642, + "name": "APIEmbed" + } + } + }, + { + "id": 7121, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Message flags combined as a bitfield" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 264, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5595, + "name": "MessageFlags" + } + }, + { + "id": 7117, + "name": "message_reference", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Include to make your message a reply", + "text": "See https://discord.com/developers/docs/resources/channel#message-reference-object-message-reference-structure\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 244, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 7106, + "name": "APIMessageReferenceSend" + } + }, + { + "id": 7112, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A nonce that can be used for optimistic message sending" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 215, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7119, + "name": "sticker_ids", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "IDs of up to 3 stickers in the server to send in the message", + "text": "See https://discord.com/developers/docs/resources/sticker#sticker-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 256, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "tuple", + "elements": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ] + }, + { + "type": "tuple", + "elements": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ] + }, + { + "type": "tuple", + "elements": [ + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + ] + } + ] + } + }, + { + "id": 7113, + "name": "tts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if this is a TTS message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 219, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7116, + 7120, + 7118, + 7111, + 7115, + 7114, + 7121, + 7117, + 7112, + 7119, + 7113 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 207, + "character": 101 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7125, + "name": "RESTPostAPIChannelMessageResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 282, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + }, + { + "id": 7152, + "name": "RESTPostAPIChannelMessagesBulkDeleteResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#bulk-delete-messages" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 422, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7183, + "name": "RESTPostAPIChannelMessagesThreadsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#start-thread-from-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 581, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7184, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7186, + "name": "auto_archive_duration", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The amount of time in minutes to wait before automatically archiving the thread", + "text": "The 3 day and 7 day archive durations require the server to be boosted. The [guild features](https://discord.com/developers/docs/resources/guild#guild-object-guild-features) will indicate if a server is able to use those settings.\n" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 591, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5627, + "name": "ThreadAutoArchiveDuration" + } + }, + { + "id": 7185, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "1-100 character thread name" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 585, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7187, + "name": "rate_limit_per_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Amount of seconds a user has to wait before sending another message (0-21600)" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 595, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7186, + 7185, + 7187 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 581, + "character": 109 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7194, + "name": "RESTPostAPIChannelMessagesThreadsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#start-thread-from-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 621, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + }, + { + "id": 7195, + "name": "RESTPostAPIChannelThreadsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#start-thread-without-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 626, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 7183, + "name": "RESTPostAPIChannelMessagesThreadsJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7196, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7198, + "name": "invitable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether non-moderators can add other non-moderators to the thread; only available when creating a private thread" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 642, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7197, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The type of thread to create", + "text": "In API v9, `type` defaults to `PRIVATE_THREAD`.\nIn a future API version this will be changed to be a required field, with no default.\n\nSee https://discord.com/developers/docs/resources/channel#channel-object-channel-types\n", + "tags": [ + { + "tag": "default", + "text": "ChannelType.GuildPrivateThread\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 638, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5516, + "name": "ChannelType.GuildNewsThread" + }, + { + "type": "reference", + "id": 5517, + "name": "ChannelType.GuildPublicThread" + }, + { + "type": "reference", + "id": 5518, + "name": "ChannelType.GuildPrivateThread" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7198, + 7197 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 627, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 7199, + "name": "RESTPostAPIChannelThreadsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#start-thread-without-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 648, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + }, + { + "id": 7173, + "name": "RESTPostAPIChannelTypingResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#trigger-typing-indicator" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 537, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7668, + "name": "RESTPostAPIChannelWebhookJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#create-webhook" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7669, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7671, + "name": "avatar", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Image for the default webhook avatar", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 26, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7670, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the webhook (1-80 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 20, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7671, + 7670 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 16, + "character": 101 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7672, + "name": "RESTPostAPIChannelWebhookResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#create-webhook" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 32, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6739, + "name": "APIWebhook" + } + }, + { + "id": 7456, + "name": "RESTPostAPIChatInputApplicationCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#create-global-application-command" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 46, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "name": "RESTPostAPIBaseApplicationCommandsJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7457, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7459, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 49, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7458, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 48, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 6218, + "name": "ApplicationCommandType.ChatInput" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7459, + 7458 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 47, + "character": 54 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + ] + } + }, + { + "id": 7665, + "name": "RESTPostAPICurrentUserCreateDMChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/user#create-dm" + }, + "sources": [ + { + "fileName": "rest/v9/user.ts", + "line": 91, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + }, + { + "id": 7290, + "name": "RESTPostAPIGuildChannelJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-channel" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 305, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7230, + "name": "APIGuildCreatePartialChannel" + }, + { + "type": "literal", + "value": "id" + } + ], + "name": "DistributiveOmit" + } + }, + { + "id": 7291, + "name": "RESTPostAPIGuildChannelResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-channel" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 310, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5508, + "name": "APIChannel" + } + }, + { + "id": 7210, + "name": "RESTPostAPIGuildEmojiJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#create-guild-emoji-json-params" + }, + "sources": [ + { + "fileName": "rest/v9/emoji.ts", + "line": 18, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7211, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7213, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The 128x128 emoji image", + "text": "https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v9/emoji.ts", + "line": 28, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7212, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the emoji" + }, + "sources": [ + { + "fileName": "rest/v9/emoji.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7214, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Roles for which this emoji will be whitelisted" + }, + "sources": [ + { + "fileName": "rest/v9/emoji.ts", + "line": 32, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7213, + 7212, + 7214 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/emoji.ts", + "line": 18, + "character": 97 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7215, + "name": "RESTPostAPIGuildEmojiResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/emoji#create-guild-emoji" + }, + "sources": [ + { + "fileName": "rest/v9/emoji.ts", + "line": 38, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5800, + "name": "APIEmoji" + } + }, + { + "id": 7191, + "name": "RESTPostAPIGuildForumThreadsFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 611, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 7183, + "name": "RESTPostAPIChannelMessagesThreadsJSONBody" + }, + { + "type": "reflection", + "declaration": { + "id": 7192, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7193, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "First message in the forum thread" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 615, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7193 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 611, + "character": 99 + } + ] + } + } + ] + } + }, + { + "id": 7188, + "name": "RESTPostAPIGuildForumThreadsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 601, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 7183, + "name": "RESTPostAPIChannelMessagesThreadsJSONBody" + }, + { + "type": "reflection", + "declaration": { + "id": 7189, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7190, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "First message in the forum thread" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 605, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 7109, + "name": "RESTPostAPIChannelMessageJSONBody" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7190 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 601, + "character": 95 + } + ] + } + } + ] + } + }, + { + "id": 7380, + "name": "RESTPostAPIGuildPruneJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#begin-guild-prune" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 728, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7381, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7383, + "name": "compute_prune_count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether `pruned is returned, discouraged for large guilds", + "tags": [ + { + "tag": "default", + "text": "true\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 740, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7382, + "name": "days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of days to count prune for (1 or more)", + "tags": [ + { + "tag": "default", + "text": "7\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 734, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7384, + "name": "include_roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Role(s) to include" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 744, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7383, + 7382, + 7384 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 728, + "character": 97 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7349, + "name": "RESTPostAPIGuildRoleJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-role" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 586, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7350, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7353, + "name": "color", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "RGB color value", + "tags": [ + { + "tag": "default", + "text": "0\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 604, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7354, + "name": "hoist", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be displayed separately in the sidebar", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 610, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7355, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's icon image (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 614, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7357, + "name": "mentionable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the role should be mentionable", + "tags": [ + { + "tag": "default", + "text": "false\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 624, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7351, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Name of the role", + "tags": [ + { + "tag": "default", + "text": "\"new role\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 592, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7352, + "name": "permissions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Bitwise value of the enabled/disabled permissions", + "tags": [ + { + "tag": "default", + "text": "\"default role permissions in guild\"\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 598, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Permissions" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7356, + "name": "unicode_emoji", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The role's unicode emoji as a standard emoji (if the guild has the `ROLE_ICONS` feature)" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 618, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7353, + 7354, + 7355, + 7357, + 7351, + 7352, + 7356 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 586, + "character": 96 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + }, + "extendedBy": [ + { + "type": "reference", + "id": 7236, + "name": "APIGuildCreateRole" + } + ] + }, + { + "id": 7358, + "name": "RESTPostAPIGuildRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-role" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 630, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6567, + "name": "APIRole" + } + }, + { + "id": 7426, + "name": "RESTPostAPIGuildScheduledEventJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#create-guild-scheduled-event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 30, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7427, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7428, + "name": "channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The stage channel id of the guild event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 34, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + }, + { + "id": 7433, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The description of the guild event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 54, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7435, + "name": "entity_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The entity metadata of the scheduled event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 62, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6181, + "name": "APIGuildScheduledEventEntityMetadata" + } + }, + { + "id": 7434, + "name": "entity_type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The scheduled entity type of the guild event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 58, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6183, + "name": "GuildScheduledEventEntityType" + } + }, + { + "id": 7436, + "name": "image", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The cover image of the scheduled event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 66, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7429, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The name of the guild event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 38, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7430, + "name": "privacy_level", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The privacy level of the guild event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 6192, + "name": "GuildScheduledEventPrivacyLevel" + } + }, + { + "id": 7432, + "name": "scheduled_end_time", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The time when the scheduled event is scheduled to end" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 50, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7431, + "name": "scheduled_start_time", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The time to schedule the guild event at" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7428, + 7433, + 7435, + 7434, + 7436, + 7429, + 7430, + 7432, + 7431 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 30, + "character": 106 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7437, + "name": "RESTPostAPIGuildScheduledEventResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-scheduled-event#create-guild-scheduled-event" + }, + "sources": [ + { + "fileName": "rest/v9/guildScheduledEvent.ts", + "line": 72, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6180, + "name": "APIGuildScheduledEvent" + } + }, + { + "id": 7618, + "name": "RESTPostAPIGuildStickerResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/sticker#create-guild-sticker" + }, + "sources": [ + { + "fileName": "rest/v9/sticker.ts", + "line": 51, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6599, + "name": "APISticker" + } + }, + { + "id": 7633, + "name": "RESTPostAPIGuildTemplatesJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#create-guild-template" + }, + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 38, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7634, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7636, + "name": "description", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Description for the template (0-120 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 46, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7635, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the template (1-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 42, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7636, + 7635 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 38, + "character": 101 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7637, + "name": "RESTPostAPIGuildTemplatesResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#create-guild-template" + }, + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 52, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6642, + "name": "APITemplate" + } + }, + { + "id": 7245, + "name": "RESTPostAPIGuildsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 71, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7246, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7255, + "name": "afk_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "ID for afk channel" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 135, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7256, + "name": "afk_timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "AFK timeout in seconds" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 139, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7254, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New guild's channels", + "text": "**When using the channels parameter, the `position` field is ignored, and none of the default channels are created.**\n\n*When using the channels parameter, the `id` field within each channel object may be set to an integer placeholder,\nand will be replaced by the API upon consumption. Its purpose is to allow you to create `GUILD_CATEGORY` channels\nby setting the `parent_id` field on any children to the category's id field.\nCategory channels must be listed before any children.*\n\nSee https://discord.com/developers/docs/resources/channel#channel-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 131, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 7230, + "name": "APIGuildCreatePartialChannel" + } + } + }, + { + "id": 7251, + "name": "default_message_notifications", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Default message notification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 99, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5964, + "name": "GuildDefaultMessageNotifications" + } + }, + { + "id": 7252, + "name": "explicit_content_filter", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Explicit content filter level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 105, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5967, + "name": "GuildExplicitContentFilter" + } + }, + { + "id": 7249, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 1024x1024 png/jpeg image for the guild icon", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 87, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7247, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the guild (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 75, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7259, + "name": "premium_progress_bar_enabled", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the boosts progress bar should be enabled." + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 153, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7248, + "name": "region", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Voice region id", + "text": "See https://discord.com/developers/docs/resources/voice#voice-region-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 81, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7253, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "New guild roles", + "text": "**When using this parameter, the first member of the array is used to change properties of the guild's @everyone role.\nIf you are trying to bootstrap a guild with additional roles, keep this in mind.**\n\n*When using this parameter, the required `id` field within each role object is an integer placeholder,\nand will be replaced by the API upon consumption. Its purpose is to allow you to overwrite a role's permissions\nin a channel when also passing in channels with the channels array.*\n\nSee https://discord.com/developers/docs/topics/permissions#role-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 118, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 7236, + "name": "APIGuildCreateRole" + } + } + }, + { + "id": 7258, + "name": "system_channel_flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "System channel flags", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 149, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5994, + "name": "GuildSystemChannelFlags" + } + }, + { + "id": 7257, + "name": "system_channel_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The id of the channel where guild notices such as welcome messages and boost events are posted" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 143, + "character": 1 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reference", + "id": 2, + "name": "Snowflake" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7250, + "name": "verification_level", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification level", + "text": "See https://discord.com/developers/docs/resources/guild#guild-object-verification-level\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 93, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5979, + "name": "GuildVerificationLevel" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7255, + 7256, + 7254, + 7251, + 7252, + 7249, + 7247, + 7259, + 7248, + 7253, + 7258, + 7257, + 7250 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 71, + "character": 93 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7260, + "name": "RESTPostAPIGuildsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 159, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5920, + "name": "APIGuild" + } + }, + { + "id": 7484, + "name": "RESTPostAPIInteractionCallbackFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 147, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 7485, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7486, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 152, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7486 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 148, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 7483, + "name": "RESTPostAPIInteractionCallbackJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 7483, + "name": "RESTPostAPIInteractionCallbackJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 142, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6470, + "name": "APIInteractionResponse" + } + }, + { + "id": 7493, + "name": "RESTPostAPIInteractionFollowupFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-followup-message" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 189, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 7494, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7495, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 194, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7495 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 190, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 7492, + "name": "RESTPostAPIInteractionFollowupJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 7492, + "name": "RESTPostAPIInteractionFollowupJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-followup-message" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 184, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6498, + "name": "APIInteractionResponseCallbackData" + } + }, + { + "id": 7496, + "name": "RESTPostAPIInteractionFollowupResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/receiving-and-responding#create-followup-message" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 201, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7705, + "name": "RESTPostAPIWebhookWithTokenWaitResult" + } + }, + { + "id": 7600, + "name": "RESTPostAPIStageInstanceResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/stage-instance#create-stage-instance" + }, + "sources": [ + { + "fileName": "rest/v9/stageInstance.ts", + "line": 32, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6583, + "name": "APIStageInstance" + } + }, + { + "id": 7627, + "name": "RESTPostAPITemplateCreateGuildJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#create-guild-from-guild-template" + }, + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7628, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7630, + "name": "icon", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "base64 1024x1024 png/jpeg image for the guild icon", + "text": "See https://discord.com/developers/docs/reference#image-data\n" + }, + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 22, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7629, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Name of the guild (2-100 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 16, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7630, + 7629 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 12, + "character": 106 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7631, + "name": "RESTPostAPITemplateCreateGuildResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#create-guild-from-guild-template" + }, + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 28, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5920, + "name": "APIGuild" + } + }, + { + "id": 7698, + "name": "RESTPostAPIWebhookWithTokenFormDataBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 152, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 7699, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7700, + "name": "payload_json", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "JSON stringified message body" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 157, + "character": 3 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7700 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 153, + "character": 4 + } + ] + } + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 7687, + "name": "RESTPostAPIWebhookWithTokenJSONBody" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "template-literal", + "head": "files[", + "tail": [ + [ + { + "type": "intrinsic", + "name": "bigint" + }, + "]" + ] + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ] + } + ] + } + }, + { + "id": 7709, + "name": "RESTPostAPIWebhookWithTokenGitHubQuery", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook-querystring-params" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 212, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7701, + "name": "RESTPostAPIWebhookWithTokenQuery" + } + }, + { + "id": 7710, + "name": "RESTPostAPIWebhookWithTokenGitHubResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 217, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7711, + "name": "RESTPostAPIWebhookWithTokenGitHubWaitResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives\nthe `wait` query parameter set to `true`", + "text": "See https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook-querystring-params\n" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 225, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + }, + { + "id": 7687, + "name": "RESTPostAPIWebhookWithTokenJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 102, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7688, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7694, + "name": "allowed_mentions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Allowed mentions for the message", + "text": "See https://discord.com/developers/docs/resources/channel#allowed-mentions-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 130, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5713, + "name": "APIAllowedMentions" + } + }, + { + "id": 7696, + "name": "attachments", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Attachment objects with filename and description" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 142, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5693, + "name": "APIAttachment" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "description" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 5693, + "name": "APIAttachment" + }, + { + "type": "literal", + "value": "filename" + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + ] + } + } + }, + { + "id": 7691, + "name": "avatar_url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Override the default avatar of the webhook" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 114, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7695, + "name": "components", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The components to include with the message", + "text": "Requires an application-owned webhook\n\nSee https://discord.com/developers/docs/interactions/message-components#component-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 138, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5726, + "typeArguments": [ + { + "type": "reference", + "id": 5794, + "name": "APIMessageActionRowComponent" + } + ], + "name": "APIActionRowComponent" + } + } + }, + { + "id": 7689, + "name": "content", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The message contents (up to 2000 characters)" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 106, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7693, + "name": "embeds", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Embedded `rich` content", + "text": "See https://discord.com/developers/docs/resources/channel#embed-object\n" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 124, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 5642, + "name": "APIEmbed" + } + } + }, + { + "id": 7697, + "name": "flags", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Message flags combined as a bitfield" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 146, + "character": 1 + } + ], + "type": { + "type": "reference", + "id": 5595, + "name": "MessageFlags" + } + }, + { + "id": 7692, + "name": "tts", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "`true` if this is a TTS message" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 118, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7690, + "name": "username", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Override the default username of the webhook" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 110, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7694, + 7696, + 7691, + 7695, + 7689, + 7693, + 7697, + 7692, + 7690 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 102, + "character": 103 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7704, + "name": "RESTPostAPIWebhookWithTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-webhook" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 181, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7706, + "name": "RESTPostAPIWebhookWithTokenSlackQuery", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook-querystring-params" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 194, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7701, + "name": "RESTPostAPIWebhookWithTokenQuery" + } + }, + { + "id": 7707, + "name": "RESTPostAPIWebhookWithTokenSlackResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 199, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7708, + "name": "RESTPostAPIWebhookWithTokenSlackWaitResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives\nthe `wait` query parameter set to `true`", + "text": "See https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook-querystring-params\n" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 207, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + }, + { + "id": 7705, + "name": "RESTPostAPIWebhookWithTokenWaitResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives\nthe `wait` query parameter set to `true`", + "text": "See https://discord.com/developers/docs/resources/webhook#execute-webhook-querystring-params\n" + }, + "sources": [ + { + "fileName": "rest/v9/webhook.ts", + "line": 189, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 5525, + "name": "APIMessage" + } + }, + { + "id": 7594, + "name": "RESTPostOAuth2AccessTokenWithBotAndGuildsAndWebhookIncomingScopeResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 198, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 7580, + "name": "RESTPostOAuth2AccessTokenWithBotAndGuildsScopeResult" + }, + { + "type": "reference", + "id": 7587, + "name": "RESTPostOAuth2AccessTokenWithBotAndWebhookIncomingScopeResult" + } + ] + } + }, + { + "id": 7560, + "name": "RESTPostOAuth2ClientCredentialsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 110, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7556, + "name": "RESTOAuth2ImplicitAuthorizationURLFragmentResult" + } + }, + { + "id": 7548, + "name": "RESTPostOAuth2RefreshTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/oauth2.ts", + "line": 83, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 7537, + "name": "RESTPostOAuth2AccessTokenResult" + } + }, + { + "id": 7506, + "name": "RESTPutAPIApplicationCommandPermissionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#edit-application-command-permissions" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 248, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6370, + "name": "APIGuildApplicationCommandPermissions" + } + }, + { + "id": 7473, + "name": "RESTPutAPIApplicationCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-global-application-commands" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 84, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 7469, + "name": "RESTPostAPIApplicationCommandsJSONBody" + } + } + }, + { + "id": 7474, + "name": "RESTPutAPIApplicationCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-global-application-commands" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 89, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6201, + "name": "APIApplicationCommand" + } + } + }, + { + "id": 7481, + "name": "RESTPutAPIApplicationGuildCommandsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-guild-application-commands" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 129, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7456, + "name": "RESTPostAPIChatInputApplicationCommandsJSONBody" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 7460, + "name": "RESTPostAPIContextMenuApplicationCommandsJSONBody" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ] + } + } + }, + { + "id": 7482, + "name": "RESTPutAPIApplicationGuildCommandsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-guild-application-commands" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 137, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6201, + "name": "APIApplicationCommand" + }, + { + "type": "literal", + "value": "dm_permission" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + } + }, + { + "id": 7127, + "name": "RESTPutAPIChannelMessageReactionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#create-reaction" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 292, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7157, + "name": "RESTPutAPIChannelPermissionResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#edit-channel-permissions" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 453, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7175, + "name": "RESTPutAPIChannelPinResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#pin-message" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 547, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7177, + "name": "RESTPutAPIChannelRecipientJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#group-dm-add-recipient" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 557, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7178, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7179, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Access token of a user that has granted your app the `gdm.join` scope" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 561, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7180, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Nickname of the user being added" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 565, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7179, + 7180 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 557, + "character": 102 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7181, + "name": "RESTPutAPIChannelRecipientResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#group-dm-add-recipient" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 571, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 7200, + "name": "RESTPutAPIChannelThreadMembersResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/channel#join-thread" + }, + "sources": [ + { + "fileName": "rest/v9/channel.ts", + "line": 653, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7507, + "name": "RESTPutAPIGuildApplicationCommandsPermissionsJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#batch-edit-application-command-permissions" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 253, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 6370, + "name": "APIGuildApplicationCommandPermissions" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "id" + }, + { + "type": "literal", + "value": "permissions" + } + ] + } + ], + "qualifiedName": "Pick", + "package": "typescript", + "name": "Pick" + } + } + }, + { + "id": 7508, + "name": "RESTPutAPIGuildApplicationCommandsPermissionsResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#batch-edit-application-command-permissions" + }, + "sources": [ + { + "fileName": "rest/v9/interactions.ts", + "line": 261, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 6370, + "name": "APIGuildApplicationCommandPermissions" + } + } + }, + { + "id": 7342, + "name": "RESTPutAPIGuildBanJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-ban" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 555, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7343, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7344, + "name": "delete_message_days", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Number of days to delete messages for (0-7)" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 559, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7345, + "name": "reason", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Reason for the ban", + "tags": [ + { + "tag": "deprecated", + "text": "Removed in API v10, use the `X-Audit-Log-Reason` header instead.\n" + } + ] + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 565, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7344, + 7345 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 555, + "character": 94 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7346, + "name": "RESTPutAPIGuildBanResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#create-guild-ban" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 571, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7309, + "name": "RESTPutAPIGuildMemberJSONBody", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#add-guild-member" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 395, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 7310, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7311, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "An oauth2 access token granted with the `guilds.join` to the bot's application for the user you want to add to the guild" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 399, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7315, + "name": "deaf", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is deafened in voice channels", + "text": "Requires `DEAFEN_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 423, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7314, + "name": "mute", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Whether the user is muted in voice channels", + "text": "Requires `MUTE_MEMBERS` permission\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 417, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7312, + "name": "nick", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Value to set users nickname to", + "text": "Requires `MANAGE_NICKNAMES` permission\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 405, + "character": 1 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7313, + "name": "roles", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Array of role ids the member is assigned", + "text": "Requires `MANAGE_ROLES` permission\n" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 411, + "character": 1 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 2, + "name": "Snowflake" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7311, + 7315, + 7314, + 7312, + 7313 + ] + } + ], + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 395, + "character": 97 + } + ] + } + } + ], + "name": "AddUndefinedToPossiblyUndefinedPropertiesOfInterface" + } + }, + { + "id": 7316, + "name": "RESTPutAPIGuildMemberResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 426, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 6040, + "name": "APIGuildMember" + }, + { + "type": "intrinsic", + "name": "never" + } + ] + } + }, + { + "id": 7333, + "name": "RESTPutAPIGuildMemberRoleResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild#add-guild-member-role" + }, + "sources": [ + { + "fileName": "rest/v9/guild.ts", + "line": 510, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "never" + } + }, + { + "id": 7638, + "name": "RESTPutAPIGuildTemplateSyncResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/resources/guild-template#sync-guild-template" + }, + "sources": [ + { + "fileName": "rest/v9/template.ts", + "line": 57, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 6642, + "name": "APITemplate" + } + }, + { + "id": 5412, + "name": "TextChannelType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/channel.ts", + "line": 44, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 5511, + "name": "ChannelType.DM" + }, + { + "type": "reference", + "id": 5513, + "name": "ChannelType.GroupDM" + }, + { + "type": "reference", + "id": 5515, + "name": "ChannelType.GuildNews" + }, + { + "type": "reference", + "id": 5517, + "name": "ChannelType.GuildPublicThread" + }, + { + "type": "reference", + "id": 5518, + "name": "ChannelType.GuildPrivateThread" + }, + { + "type": "reference", + "id": 5516, + "name": "ChannelType.GuildNewsThread" + }, + { + "type": "reference", + "id": 5510, + "name": "ChannelType.GuildText" + }, + { + "type": "reference", + "id": 5521, + "name": "ChannelType.GuildForum" + } + ] + } + }, + { + "id": 6383, + "name": "APIApplicationCommandPermissionsConstant", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "comment": { + "shortText": "https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-application-command-permissions-constants" + }, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 55, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 6384, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 6389, + "name": "AllChannels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 57, + "character": 1 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 6390, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 6391, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 6392, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "bigint" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 6385, + "name": "Everyone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "payloads/v9/_interactions/_applicationCommands/permissions.ts", + "line": 56, + "character": 1 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 6386, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 6387, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 6388, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "bigint" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6389, + 6385 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 6756, + "name": "APIVersion", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 20, + "character": 13 + } + ], + "type": { + "type": "literal", + "value": "9" + }, + "defaultValue": "'9'" + }, + { + "id": 4782, + "name": "GatewayVersion", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "gateway/v9.ts", + "line": 36, + "character": 13 + } + ], + "type": { + "type": "literal", + "value": "9" + }, + "defaultValue": "'9'" + }, + { + "id": 7058, + "name": "OAuth2Routes", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 860, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 7059, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7060, + "name": "authorizationURL", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 861, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/api/v9/oauth2/authorize" + }, + "defaultValue": "..." + }, + { + "id": 7062, + "name": "tokenRevocationURL", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "See https://tools.ietf.org/html/rfc7009" + }, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 866, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/api/v9/oauth2/token/revoke" + }, + "defaultValue": "..." + }, + { + "id": 7061, + "name": "tokenURL", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 862, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/api/v9/oauth2/token" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7060, + 7062, + 7061 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 7050, + "name": "RouteBases", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 848, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 7051, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 7052, + "name": "api", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 849, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/api/v9" + }, + "defaultValue": "..." + }, + { + "id": 7053, + "name": "cdn", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 850, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://cdn.discordapp.com" + }, + "defaultValue": "'https://cdn.discordapp.com'" + }, + { + "id": 7056, + "name": "gift", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 853, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.gift" + }, + "defaultValue": "'https://discord.gift'" + }, + { + "id": 7054, + "name": "invite", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 851, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.gg" + }, + "defaultValue": "'https://discord.gg'" + }, + { + "id": 7057, + "name": "scheduledEvent", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 854, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.com/events" + }, + "defaultValue": "'https://discord.com/events'" + }, + { + "id": 7055, + "name": "template", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 852, + "character": 1 + } + ], + "type": { + "type": "literal", + "value": "https://discord.new" + }, + "defaultValue": "'https://discord.new'" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 7052, + 7053, + 7056, + 7054, + 7057, + 7055 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 6757, + "name": "Routes", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 22, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 6758, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 6986, + "name": "applicationCommand", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 690, + "character": 1 + } + ], + "signatures": [ + { + "id": 6987, + "name": "applicationCommand", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/commands/{command.id}`\n- PATCH `/applications/{application.id}/commands/{command.id}`\n- DELETE `/applications/{application.id}/commands/{command.id}`" + }, + "parameters": [ + { + "id": 6988, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6989, + "name": "commandId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 7014, + "name": "applicationCommandPermissions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 754, + "character": 1 + } + ], + "signatures": [ + { + "id": 7015, + "name": "applicationCommandPermissions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}/permissions`\n- PUT `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}/permissions`" + }, + "parameters": [ + { + "id": 7016, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7017, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7018, + "name": "commandId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/guilds/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/permissions" + ] + ] + } + } + ] + }, + { + "id": 6983, + "name": "applicationCommands", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 680, + "character": 1 + } + ], + "signatures": [ + { + "id": 6984, + "name": "applicationCommands", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/commands`\n- PUT `/applications/{application.id}/commands`\n- POST `/applications/{application.id}/commands`" + }, + "parameters": [ + { + "id": 6985, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands" + ] + ] + } + } + ] + }, + { + "id": 6994, + "name": "applicationGuildCommand", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 710, + "character": 1 + } + ], + "signatures": [ + { + "id": 6995, + "name": "applicationGuildCommand", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}`\n- PATCH `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}`\n- DELETE `/applications/{application.id}/guilds/{guild.id}/commands/{command.id}`" + }, + "parameters": [ + { + "id": 6996, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6997, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6998, + "name": "commandId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/guilds/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6990, + "name": "applicationGuildCommands", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 700, + "character": 1 + } + ], + "signatures": [ + { + "id": 6991, + "name": "applicationGuildCommands", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/guilds/{guild.id}/commands`\n- PUT `/applications/{application.id}/guilds/{guild.id}/commands`\n- POST `/applications/{application.id}/guilds/{guild.id}/commands`" + }, + "parameters": [ + { + "id": 6992, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6993, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/guilds/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands" + ] + ] + } + } + ] + }, + { + "id": 6762, + "name": "channel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 37, + "character": 1 + } + ], + "signatures": [ + { + "id": 6763, + "name": "channel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}`\n- PATCH `/channels/{channel.id}`\n- DELETE `/channels/{channel.id}`" + }, + "parameters": [ + { + "id": 6764, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6796, + "name": "channelBulkDelete", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 112, + "character": 1 + } + ], + "signatures": [ + { + "id": 6797, + "name": "channelBulkDelete", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/messages/bulk-delete`" + }, + "parameters": [ + { + "id": 6798, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/bulk-delete" + ] + ] + } + } + ] + }, + { + "id": 6806, + "name": "channelFollowers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 138, + "character": 1 + } + ], + "signatures": [ + { + "id": 6807, + "name": "channelFollowers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/followers`" + }, + "parameters": [ + { + "id": 6808, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/followers" + ] + ] + } + } + ] + }, + { + "id": 6803, + "name": "channelInvites", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 130, + "character": 1 + } + ], + "signatures": [ + { + "id": 6804, + "name": "channelInvites", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/invites`\n- POST `/channels/{channel.id}/invites`" + }, + "parameters": [ + { + "id": 6805, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/invites" + ] + ] + } + } + ] + }, + { + "id": 6925, + "name": "channelJoinedArchivedThreads", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 470, + "character": 1 + } + ], + "signatures": [ + { + "id": 6926, + "name": "channelJoinedArchivedThreads", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/users/@me/threads/archived/prviate`" + }, + "parameters": [ + { + "id": 6927, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/users/@me/threads/archived/private" + ] + ] + } + } + ] + }, + { + "id": 6768, + "name": "channelMessage", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 56, + "character": 1 + } + ], + "signatures": [ + { + "id": 6769, + "name": "channelMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/messages/{message.id}`\n- PATCH `/channels/{channel.id}/messages/{message.id}`\n- DELETE `/channels/{channel.id}/messages/{message.id}`" + }, + "parameters": [ + { + "id": 6770, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6771, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6792, + "name": "channelMessageAllReactions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 104, + "character": 1 + } + ], + "signatures": [ + { + "id": 6793, + "name": "channelMessageAllReactions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions`" + }, + "parameters": [ + { + "id": 6794, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6795, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/reactions" + ] + ] + } + } + ] + }, + { + "id": 6772, + "name": "channelMessageCrosspost", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 64, + "character": 1 + } + ], + "signatures": [ + { + "id": 6773, + "name": "channelMessageCrosspost", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/messages/{message.id}/crosspost`" + }, + "parameters": [ + { + "id": 6774, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6775, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/crosspost" + ] + ] + } + } + ] + }, + { + "id": 6776, + "name": "channelMessageOwnReaction", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 75, + "character": 1 + } + ], + "signatures": [ + { + "id": 6777, + "name": "channelMessageOwnReaction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me`\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me`", + "text": "**Note**: You need to URL encode the emoji yourself\n" + }, + "parameters": [ + { + "id": 6778, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6779, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6780, + "name": "emoji", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/reactions/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/@me" + ] + ] + } + } + ] + }, + { + "id": 6787, + "name": "channelMessageReaction", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 96, + "character": 1 + } + ], + "signatures": [ + { + "id": 6788, + "name": "channelMessageReaction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}`\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}`", + "text": "**Note**: You need to URL encode the emoji yourself\n" + }, + "parameters": [ + { + "id": 6789, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6790, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6791, + "name": "emoji", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/reactions/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6781, + "name": "channelMessageUserReaction", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 85, + "character": 1 + } + ], + "signatures": [ + { + "id": 6782, + "name": "channelMessageUserReaction", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/{user.id}`", + "text": "**Note**: You need to URL encode the emoji yourself\n" + }, + "parameters": [ + { + "id": 6783, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6784, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6785, + "name": "emoji", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6786, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/reactions/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6765, + "name": "channelMessages", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 46, + "character": 1 + } + ], + "signatures": [ + { + "id": 6766, + "name": "channelMessages", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/messages`\n- POST `/channels/{channel.id}/messages`" + }, + "parameters": [ + { + "id": 6767, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages" + ] + ] + } + } + ] + }, + { + "id": 6799, + "name": "channelPermission", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 121, + "character": 1 + } + ], + "signatures": [ + { + "id": 6800, + "name": "channelPermission", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/permissions/{overwrite.id}`\n- DELETE `/channels/{channel.id}/permissions/{overwrite.id}`" + }, + "parameters": [ + { + "id": 6801, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6802, + "name": "overwriteId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/permissions/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6815, + "name": "channelPin", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 163, + "character": 1 + } + ], + "signatures": [ + { + "id": 6816, + "name": "channelPin", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/pins/{message.id}`\n- DELETE `/channels/{channel.id}/pins/{message.id}`" + }, + "parameters": [ + { + "id": 6817, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6818, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/pins/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6812, + "name": "channelPins", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 154, + "character": 1 + } + ], + "signatures": [ + { + "id": 6813, + "name": "channelPins", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/pins`" + }, + "parameters": [ + { + "id": 6814, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/pins" + ] + ] + } + } + ] + }, + { + "id": 6819, + "name": "channelRecipient", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 172, + "character": 1 + } + ], + "signatures": [ + { + "id": 6820, + "name": "channelRecipient", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/channels/{channel.id}/recipients/{user.id}`\n- DELETE `/channels/{channel.id}/recipients/{user.id}`" + }, + "parameters": [ + { + "id": 6821, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6822, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/recipients/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6921, + "name": "channelThreads", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 455, + "character": 1 + } + ], + "signatures": [ + { + "id": 6922, + "name": "channelThreads", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/threads/active`\n\t (deprecated, removed in API v10, use [List Active Guild Threads](https://discord.com/developers/docs/resources/guild#list-active-threads) instead.)\n- GET `/channels/{channel.id}/threads/archived/public`\n- GET `/channels/{channel.id}/threads/archived/private`" + }, + "parameters": [ + { + "id": 6923, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6924, + "name": "archived", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "public" + }, + { + "type": "literal", + "value": "private" + } + ] + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/threads/active" + ] + ] + }, + { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/threads/archived/public" + ] + ] + }, + { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/threads/archived/private" + ] + ] + } + ] + } + } + ] + }, + { + "id": 6809, + "name": "channelTyping", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 146, + "character": 1 + } + ], + "signatures": [ + { + "id": 6810, + "name": "channelTyping", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/typing`" + }, + "parameters": [ + { + "id": 6811, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/typing" + ] + ] + } + } + ] + }, + { + "id": 6949, + "name": "channelWebhooks", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 558, + "character": 1 + } + ], + "signatures": [ + { + "id": 6950, + "name": "channelWebhooks", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{channel.id}/webhooks`\n- POST `/channels/{channel.id}/webhooks`" + }, + "parameters": [ + { + "id": 6951, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/webhooks" + ] + ] + } + } + ] + }, + { + "id": 6969, + "name": "gateway", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 622, + "character": 1 + } + ], + "signatures": [ + { + "id": 6970, + "name": "gateway", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/gateway`" + }, + "type": { + "type": "literal", + "value": "/gateway" + } + } + ] + }, + { + "id": 6971, + "name": "gatewayBot", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 630, + "character": 1 + } + ], + "signatures": [ + { + "id": 6972, + "name": "gatewayBot", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/gateway/bot`" + }, + "type": { + "type": "literal", + "value": "/gateway/bot" + } + } + ] + }, + { + "id": 6832, + "name": "guild", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 209, + "character": 1 + } + ], + "signatures": [ + { + "id": 6833, + "name": "guild", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}`\n- PATCH `/guilds/{guild.id}`\n- DELETE `/guilds/{guild.id}`" + }, + "parameters": [ + { + "id": 6834, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6918, + "name": "guildActiveThreads", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 444, + "character": 1 + } + ], + "signatures": [ + { + "id": 6919, + "name": "guildActiveThreads", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/threads/active`" + }, + "parameters": [ + { + "id": 6920, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/threads/active" + ] + ] + } + } + ] + }, + { + "id": 7010, + "name": "guildApplicationCommandsPermissions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 745, + "character": 1 + } + ], + "signatures": [ + { + "id": 7011, + "name": "guildApplicationCommandsPermissions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/applications/{application.id}/guilds/{guild.id}/commands/permissions`\n- PUT `/applications/{application.id}/guilds/{guild.id}/commands/permissions`" + }, + "parameters": [ + { + "id": 7012, + "name": "applicationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7013, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/applications/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/guilds/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/commands/permissions" + ] + ] + } + } + ] + }, + { + "id": 6759, + "name": "guildAuditLog", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 27, + "character": 1 + } + ], + "signatures": [ + { + "id": 6760, + "name": "guildAuditLog", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/audit-logs`" + }, + "parameters": [ + { + "id": 6761, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/audit-logs" + ] + ] + } + } + ] + }, + { + "id": 6862, + "name": "guildBan", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 291, + "character": 1 + } + ], + "signatures": [ + { + "id": 6863, + "name": "guildBan", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/bans/{user.id}`\n- PUT `/guilds/{guild.id}/bans/{user.id}`\n- DELETE `/guilds/{guild.id}/bans/{user.id}`" + }, + "parameters": [ + { + "id": 6864, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6865, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/bans/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6859, + "name": "guildBans", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 281, + "character": 1 + } + ], + "signatures": [ + { + "id": 6860, + "name": "guildBans", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/bans`" + }, + "parameters": [ + { + "id": 6861, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/bans" + ] + ] + } + } + ] + }, + { + "id": 6838, + "name": "guildChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 227, + "character": 1 + } + ], + "signatures": [ + { + "id": 6839, + "name": "guildChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/channels`\n- POST `/guilds/{guild.id}/channels`\n- PATCH `/guilds/{guild.id}/channels`" + }, + "parameters": [ + { + "id": 6840, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/channels" + ] + ] + } + } + ] + }, + { + "id": 6851, + "name": "guildCurrentMemberNickname", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 264, + "character": 1 + } + ], + "signatures": [ + { + "id": 6852, + "name": "guildCurrentMemberNickname", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PATCH `/guilds/{guild.id}/members/@me/nick`", + "tags": [ + { + "tag": "deprecated", + "text": "Use {@link Routes.guildMember} instead.\n" + } + ] + }, + "parameters": [ + { + "id": 6853, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members/@me/nick" + ] + ] + } + } + ] + }, + { + "id": 6826, + "name": "guildEmoji", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 191, + "character": 1 + } + ], + "signatures": [ + { + "id": 6827, + "name": "guildEmoji", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/emojis/{emoji.id}`\n- PATCH `/guilds/{guild.id}/emojis/{emoji.id}`\n- DELETE `/guilds/{guild.id}/emojis/{emoji.id}`" + }, + "parameters": [ + { + "id": 6828, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6829, + "name": "emojiId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/emojis/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6823, + "name": "guildEmojis", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 181, + "character": 1 + } + ], + "signatures": [ + { + "id": 6824, + "name": "guildEmojis", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/emojis`\n- POST `/guilds/{guild.id}/emojis`" + }, + "parameters": [ + { + "id": 6825, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/emojis" + ] + ] + } + } + ] + }, + { + "id": 6885, + "name": "guildIntegration", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 351, + "character": 1 + } + ], + "signatures": [ + { + "id": 6886, + "name": "guildIntegration", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/guilds/{guild.id}/integrations/{integration.id}`" + }, + "parameters": [ + { + "id": 6887, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6888, + "name": "integrationId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/integrations/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6882, + "name": "guildIntegrations", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 343, + "character": 1 + } + ], + "signatures": [ + { + "id": 6883, + "name": "guildIntegrations", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/integrations`" + }, + "parameters": [ + { + "id": 6884, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/integrations" + ] + ] + } + } + ] + }, + { + "id": 6879, + "name": "guildInvites", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 335, + "character": 1 + } + ], + "signatures": [ + { + "id": 6880, + "name": "guildInvites", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/invites`" + }, + "parameters": [ + { + "id": 6881, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/invites" + ] + ] + } + } + ] + }, + { + "id": 6841, + "name": "guildMember", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 239, + "character": 1 + } + ], + "signatures": [ + { + "id": 6842, + "name": "guildMember", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/members/{user.id}`\n- PUT `/guilds/{guild.id}/members/{user.id}`\n- PATCH `/guilds/{guild.id}/members/@me`\n- PATCH `/guilds/{guild.id}/members/{user.id}`\n- DELETE `/guilds/{guild.id}/members/{user.id}`" + }, + "parameters": [ + { + "id": 6843, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6844, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'@me'" + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6854, + "name": "guildMemberRole", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 273, + "character": 1 + } + ], + "signatures": [ + { + "id": 6855, + "name": "guildMemberRole", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/guilds/{guild.id}/members/{user.id}/roles/{role.id}`\n- DELETE `/guilds/{guild.id}/members/{user.id}/roles/{role.id}`" + }, + "parameters": [ + { + "id": 6856, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6857, + "name": "memberId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6858, + "name": "roleId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/roles/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 7003, + "name": "guildMemberVerification", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 727, + "character": 1 + } + ], + "signatures": [ + { + "id": 7004, + "name": "guildMemberVerification", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/member-verification`\n- PATCH `/guilds/{guild.id}/member-verification`" + }, + "parameters": [ + { + "id": 7005, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/member-verification" + ] + ] + } + } + ] + }, + { + "id": 6845, + "name": "guildMembers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 247, + "character": 1 + } + ], + "signatures": [ + { + "id": 6846, + "name": "guildMembers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/members`" + }, + "parameters": [ + { + "id": 6847, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members" + ] + ] + } + } + ] + }, + { + "id": 6848, + "name": "guildMembersSearch", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 255, + "character": 1 + } + ], + "signatures": [ + { + "id": 6849, + "name": "guildMembersSearch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/members/search`" + }, + "parameters": [ + { + "id": 6850, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/members/search" + ] + ] + } + } + ] + }, + { + "id": 6835, + "name": "guildPreview", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 217, + "character": 1 + } + ], + "signatures": [ + { + "id": 6836, + "name": "guildPreview", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/preview`" + }, + "parameters": [ + { + "id": 6837, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/preview" + ] + ] + } + } + ] + }, + { + "id": 6873, + "name": "guildPrune", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 319, + "character": 1 + } + ], + "signatures": [ + { + "id": 6874, + "name": "guildPrune", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/prune`\n- POST `/guilds/{guild.id}/prune`" + }, + "parameters": [ + { + "id": 6875, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/prune" + ] + ] + } + } + ] + }, + { + "id": 6869, + "name": "guildRole", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 310, + "character": 1 + } + ], + "signatures": [ + { + "id": 6870, + "name": "guildRole", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PATCH `/guilds/{guild.id}/roles/{role.id}`\n- DELETE `/guilds/{guild.id}/roles/{role.id}`" + }, + "parameters": [ + { + "id": 6871, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6872, + "name": "roleId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/roles/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6866, + "name": "guildRoles", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 301, + "character": 1 + } + ], + "signatures": [ + { + "id": 6867, + "name": "guildRoles", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/roles`\n- POST `/guilds/{guild.id}/roles`\n- PATCH `/guilds/{guild.id}/roles`" + }, + "parameters": [ + { + "id": 6868, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/roles" + ] + ] + } + } + ] + }, + { + "id": 7042, + "name": "guildScheduledEvent", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 835, + "character": 1 + } + ], + "signatures": [ + { + "id": 7043, + "name": "guildScheduledEvent", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}`\n- PATCH `/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}`\n- DELETE `/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}`" + }, + "parameters": [ + { + "id": 7044, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7045, + "name": "guildScheduledEventId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/scheduled-events/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 7046, + "name": "guildScheduledEventUsers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 843, + "character": 1 + } + ], + "signatures": [ + { + "id": 7047, + "name": "guildScheduledEventUsers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}/users`" + }, + "parameters": [ + { + "id": 7048, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7049, + "name": "guildScheduledEventId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/scheduled-events/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/users" + ] + ] + } + } + ] + }, + { + "id": 7039, + "name": "guildScheduledEvents", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 825, + "character": 1 + } + ], + "signatures": [ + { + "id": 7040, + "name": "guildScheduledEvents", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/scheduled-events`\n- POST `/guilds/{guild.id}/scheduled-events`" + }, + "parameters": [ + { + "id": 7041, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/scheduled-events" + ] + ] + } + } + ] + }, + { + "id": 7035, + "name": "guildSticker", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 816, + "character": 1 + } + ], + "signatures": [ + { + "id": 7036, + "name": "guildSticker", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/stickers/{sticker.id}`\n- PATCH `/guilds/{guild.id}/stickers/{sticker.id}`\n- DELETE `/guilds/{guild.id}/stickers/{sticker.id}`" + }, + "parameters": [ + { + "id": 7037, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7038, + "name": "stickerId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/stickers/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 7032, + "name": "guildStickers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 806, + "character": 1 + } + ], + "signatures": [ + { + "id": 7033, + "name": "guildStickers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/stickers`\n- POST `/guilds/{guild.id}/stickers`" + }, + "parameters": [ + { + "id": 7034, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/stickers" + ] + ] + } + } + ] + }, + { + "id": 6910, + "name": "guildTemplate", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 421, + "character": 1 + } + ], + "signatures": [ + { + "id": 6911, + "name": "guildTemplate", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PUT `/guilds/{guild.id}/templates/{template.code}`\n- PATCH `/guilds/{guild.id}/templates/{template.code}`\n- DELETE `/guilds/{guild.id}/templates/{template.code}`" + }, + "parameters": [ + { + "id": 6912, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6913, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/templates/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6907, + "name": "guildTemplates", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 411, + "character": 1 + } + ], + "signatures": [ + { + "id": 6908, + "name": "guildTemplates", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/templates`\n- POST `/guilds/{guild.id}/templates`" + }, + "parameters": [ + { + "id": 6909, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/templates" + ] + ] + } + } + ] + }, + { + "id": 6895, + "name": "guildVanityUrl", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 376, + "character": 1 + } + ], + "signatures": [ + { + "id": 6896, + "name": "guildVanityUrl", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/vanity-url`" + }, + "parameters": [ + { + "id": 6897, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/vanity-url" + ] + ] + } + } + ] + }, + { + "id": 6876, + "name": "guildVoiceRegions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 327, + "character": 1 + } + ], + "signatures": [ + { + "id": 6877, + "name": "guildVoiceRegions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/regions`" + }, + "parameters": [ + { + "id": 6878, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/regions" + ] + ] + } + } + ] + }, + { + "id": 7006, + "name": "guildVoiceState", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 736, + "character": 1 + } + ], + "signatures": [ + { + "id": 7007, + "name": "guildVoiceState", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- PATCH `/guilds/{guild.id}/voice-states/@me`\n- PATCH `/guilds/{guild.id}/voice-states/{user.id}`" + }, + "parameters": [ + { + "id": 7008, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7009, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'@me'" + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/voice-states/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6952, + "name": "guildWebhooks", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 566, + "character": 1 + } + ], + "signatures": [ + { + "id": 6953, + "name": "guildWebhooks", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/webhooks`" + }, + "parameters": [ + { + "id": 6954, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/webhooks" + ] + ] + } + } + ] + }, + { + "id": 7019, + "name": "guildWelcomeScreen", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 763, + "character": 1 + } + ], + "signatures": [ + { + "id": 7020, + "name": "guildWelcomeScreen", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/welcome-screen`\n- PATCH `/guilds/{guild.id}/welcome-screen`" + }, + "parameters": [ + { + "id": 7021, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/welcome-screen" + ] + ] + } + } + ] + }, + { + "id": 6898, + "name": "guildWidgetImage", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 384, + "character": 1 + } + ], + "signatures": [ + { + "id": 6899, + "name": "guildWidgetImage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/widget.png`" + }, + "parameters": [ + { + "id": 6900, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/widget.png" + ] + ] + } + } + ] + }, + { + "id": 6892, + "name": "guildWidgetJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 368, + "character": 1 + } + ], + "signatures": [ + { + "id": 6893, + "name": "guildWidgetJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/widget.json`" + }, + "parameters": [ + { + "id": 6894, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/widget.json" + ] + ] + } + } + ] + }, + { + "id": 6889, + "name": "guildWidgetSettings", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 360, + "character": 1 + } + ], + "signatures": [ + { + "id": 6890, + "name": "guildWidgetSettings", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/{guild.id}/widget`\n- PATCH `/guilds/{guild.id}/widget`" + }, + "parameters": [ + { + "id": 6891, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/widget" + ] + ] + } + } + ] + }, + { + "id": 6830, + "name": "guilds", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 199, + "character": 1 + } + ], + "signatures": [ + { + "id": 6831, + "name": "guilds", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/guilds`" + }, + "type": { + "type": "literal", + "value": "/guilds" + } + } + ] + }, + { + "id": 6999, + "name": "interactionCallback", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 718, + "character": 1 + } + ], + "signatures": [ + { + "id": 7000, + "name": "interactionCallback", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/interactions/{interaction.id}/{interaction.token}/callback`" + }, + "parameters": [ + { + "id": 7001, + "name": "interactionId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7002, + "name": "interactionToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/interactions/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/callback" + ] + ] + } + } + ] + }, + { + "id": 6901, + "name": "invite", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 393, + "character": 1 + } + ], + "signatures": [ + { + "id": 6902, + "name": "invite", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/invites/{invite.code}`\n- DELETE `/invites/{invite.code}`" + }, + "parameters": [ + { + "id": 6903, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/invites/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 7030, + "name": "nitroStickerPacks", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 797, + "character": 1 + } + ], + "signatures": [ + { + "id": 7031, + "name": "nitroStickerPacks", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/sticker-packs`" + }, + "type": { + "type": "literal", + "value": "/sticker-packs" + } + } + ] + }, + { + "id": 6977, + "name": "oauth2Authorization", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 654, + "character": 1 + } + ], + "signatures": [ + { + "id": 6978, + "name": "oauth2Authorization", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/oauth2/authorize`" + }, + "type": { + "type": "literal", + "value": "/oauth2/authorize" + } + } + ] + }, + { + "id": 6973, + "name": "oauth2CurrentApplication", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 638, + "character": 1 + } + ], + "signatures": [ + { + "id": 6974, + "name": "oauth2CurrentApplication", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/oauth2/applications/@me`" + }, + "type": { + "type": "literal", + "value": "/oauth2/applications/@me" + } + } + ] + }, + { + "id": 6975, + "name": "oauth2CurrentAuthorization", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 646, + "character": 1 + } + ], + "signatures": [ + { + "id": 6976, + "name": "oauth2CurrentAuthorization", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/oauth2/@me`" + }, + "type": { + "type": "literal", + "value": "/oauth2/@me" + } + } + ] + }, + { + "id": 6979, + "name": "oauth2TokenExchange", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 662, + "character": 1 + } + ], + "signatures": [ + { + "id": 6980, + "name": "oauth2TokenExchange", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/oauth2/token`" + }, + "type": { + "type": "literal", + "value": "/oauth2/token" + } + } + ] + }, + { + "id": 6981, + "name": "oauth2TokenRevocation", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 670, + "character": 1 + } + ], + "signatures": [ + { + "id": 6982, + "name": "oauth2TokenRevocation", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/oauth2/token/revoke`" + }, + "type": { + "type": "literal", + "value": "/oauth2/token/revoke" + } + } + ] + }, + { + "id": 7024, + "name": "stageInstance", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 781, + "character": 1 + } + ], + "signatures": [ + { + "id": 7025, + "name": "stageInstance", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/stage-instances/{channel.id}`\n- PATCH `/stage-instances/{channel.id}`\n- DELETE `/stage-instances/{channel.id}`" + }, + "parameters": [ + { + "id": 7026, + "name": "channelId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/stage-instances/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 7022, + "name": "stageInstances", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 771, + "character": 1 + } + ], + "signatures": [ + { + "id": 7023, + "name": "stageInstances", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/stage-instances`" + }, + "type": { + "type": "literal", + "value": "/stage-instances" + } + } + ] + }, + { + "id": 7027, + "name": "sticker", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 789, + "character": 1 + } + ], + "signatures": [ + { + "id": 7028, + "name": "sticker", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/stickers/{sticker.id}`" + }, + "parameters": [ + { + "id": 7029, + "name": "stickerId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/stickers/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6904, + "name": "template", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 402, + "character": 1 + } + ], + "signatures": [ + { + "id": 6905, + "name": "template", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/guilds/templates/{template.code}`\n- POST `/guilds/templates/{template.code}`" + }, + "parameters": [ + { + "id": 6906, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/guilds/templates/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6928, + "name": "threadMembers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 483, + "character": 1 + } + ], + "signatures": [ + { + "id": 6929, + "name": "threadMembers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/channels/{thread.id}/thread-members`\n- GET `/channels/{thread.id}/thread-members/{user.id}`\n- PUT `/channels/{thread.id}/thread-members/@me`\n- PUT `/channels/{thread.id}/thread-members/{user.id}`\n- DELETE `/channels/{thread.id}/thread-members/@me`\n- DELETE `/channels/{thread.id}/thread-members/{user.id}`" + }, + "parameters": [ + { + "id": 6930, + "name": "threadId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6931, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/thread-members" + ] + ] + }, + { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/thread-members/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + ] + } + } + ] + }, + { + "id": 6914, + "name": "threads", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 430, + "character": 1 + } + ], + "signatures": [ + { + "id": 6915, + "name": "threads", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/channels/{channel.id}/threads`\n- POST `/channels/{channel.id}/messages/{message.id}/threads`" + }, + "parameters": [ + { + "id": 6916, + "name": "parentId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6917, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/threads" + ] + ] + }, + { + "type": "template-literal", + "head": "/channels/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/threads" + ] + ] + } + ] + } + } + ] + }, + { + "id": 6932, + "name": "user", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 501, + "character": 1 + } + ], + "signatures": [ + { + "id": 6933, + "name": "user", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me`\n- GET `/users/{user.id}`\n- PATCH `/users/@me`" + }, + "parameters": [ + { + "id": 6934, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'@me'" + } + ], + "type": { + "type": "template-literal", + "head": "/users/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6943, + "name": "userChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 533, + "character": 1 + } + ], + "signatures": [ + { + "id": 6944, + "name": "userChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/users/@me/channels`" + }, + "type": { + "type": "literal", + "value": "/users/@me/channels" + } + } + ] + }, + { + "id": 6945, + "name": "userConnections", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 541, + "character": 1 + } + ], + "signatures": [ + { + "id": 6946, + "name": "userConnections", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me/connections`" + }, + "type": { + "type": "literal", + "value": "/users/@me/connections" + } + } + ] + }, + { + "id": 6940, + "name": "userGuild", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 525, + "character": 1 + } + ], + "signatures": [ + { + "id": 6941, + "name": "userGuild", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- DELETE `/users/@me/guilds/{guild.id}`" + }, + "parameters": [ + { + "id": 6942, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/users/@me/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6937, + "name": "userGuildMember", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 517, + "character": 1 + } + ], + "signatures": [ + { + "id": 6938, + "name": "userGuildMember", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me/guilds/{guild.id}/member`" + }, + "parameters": [ + { + "id": 6939, + "name": "guildId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "template-literal", + "head": "/users/@me/guilds/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/member" + ] + ] + } + } + ] + }, + { + "id": 6935, + "name": "userGuilds", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 509, + "character": 1 + } + ], + "signatures": [ + { + "id": 6936, + "name": "userGuilds", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/users/@me/guilds`" + }, + "type": { + "type": "literal", + "value": "/users/@me/guilds" + } + } + ] + }, + { + "id": 6947, + "name": "voiceRegions", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 549, + "character": 1 + } + ], + "signatures": [ + { + "id": 6948, + "name": "voiceRegions", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/voice/regions`" + }, + "type": { + "type": "literal", + "value": "/voice/regions" + } + } + ] + }, + { + "id": 6955, + "name": "webhook", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 582, + "character": 1 + } + ], + "signatures": [ + { + "id": 6956, + "name": "webhook", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/webhooks/{webhook.id}`\n- GET `/webhooks/{webhook.id}/{webhook.token}`\n- PATCH `/webhooks/{webhook.id}`\n- PATCH `/webhooks/{webhook.id}/{webhook.token}`\n- DELETE `/webhooks/{webhook.id}`\n- DELETE `/webhooks/{webhook.id}/{webhook.token}`\n- POST `/webhooks/{webhook.id}/{webhook.token}`", + "text": "- POST `/webhooks/{application.id}/{interaction.token}`\n" + }, + "parameters": [ + { + "id": 6957, + "name": "webhookId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6958, + "name": "webhookToken", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + }, + { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + ] + } + } + ] + }, + { + "id": 6959, + "name": "webhookMessage", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 605, + "character": 1 + } + ], + "signatures": [ + { + "id": 6960, + "name": "webhookMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- GET `/webhooks/{webhook.id}/{webhook.token}/messages/@original`\n- GET `/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}`\n- PATCH `/webhooks/{webhook.id}/{webhook.token}/messages/@original`\n- PATCH `/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}`\n- DELETE `/webhooks/{webhook.id}/{webhook.token}/messages/@original`\n- DELETE `/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}`", + "text": "- PATCH `/webhooks/{application.id}/{interaction.token}/messages/@original`\n- PATCH `/webhooks/{application.id}/{interaction.token}/messages/{message.id}`\n- DELETE `/webhooks/{application.id}/{interaction.token}/messages/{message.id}`\n" + }, + "parameters": [ + { + "id": 6961, + "name": "webhookId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6962, + "name": "webhookToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6963, + "name": "messageId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'@original'" + } + ], + "type": { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/messages/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "" + ] + ] + } + } + ] + }, + { + "id": 6964, + "name": "webhookPlatform", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "rest/v9/index.ts", + "line": 614, + "character": 1 + } + ], + "signatures": [ + { + "id": 6965, + "name": "webhookPlatform", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Route for:\n- POST `/webhooks/{webhook.id}/{webhook.token}/github`\n- POST `/webhooks/{webhook.id}/{webhook.token}/slack`" + }, + "parameters": [ + { + "id": 6966, + "name": "webhookId", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6967, + "name": "webhookToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6968, + "name": "platform", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "github" + }, + { + "type": "literal", + "value": "slack" + } + ] + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/github" + ] + ] + }, + { + "type": "template-literal", + "head": "/webhooks/", + "tail": [ + [ + { + "type": "intrinsic", + "name": "string" + }, + "/" + ], + [ + { + "type": "intrinsic", + "name": "string" + }, + "/slack" + ] + ] + } + ] + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "kind": 2048, + "children": [ + 6986, + 7014, + 6983, + 6994, + 6990, + 6762, + 6796, + 6806, + 6803, + 6925, + 6768, + 6792, + 6772, + 6776, + 6787, + 6781, + 6765, + 6799, + 6815, + 6812, + 6819, + 6921, + 6809, + 6949, + 6969, + 6971, + 6832, + 6918, + 7010, + 6759, + 6862, + 6859, + 6838, + 6851, + 6826, + 6823, + 6885, + 6882, + 6879, + 6841, + 6854, + 7003, + 6845, + 6848, + 6835, + 6873, + 6869, + 6866, + 7042, + 7046, + 7039, + 7035, + 7032, + 6910, + 6907, + 6895, + 6876, + 7006, + 6952, + 7019, + 6898, + 6892, + 6889, + 6830, + 6999, + 6901, + 7030, + 6977, + 6973, + 6975, + 6979, + 6981, + 7024, + 7022, + 7027, + 6904, + 6928, + 6914, + 6932, + 6943, + 6945, + 6940, + 6937, + 6935, + 6947, + 6955, + 6959, + 6964 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "References", + "kind": 16777216, + "children": [ + 5212, + 5209, + 7064, + 7065, + 5214, + 5213, + 7063, + 7722, + 7721, + 5210, + 4781 + ] + }, + { + "title": "Enumerations", + "kind": 8, + "children": [ + 5881, + 5856, + 5865, + 5709, + 6292, + 6379, + 6217, + 5240, + 5270, + 5328, + 5756, + 5789, + 5509, + 5721, + 6716, + 5656, + 4795, + 4827, + 4810, + 4783, + 5964, + 5967, + 5999, + 5990, + 5971, + 5974, + 5985, + 6183, + 6192, + 6187, + 5994, + 5979, + 6104, + 6068, + 6490, + 6464, + 6521, + 6127, + 5590, + 5595, + 5559, + 6542, + 5617, + 5826, + 6591, + 6615, + 6612, + 6639, + 5762, + 5627, + 5637, + 6686, + 6702, + 5522, + 6752 + ] + }, + { + "title": "Interfaces", + "kind": 256, + "children": [ + 5726, + 5713, + 5215, + 6201, + 6473, + 6267, + 6277, + 6285, + 6310, + 6335, + 6323, + 6304, + 6375, + 6327, + 6315, + 5237, + 5693, + 5254, + 5262, + 5319, + 6080, + 5718, + 6415, + 5730, + 5741, + 5748, + 5406, + 5704, + 7072, + 6247, + 6254, + 6501, + 6706, + 5642, + 5680, + 5689, + 5685, + 5672, + 5677, + 5663, + 5668, + 5800, + 6524, + 6163, + 5605, + 5811, + 5809, + 5815, + 5480, + 5920, + 6370, + 5421, + 7224, + 7236, + 6051, + 6074, + 6040, + 6118, + 6122, + 6025, + 6181, + 6194, + 5433, + 6110, + 6113, + 6083, + 6090, + 6094, + 6037, + 6071, + 6222, + 6229, + 6403, + 6479, + 6482, + 6485, + 6471, + 6487, + 6508, + 6594, + 5525, + 5583, + 6351, + 6358, + 6439, + 5737, + 6397, + 5586, + 6444, + 6476, + 6503, + 6457, + 5612, + 5402, + 5796, + 5908, + 5608, + 6567, + 6579, + 5765, + 5773, + 6583, + 6129, + 6599, + 6620, + 6628, + 6634, + 6642, + 6654, + 5414, + 5448, + 5779, + 5490, + 5638, + 5632, + 5620, + 5905, + 6670, + 6341, + 6348, + 5465, + 6146, + 6733, + 6739, + 5836, + 5891, + 5876, + 5872, + 4933, + 4957, + 4965, + 4973, + 4976, + 4989, + 4997, + 5014, + 5006, + 5024, + 5029, + 4969, + 5156, + 4899, + 4894, + 4887, + 4892, + 5160, + 5163, + 5171, + 5042, + 4904, + 5049, + 5063, + 5080, + 5075, + 5091, + 5832, + 5820, + 5203, + 4916, + 4910, + 5182, + 5185, + 5175, + 5178, + 5114, + 5894, + 5899, + 5137, + 5200, + 5148, + 6719, + 5192, + 5195, + 5153, + 6454, + 6450, + 7654, + 7066, + 7130, + 7099, + 7203, + 7650, + 7337, + 7301, + 7305, + 7375, + 7378, + 7261, + 7438, + 7448, + 7423, + 7395, + 7398, + 7509, + 7516, + 7609, + 7567, + 7575, + 7521, + 7528, + 7561, + 7549, + 7170, + 7150, + 7460, + 7663, + 7385, + 7613, + 7595, + 7701, + 7537, + 7531, + 7580, + 7587, + 7557, + 7543, + 7504, + 7153 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 5793, + 6263, + 6394, + 6395, + 6393, + 6243, + 6265, + 6241, + 6242, + 6276, + 6240, + 6221, + 6264, + 6246, + 6266, + 6275, + 6283, + 6245, + 6291, + 6340, + 6238, + 6282, + 6284, + 6244, + 6290, + 6309, + 6339, + 5331, + 5351, + 5352, + 5342, + 5343, + 5369, + 5362, + 5394, + 5391, + 5396, + 5392, + 5381, + 5338, + 5359, + 5372, + 5371, + 5365, + 5401, + 5378, + 5397, + 5349, + 5370, + 5333, + 5337, + 5384, + 5398, + 5385, + 5386, + 5348, + 5390, + 5393, + 5367, + 5334, + 5382, + 5335, + 5373, + 5400, + 5395, + 5346, + 5376, + 5374, + 5368, + 5379, + 5361, + 5332, + 5380, + 5339, + 5360, + 5364, + 5357, + 5341, + 5388, + 5353, + 5345, + 5363, + 5340, + 5344, + 5366, + 5336, + 5399, + 5356, + 5389, + 5377, + 5358, + 5383, + 5387, + 5375, + 5350, + 5347, + 5355, + 5354, + 5755, + 5508, + 6261, + 6262, + 6260, + 6368, + 6369, + 6367, + 6360, + 5479, + 6199, + 6431, + 5464, + 7229, + 7230, + 5507, + 6067, + 6200, + 6433, + 6180, + 6198, + 6470, + 6498, + 6507, + 5794, + 6365, + 6366, + 6364, + 6443, + 5791, + 6436, + 6448, + 6449, + 6435, + 6438, + 6437, + 7106, + 5795, + 5792, + 6461, + 6462, + 6460, + 5463, + 6463, + 6619, + 6362, + 6363, + 6361, + 5879, + 5875, + 5880, + 5208, + 4926, + 4927, + 4930, + 4931, + 4924, + 4925, + 4932, + 4928, + 4929, + 4886, + 4960, + 4961, + 4956, + 4962, + 4963, + 4939, + 4940, + 4954, + 4955, + 4964, + 4972, + 4975, + 4988, + 4992, + 4993, + 4996, + 4937, + 4938, + 5009, + 5010, + 5013, + 5005, + 5011, + 5012, + 5017, + 5018, + 5021, + 5022, + 5019, + 5020, + 5023, + 5028, + 4968, + 4952, + 4953, + 5159, + 5033, + 5034, + 5041, + 5037, + 5038, + 5046, + 5047, + 4909, + 5048, + 5062, + 5067, + 5068, + 5079, + 5074, + 5084, + 5085, + 5088, + 5089, + 5086, + 5087, + 5090, + 5069, + 5070, + 5096, + 5097, + 4915, + 4885, + 4923, + 4884, + 5098, + 5099, + 5100, + 5101, + 5102, + 5103, + 5113, + 5134, + 5135, + 5104, + 5105, + 5108, + 5109, + 5106, + 5107, + 5112, + 5132, + 5133, + 5136, + 5143, + 5144, + 5147, + 5145, + 5146, + 5152, + 7667, + 5413, + 5432, + 6396, + 7134, + 7128, + 7135, + 7149, + 7129, + 7169, + 7176, + 7182, + 7098, + 7201, + 7662, + 7347, + 7221, + 7390, + 7335, + 7334, + 7288, + 7374, + 7447, + 7625, + 7641, + 7501, + 7491, + 7514, + 7607, + 7685, + 7720, + 7686, + 7503, + 7455, + 7454, + 7476, + 7475, + 7071, + 7158, + 7133, + 7105, + 7104, + 7174, + 7077, + 7202, + 7206, + 7207, + 7673, + 7666, + 7661, + 7642, + 7223, + 7222, + 7502, + 7341, + 7336, + 7289, + 7209, + 7208, + 7389, + 7388, + 7300, + 7401, + 7304, + 7308, + 7264, + 7263, + 7348, + 7440, + 7453, + 7425, + 7612, + 7611, + 7632, + 7299, + 7387, + 7674, + 7418, + 7400, + 7394, + 7391, + 7497, + 7487, + 7513, + 7515, + 7601, + 7608, + 7626, + 7643, + 7675, + 7712, + 7676, + 7644, + 7556, + 7471, + 7472, + 7479, + 7480, + 7078, + 7145, + 7136, + 7148, + 7097, + 7329, + 7326, + 7332, + 7645, + 7649, + 7292, + 7298, + 7216, + 7220, + 7265, + 7317, + 7325, + 7402, + 7407, + 7287, + 7364, + 7359, + 7363, + 7373, + 7441, + 7446, + 7619, + 7624, + 7639, + 7640, + 7408, + 7413, + 7414, + 7419, + 7422, + 7392, + 7393, + 7499, + 7498, + 7500, + 7489, + 7488, + 7490, + 7602, + 7606, + 7677, + 7682, + 7683, + 7716, + 7713, + 7719, + 7684, + 7469, + 7470, + 7477, + 7478, + 7172, + 7159, + 7168, + 7126, + 7122, + 7109, + 7125, + 7152, + 7183, + 7194, + 7195, + 7199, + 7173, + 7668, + 7672, + 7456, + 7665, + 7290, + 7291, + 7210, + 7215, + 7191, + 7188, + 7380, + 7349, + 7358, + 7426, + 7437, + 7618, + 7633, + 7637, + 7245, + 7260, + 7484, + 7483, + 7493, + 7492, + 7496, + 7600, + 7627, + 7631, + 7698, + 7709, + 7710, + 7711, + 7687, + 7704, + 7706, + 7707, + 7708, + 7705, + 7594, + 7560, + 7548, + 7506, + 7473, + 7474, + 7481, + 7482, + 7127, + 7157, + 7175, + 7177, + 7181, + 7200, + 7507, + 7508, + 7342, + 7346, + 7309, + 7316, + 7333, + 7638, + 5412 + ] + }, + { + "title": "Variables", + "kind": 32, + "children": [ + 6383, + 6756, + 4782, + 7058, + 7050, + 6757 + ] + } + ], + "sources": [ + { + "fileName": "v9.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 291, + "name": "voice/v4", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 306, + "name": "VoiceCloseCodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#voice-voice-close-event-codes" + }, + "children": [ + { + "id": 311, + "name": "AlreadyAuthenticated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent more than one identify payload. Stahp" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 80, + "character": 1 + } + ], + "defaultValue": "4005" + }, + { + "id": 310, + "name": "AuthenticationFailed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The token you sent in your identify payload is incorrect" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 76, + "character": 1 + } + ], + "defaultValue": "4004" + }, + { + "id": 316, + "name": "Disconnected", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Either the channel was deleted, you were kicked, or the main gateway session was dropped. Should not reconnect" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 100, + "character": 1 + } + ], + "defaultValue": "4014" + }, + { + "id": 308, + "name": "FailedToDecode", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent a invalid payload in your identifying to the Gateway" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 68, + "character": 1 + } + ], + "defaultValue": "4002" + }, + { + "id": 309, + "name": "NotAuthenticated", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent a payload before identifying with the Gateway" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 72, + "character": 1 + } + ], + "defaultValue": "4003" + }, + { + "id": 314, + "name": "ServerNotFound", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "We can't find the server you're trying to connect to" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 92, + "character": 1 + } + ], + "defaultValue": "4011" + }, + { + "id": 312, + "name": "SessionNoLongerValid", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Your session is no longer valid" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 84, + "character": 1 + } + ], + "defaultValue": "4006" + }, + { + "id": 313, + "name": "SessionTimeout", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Your session has timed out" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 88, + "character": 1 + } + ], + "defaultValue": "4009" + }, + { + "id": 318, + "name": "UnknownEncryptionMode", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "We didn't recognize your encryption" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 108, + "character": 1 + } + ], + "defaultValue": "4016" + }, + { + "id": 307, + "name": "UnknownOpcode", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "You sent an invalid opcode" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 64, + "character": 1 + } + ], + "defaultValue": "4001" + }, + { + "id": 315, + "name": "UnknownProtocol", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "We didn't recognize the protocol you sent" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 96, + "character": 1 + } + ], + "defaultValue": "4012" + }, + { + "id": 317, + "name": "VoiceServerCrashed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "The server crashed. Our bad! Try resuming" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 104, + "character": 1 + } + ], + "defaultValue": "4015" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 311, + 310, + 316, + 308, + 309, + 314, + 312, + 313, + 318, + 307, + 315, + 317 + ] + } + ], + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 60, + "character": 12 + } + ] + }, + { + "id": 293, + "name": "VoiceOpcodes", + "kind": 8, + "kindString": "Enumeration", + "flags": {}, + "comment": { + "shortText": "https://discord.com/developers/docs/topics/opcodes-and-status-codes#voice-voice-opcodes" + }, + "children": [ + { + "id": 304, + "name": "ClientConnect", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A client has connected to the voice channel" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 50, + "character": 1 + } + ], + "defaultValue": "12" + }, + { + "id": 305, + "name": "ClientDisconnect", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "A client has disconnected from the voice channel" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 54, + "character": 1 + } + ], + "defaultValue": "13" + }, + { + "id": 297, + "name": "Heartbeat", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Keep the websocket connection alive" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 22, + "character": 1 + } + ], + "defaultValue": "3" + }, + { + "id": 300, + "name": "HeartbeatAck", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Sent to acknowledge a received client heartbeat" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 34, + "character": 1 + } + ], + "defaultValue": "6" + }, + { + "id": 302, + "name": "Hello", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Time to wait between sending heartbeats in milliseconds" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 42, + "character": 1 + } + ], + "defaultValue": "8" + }, + { + "id": 294, + "name": "Identify", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Begin a voice websocket connection" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 10, + "character": 1 + } + ], + "defaultValue": "0" + }, + { + "id": 296, + "name": "Ready", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Complete the websocket handshake" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 18, + "character": 1 + } + ], + "defaultValue": "2" + }, + { + "id": 301, + "name": "Resume", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Resume a connection" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 38, + "character": 1 + } + ], + "defaultValue": "7" + }, + { + "id": 303, + "name": "Resumed", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Acknowledge a successful session resume" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 46, + "character": 1 + } + ], + "defaultValue": "9" + }, + { + "id": 295, + "name": "SelectProtocol", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Select the voice protocol" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 14, + "character": 1 + } + ], + "defaultValue": "1" + }, + { + "id": 298, + "name": "SessionDescription", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Describe the session" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 26, + "character": 1 + } + ], + "defaultValue": "4" + }, + { + "id": 299, + "name": "Speaking", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "comment": { + "shortText": "Indicate which users are speaking" + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 30, + "character": 1 + } + ], + "defaultValue": "5" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 304, + 305, + 297, + 300, + 302, + 294, + 296, + 301, + 303, + 295, + 298, + 299 + ] + } + ], + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 6, + "character": 12 + } + ] + }, + { + "id": 292, + "name": "VoiceGatewayVersion", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 1, + "character": 13 + } + ], + "type": { + "type": "literal", + "value": "4" + }, + "defaultValue": "'4'" + } + ], + "groups": [ + { + "title": "Enumerations", + "kind": 8, + "children": [ + 306, + 293 + ] + }, + { + "title": "Variables", + "kind": 32, + "children": [ + 292 + ] + } + ], + "sources": [ + { + "fileName": "voice/v4.ts", + "line": 1, + "character": 0 + } + ] + } + ], + "groups": [ + { + "title": "Modules", + "kind": 2, + "children": [ + 17, + 1, + 22, + 67, + 259, + 290, + 288, + 289, + 384, + 319, + 344, + 287, + 284, + 285, + 286, + 291 + ] + } + ] +} \ No newline at end of file diff --git a/website/versioned_sidebars/version-0.33.1-sidebars.json b/website/versioned_sidebars/version-0.33.1-sidebars.json new file mode 100644 index 00000000..2782dc0f --- /dev/null +++ b/website/versioned_sidebars/version-0.33.1-sidebars.json @@ -0,0 +1,8 @@ +{ + "sidebar": [ + { + "type": "autogenerated", + "dirName": "." + } + ] +} diff --git a/website/versions.json b/website/versions.json index 17a71710..69312062 100644 --- a/website/versions.json +++ b/website/versions.json @@ -1 +1,4 @@ -["0.33.0"] +[ + "0.33.1", + "0.33.0" +]