struct

Discord::REST::ModifyChannelPositionPayload

Inherits Struct / Value / Object

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

Constructors

new(id : UInt64 | Snowflake, position : Int32, parent_id : UInt64 | Snowflake | ChannelParent = ChannelParent::Unchanged, lock_permissions : Bool | Nil = nil)
Source

Instance methods

to_json(builder : JSON::Builder)
Source