From 3eca57a10cf12f9ef41f0ecf7ab113940a577662 Mon Sep 17 00:00:00 2001 From: Fedor Lapshin Date: Mon, 18 Mar 2024 22:58:32 +0300 Subject: [PATCH] Add integration_types_config to params of Application Edit endpoint (#6727) --- docs/resources/Application.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/docs/resources/Application.md b/docs/resources/Application.md index 4d50717aab..d269c3184b 100644 --- a/docs/resources/Application.md +++ b/docs/resources/Application.md @@ -184,17 +184,18 @@ Edit properties of the app associated with the requesting bot user. Only propert ###### JSON Params -| Field | Type | Description | -|-----------------------------------|----------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------| -| custom_install_url | string | Default custom authorization URL for the app, if enabled | -| description | string | Description of the app | -| role_connections_verification_url | string | Role connection verification URL for the app | -| install_params | [install params](#DOCS_RESOURCES_APPLICATION/install-params-object) object | Settings for the app's default in-app authorization link, if enabled | -| flags \* | integer | App's public [flags](#DOCS_RESOURCES_APPLICATION/application-object-application-flags) | -| icon | ?[image data](#DOCS_REFERENCE/image-data) | Icon for the app | -| cover_image | ?[image data](#DOCS_REFERENCE/image-data) | Default rich presence invite cover image for the app | -| interactions_endpoint_url \*\* | string | [Interactions endpoint URL](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/receiving-an-interaction) for the app | -| tags | array of strings | List of tags describing the content and functionality of the app (max of 20 characters per tag). Max of 5 tags. | +| Field | Type | Description | +|-----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| custom_install_url | string | Default custom authorization URL for the app, if enabled | +| description | string | Description of the app | +| role_connections_verification_url | string | Role connection verification URL for the app | +| install_params | [install params](#DOCS_RESOURCES_APPLICATION/install-params-object) object | Settings for the app's default in-app authorization link, if enabled | +| integration_types_config | dictionary with keys of [application integration types](#DOCS_RESOURCES_APPLICATION/application-object-application-integration-types) | Default scopes and permissions for each supported installation context. Value for each key is an [integration type configuration object](#DOCS_RESOURCES_APPLICATION/application-object-application-integration-type-configuration-object) | +| flags \* | integer | App's public [flags](#DOCS_RESOURCES_APPLICATION/application-object-application-flags) | +| icon | ?[image data](#DOCS_REFERENCE/image-data) | Icon for the app | +| cover_image | ?[image data](#DOCS_REFERENCE/image-data) | Default rich presence invite cover image for the app | +| interactions_endpoint_url \*\* | string | [Interactions endpoint URL](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/receiving-an-interaction) for the app | +| tags | array of strings | List of tags describing the content and functionality of the app (max of 20 characters per tag). Max of 5 tags. | \* Only limited intent flags (`GATEWAY_PRESENCE_LIMITED`, `GATEWAY_GUILD_MEMBERS_LIMITED`, and `GATEWAY_MESSAGE_CONTENT_LIMITED`) can be updated via the API.