Search Results for

    Show / Hide Table of Contents

    Class RoleEditModel

    Represents a role edit model.

    Inheritance
    System.Object
    BaseEditModel
    RoleEditModel
    Inherited Members
    BaseEditModel.AuditLogReason
    Namespace: DisCatSharp.Net.Models
    Assembly: DisCatSharp.dll
    Syntax
    public class RoleEditModel : BaseEditModel

    Properties

    | Improve this Doc View Source

    Color

    New role color

    Declaration
    public DiscordColor? Color { set; }
    Property Value
    Type Description
    System.Nullable<DiscordColor>
    | Improve this Doc View Source

    Hoist

    Whether new role should be hoisted (Shown in the sidebar)

    Declaration
    public bool? Hoist { set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    Icon

    The new role icon.

    Declaration
    public Optional<Stream> Icon { set; }
    Property Value
    Type Description
    Optional<System.IO.Stream>
    | Improve this Doc View Source

    Mentionable

    Whether new role should be mentionable

    Declaration
    public bool? Mentionable { set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    Name

    New role name

    Declaration
    public string Name { set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Permissions

    New role permissions

    Declaration
    public Permissions? Permissions { set; }
    Property Value
    Type Description
    System.Nullable<Permissions>
    | Improve this Doc View Source

    UnicodeEmoji

    The new role icon from unicode emoji.

    Declaration
    public Optional<DiscordEmoji> UnicodeEmoji { set; }
    Property Value
    Type Description
    Optional<DiscordEmoji>

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems