using Maki.Structures.Roles;
using Newtonsoft.Json;
namespace Maki.Structures.Guilds
{
///
/// Discord API Guild Role structure
///
internal struct GuildRole
{
///
/// Populated in the _CREATE and _UPDATE event
///
[JsonProperty("role")]
public Role? Role;
///
/// Populated in the _DELETE event
///
[JsonProperty("role_id")]
public ulong? RoleId;
///
/// Guild Id this role belongs to
///
[JsonProperty("guild_id")]
public ulong Guild;
}
}