CreateRole

public enum CreateRole

Options for creating a role. All are optional.

  • The color of the enum.

    Declaration

    Swift

    case color(Int)
  • Whether the role should be displayed separately in the sidebar.

    Declaration

    Swift

    case hoist(Bool)
  • Whether this role is mentionable.

    Declaration

    Swift

    case mentionable(Bool)
  • The name of this role.

    Declaration

    Swift

    case name(String)
  • The permissions this role has.

    Declaration

    Swift

    case permissions(Int)