Class RoleEditModel
Represents a role edit model.
Inherited Members
Namespace: DisCatSharp.Net.Models
Assembly: DisCatSharp.dll
Syntax
public class RoleEditModel : BaseEditModel
Properties
| Improve this Doc View SourceColor
New role color
Declaration
public DiscordColor? Color { set; }
Property Value
Type | Description |
---|---|
System.Nullable<DiscordColor> |
Hoist
Whether new role should be hoisted (Shown in the sidebar)
Declaration
public bool? Hoist { set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Icon
The new role icon.
Declaration
public Optional<Stream> Icon { set; }
Property Value
Type | Description |
---|---|
Optional<System.IO.Stream> |
Mentionable
Whether new role should be mentionable
Declaration
public bool? Mentionable { set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Name
New role name
Declaration
public string Name { set; }
Property Value
Type | Description |
---|---|
System.String |
Permissions
New role permissions
Declaration
public Permissions? Permissions { set; }
Property Value
Type | Description |
---|---|
System.Nullable<Permissions> |
UnicodeEmoji
The new role icon from unicode emoji.
Declaration
public Optional<DiscordEmoji> UnicodeEmoji { set; }
Property Value
Type | Description |
---|---|
Optional<DiscordEmoji> |