using Newtonsoft.Json;
namespace Maki.Structures.Users
{
///
/// Discord API Permission Overwrite structure
///
internal struct PermissionOverwrite
{
///
/// role or user id
///
[JsonProperty("id")]
public ulong Id;
///
/// either 'role' or 'member'
///
[JsonProperty("type")]
public string Type;
///
/// permission bit set
///
[JsonProperty("allow")]
public int Allow;
///
/// permission bit set
///
[JsonProperty("deny")]
public int Deny;
}
}