IntegrationApplication

export 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?):string | null
A link to this application's cover image.
Returns
NameTypeOptionalDescription
optionsImageURLOptionsYesOptions for the image URL
Inherited from Application
iconURL(options?):string | null
A link to the application's icon.
Returns
NameTypeOptionalDescription
optionsImageURLOptionsYesOptions for the image URL
Inherited from Application
toJSON():unknown
toString():string | null
When concatenated with a string, this automatically returns the application's name instead of the Application object.
Returns
Example
// Logs: Application name: My App
console.log(`Application name: ${application}`);
// Logs: Application name: My App
console.log(`Application name: ${application}`);
Inherited from Application
valueOf():string