Preview environment

class RichPresenceAssets

export class RichPresenceAssets

Assets for a rich presence

readonly
activity : Activity

The activity of the RichPresenceAssets

largeImage : Snowflake | null

The large image asset's id

largeText : string | null

Hover text for the large image

smallImage : Snowflake | null

The small image asset's id

smallText : string | null

Hover text for the small image

largeImageURL(
options?: ImageURLOptions
) : string | null

Gets the URL of the large image asset

smallImageURL(
options?: ImageURLOptions
) : string | null

Gets the URL of the small image asset