export interface APIApplicationSee also: https://discord.com/developers/docs/resources/application#application-object
optionalexternalapproximate_guild_count? : number
Approximate count of guilds the application has been added to
optionalexternalapproximate_user_install_count? : number
Approximate count of users that have installed the app
externalbot_public : boolean
When false only app owner can join the app's bot to guilds
externalbot_require_code_grant : boolean
When true the app's bot will only join upon completion of the full oauth2 code grant flow
optionalexternalbot? : APIUser
Partial user object for the bot user associated with the application
optionalexternalcover_image? : string
If this application is a game sold on Discord, this field will be the hash of the image on store embeds
optionalexternalcustom_install_url? : string
The application's default custom authorization link, if enabled
externaldescription : string
The description of the app
externalevent_webhooks_status : ApplicationWebhookEventStatus
If webhook events are enabled for the app
optionalexternalevent_webhooks_types? : ApplicationWebhookEventType[]
List of webhook event types the app subscribes to
Event webhook URL for the app to receive webhook events
externalflags : ApplicationFlags
The application's public flags
See also: https://discord.com/developers/docs/resources/application#application-object-application-flags
optionalexternalguild_id? : Snowflake
If this application is a game sold on Discord, this field will be the guild to which it has been linked
optionalexternalguild? : APIPartialGuild
A partial object of the associated guild
externalid : Snowflake
The id of the app
optionalexternalinstall_params? : APIApplicationInstallParams
Settings for the application's default in-app authorization link, if enabled
optionalexternalintegration_types_config? : APIApplicationIntegrationTypesConfigMap
Default scopes and permissions for each supported installation context. Value for each key is an integration type configuration object
The interactions endpoint URL for the application
externalname : string
The name of the app
optionalexternalowner? : APIUser
Partial user object containing info on the owner of the application
See also: https://discord.com/developers/docs/resources/user#user-object
optionalexternalprimary_sku_id? : Snowflake
If this application is a game sold on Discord, this field will be the id of the "Game SKU" that is created, if exists
optionalexternalprivacy_policy_url? : string
The url of the application's privacy policy
optionalexternalredirect_uris? : string[]
Array of redirect URIs for the application
The application's role connection verification entry point, which when configured will render the app as a verification method in the guild role verification configuration
optionalexternalrpc_origins? : string[]
An array of rpc origin urls, if rpc is enabled
optionalexternalslug? : string
If this application is a game sold on Discord, this field will be the URL slug that links to the store page
This field will be removed in v11 This field is no longer documented by Discord and will be removed in v11
An empty string
Up to 5 tags of max 20 characters each describing the content and functionality of the application
The team this application belongs to
See also: https://discord.com/developers/docs/topics/teams#data-models-team-object
optionalexternalterms_of_service_url? : string
The url of the application's terms of service
externalverify_key : string
The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function
See also: https://discord.com/developers/docs/game-sdk/applications#getticket