Preview deployment

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<true>

The client that instantiated this

Inherited from: Base

cover : string | null

The hash of the application's cover image

readonly
createdAt : Date

The time the application was created at

Inherited from: Application

readonly
createdTimestamp : number

The timestamp the application was created at

Inherited from: Application

description : string | null

The application's description

Inherited from: Application

hook : boolean | null

Whether the application can be default hooked by the client

icon : string | null

The application's icon hash

Inherited from: Application

The application's id

Inherited from: Application

name : string | null

The name of the application

Inherited from: 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