Discore
Show / Hide Table of Contents

Class PositionOptions

A set of parameters defining the position of an item such as a channel or role.

Inheritance
object
PositionOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class PositionOptions

Properties

Name Description
Id

Gets or sets the ID of the item to change the position of (e.g. a channel or role ID).

Position

Gets or sets the sorting position of the item. Note: Positions start at 1 not 0.

Methods

Name Description
SetId(Snowflake)

Sets the ID of the item to change the position of (e.g. a channel or role ID).

SetPosition(int)

Sets the sorting position of the item. Note: Positions start at 1 not 0.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX