Class Role
Assembly: Revolt.Net.dll​
View Source​
Declaration
public class Role
Properties​
Name​
View Source​
Declaration
[JsonProperty("name")]
public string Name { get; }
ServerPermissions​
View Source​
Declaration
[JsonIgnore]
public ServerPermission ServerPermissions { get; set; }
ChannelPermissions​
View Source​
Declaration
[JsonIgnore]
public ChannelPermission ChannelPermissions { get; set; }
PermissionsRaw​
View Source​
Declaration
[JsonProperty("permissions")]
public int[] PermissionsRaw { get; }
Color​
View Source​
Declaration
[JsonProperty("colour")]
public string Color { get; set; }
Hoist​
View Source​
Declaration
[JsonProperty("hoist")]
public bool? Hoist { get; }
Rank​
View Source​
Declaration
[JsonProperty("rank")]
public int Rank { get; }
Extension Methods​
- Revolt.Role.Revolt.FillPartialMethods.FillPartial(Revolt.Role,System.String)