Skip to main content
Module

x/discord_api_types/v8.ts>APIApplication

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIApplication
Re-export
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type APIApplication } from "https://deno.land/x/discord_api_types@0.37.11/v8.ts";

Properties

The id of the app

name: string

The name of the app

icon: string | null

The icon hash of the app

description: string

The description of the app

optional
rpc_origins: string[]

An array of rpc origin urls, if rpc is enabled

bot_public: boolean

When false only app owner can join the app's bot to guilds

bot_require_code_grant: boolean

When true the app's bot will only join upon completion of the full oauth2 code grant flow

optional
terms_of_service_url: string

The url of the application's terms of service

optional
privacy_policy_url: string

The url of the application's privacy policy

optional
owner: APIUser

Partial user object containing info on the owner of the application

See https://discord.com/developers/docs/resources/user#user-object

deprecated
summary: ""

If this application is a game sold on Discord, this field will be the summary field for the store page of its primary sku

verify_key: string

The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function

See https://discord.com/developers/docs/game-sdk/applications#get-ticket

team: APITeam | null
optional
guild_id: Snowflake

If this application is a game sold on Discord, this field will be the guild to which it has been linked

optional
primary_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

optional
slug: string

If this application is a game sold on Discord, this field will be the URL slug that links to the store page

optional
cover_image: string

If this application is a game sold on Discord, this field will be the hash of the image on store embeds

optional
tags:
[
string,
string,
string,
string,
string,
]

Up to 5 tags describing the content and functionality of the application

optional
install_params: APIApplicationInstallParams

Settings for the application's default in-app authorization link, if enabled

optional
custom_install_url: string

The application's default custom authorization link, if enabled