Files
Discord.Net/src/Discord.Net.Rest/API/Common/GameAssets.cs
Christopher F 0f2af47ec8 Fix typo in API model for GameAssets
This would cause the large asset's Image ID (and in turn, Image URL) and
hover text to be reversed.
2018-01-07 15:55:01 -05:00

17 lines
468 B
C#

using Newtonsoft.Json;
namespace Discord.API
{
internal class GameAssets
{
[JsonProperty("small_text")]
public Optional<string> SmallText { get; set; }
[JsonProperty("small_image")]
public Optional<string> SmallImage { get; set; }
[JsonProperty("large_text")]
public Optional<string> LargeText { get; set; }
[JsonProperty("large_image")]
public Optional<string> LargeImage { get; set; }
}
}