struct Discord::REST::ModifyChannelPositionPayload

Overview

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

Defined in:

discordcr/mappings/rest.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : UInt64 | Snowflake, position : Int32, parent_id : UInt64 | Snowflake | ChannelParent = ChannelParent::Unchanged, lock_permissions : Bool | Nil = nil) #

[View source]

Instance Method Detail

def to_json(builder : JSON::Builder) #

[View source]