using Maki.Structures.Users;
using Newtonsoft.Json;
namespace Maki.Structures.Presences
{
///
/// Discord API Presence structure
///
internal struct Presence
{
///
/// the user presence is being updated for
///
[JsonProperty("user")]
public User User;
///
/// roles this user is in
///
[JsonProperty("roles")]
public ulong[] Roles;
///
/// null, or the user's current activity
///
[JsonProperty("game")]
public Game? Game;
///
/// id of the guild
///
[JsonProperty("guild_id")]
public ulong Guild;
///
/// either "idle", "dnd", "online" or "offline"
///
[JsonProperty("status")]
public string Status;
}
}