struct

Discord::REST::ModifyRolePositionPayload

Inherits JSON::Serializable / Struct / Value / Object

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

Constructors

new(id : UInt64 | Snowflake, position : Int32)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id=(id : Snowflake)
Source
position
Source
position=(position : Int32)
Source