Archived
1
0
Fork 0
This repository has been archived on 2024-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
maki/Maki/Structures/Presences/Game.cs

28 lines
608 B
C#

using Newtonsoft.Json;
namespace Maki.Structures.Presences
{
/// <summary>
/// Discord API Game structure
/// </summary>
internal struct Game
{
/// <summary>
/// the game's name
/// </summary>
[JsonProperty("name")]
public string Name;
/// <summary>
/// see Game Types
/// </summary>
[JsonProperty("type")]
public GameType? Type;
/// <summary>
/// stream url, is validated when type is Streaming/1
/// </summary>
[JsonProperty("url")]
public string Url;
}
}