class IntegrationApplication

extends

Application
export class IntegrationApplication extends Application

Represents an Integration's OAuth2 Application.

bot : User | null

The bot user for this application

readonly
client : Client

The client that instantiated this

cover : string | null

The hash of the application's cover image

readonly
createdAt : Date

The time the application was created at

readonly
createdTimestamp : number

The timestamp the application was created at

optional
description? : string

The application's description

hook : boolean | null

Whether the application can be default hooked by the client

optional
icon? : string

The application's icon hash

The application's id

optional
name? : string

The name of the application

privacyPolicyURL : string | null

The URL of the application's privacy policy

rpcOrigins : string[]

The Array of RPC origin URLs

termsOfServiceURL : string | null

The URL of the application's terms of service

verifyKey : string | null

The hex-encoded key for verification in interactions and the GameSDK's GetTicket

coverURL(
options?: ImageURLOptions
) : string | null

A link to this application's cover image.

Inherited from: Application

iconURL(
options?: ImageURLOptions
) : string | null

A link to the application's icon.

Inherited from: Application

toJSON() : unknown

Inherited from: Application

toString() : string | null

When concatenated with a string, this automatically returns the application's name instead of the Application object.

Examples:
// Logs: Application name: My App
console.log(`Application name: ${application}`);

Inherited from: Application

valueOf() : string

Inherited from: Base