Table of Contents

Class Assets

Namespace
DiscordRPC
Assembly
DiscordRPC.dll

Information about the pictures used in the Rich Presence.

[Serializable]
public class Assets
Inheritance
Assets
Inherited Members

Properties

IsLargeImageKeyExternal

Gets if the large square image is from an external link

[JsonIgnore]
public bool IsLargeImageKeyExternal { get; }

Property Value

bool

IsSmallImageKeyExternal

Gets if the small profile artwork is from an external link

[JsonIgnore]
public bool IsSmallImageKeyExternal { get; }

Property Value

bool

LargeImageID

The ID of the large image. This is only set after Update Presence and will automatically become null when LargeImageKey is changed.

[JsonIgnore]
public string LargeImageID { get; }

Property Value

string

LargeImageKey

Name of the uploaded image for the large profile artwork.

Max 256 characters.

[JsonProperty("large_image", NullValueHandling = NullValueHandling.Ignore)]
public string LargeImageKey { get; set; }

Property Value

string

Remarks

Allows URL to directly link to images.

LargeImageText

The tooltip for the large square image. For example, "Summoners Rift" or "Horizon Lunar Colony".

Max 128 characters.

[JsonProperty("large_text", NullValueHandling = NullValueHandling.Ignore)]
public string LargeImageText { get; set; }

Property Value

string

LargeImageUrl

URL that is linked to when clicking on the large image in the activity card.

Max 256 characters.

[JsonProperty("large_url", NullValueHandling = NullValueHandling.Ignore)]
public string LargeImageUrl { get; set; }

Property Value

string

SmallImageID

The ID of the small image. This is only set after Update Presence and will automatically become null when SmallImageKey is changed.

[JsonIgnore]
public string SmallImageID { get; }

Property Value

string

SmallImageKey

Name of the uploaded image for the small profile artwork.

Max 256 characters.

[JsonProperty("small_image", NullValueHandling = NullValueHandling.Ignore)]
public string SmallImageKey { get; set; }

Property Value

string

Remarks

Allows URL to directly link to images.

SmallImageText

The tooltip for the small circle image. For example, "LvL 6" or "Ultimate 85%".

Max 128 characters.

[JsonProperty("small_text", NullValueHandling = NullValueHandling.Ignore)]
public string SmallImageText { get; set; }

Property Value

string

SmallImageUrl

URL that is linked to when clicking on the small image in the activity card.

Max 256 characters.

[JsonProperty("small_url", NullValueHandling = NullValueHandling.Ignore)]
public string SmallImageUrl { get; set; }

Property Value

string