Channel to edit
Instance Method
modifyChannel(_:with:then:)
Modifies a guild channel
Declaration
func modifyChannel(_ channelId: Snowflake, with options: [String : Any] = [:], then completion: ((GuildChannel?, RequestError?) -> Void)? = nil)
Parameters
channelId
-
options
-
Optons to give channel
Options Params
name: Name to give channel
position: Channel position to set it to
topic: If a text channel, sets the topic of the text channel
bitrate: If a voice channel, sets the bitrate for the voice channel
user_limit: If a voice channel, sets the maximum allowed users in a voice channel