Guild to modify channel positions from
Instance Method
modifyChannelPositions(for:with:then:)
Modifies channel positions from a guild
Declaration
func modifyChannelPositions(for guildId: Snowflake, with options: [[String : Any]], then completion: (([GuildChannel]?, RequestError?) -> Void)? = nil)
Parameters
guildId
-
options
-
Preconfigured options to set channel positions to
Options Params
Array of the following:
id: The channel id to modify
position: The sorting position of the channel