class IntegrationApplication
extends
Applicationexport class IntegrationApplication extends Application
Represents an Integration's OAuth2 Application.
readonlyClient client :
The client that instantiated this
readonlyDate createdAt :
The time the application was created at
readonlynumber createdTimestamp :
The timestamp the application was created at
optionalstring description? :
The application's description
optionalstring icon? :
The application's icon hash
Snowflake id :
The application's id
optionalstring name? :
The name of the application
string[] rpcOrigins :
The Array of RPC origin URLs
coverURLoptions?: ImageURLOptions) : string | null (
options?: ImageURLOptions
A link to this application's cover image.
Inherited from: Application
iconURLoptions?: ImageURLOptions) : string | null (
options?: ImageURLOptions
A link to the application's icon.
Inherited from: Application
toJSONunknown () :
Inherited from: Application
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