struct Discord::REST::ModifyRolePositionPayload

Overview

A request payload to rearrange roles in a Guild by a REST API call.

Included Modules

Defined in:

discordcr/mappings/rest.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : UInt64 | Snowflake, position : Int32) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def id : Snowflake #

[View source]
def id=(id : Snowflake) #

[View source]
def position : Int32 #

[View source]
def position=(position : Int32) #

[View source]