Skip to main content

Room.TryRemoveChannel(number channelID)

Remove a channel, if it exists.

Parameters:

NameTypeDescription
channelIDnumberThe channel to remove.

Returns:

typeDescription
booleantrue if the operation could be sent to the server. False if channel doesn't exists.

Usage

---@type number
local channelID;


local val0 = Room:TryRemoveChannel(channelID)

Extra Detail

It is not allowed to remove channel 0.