API SetChannelPassword

Changes the password of the current channel.

SetChannelPassword(channelName, password);


 * Arguments


 * (string channelName, string password)


 * channelName - The name of the channel.
 * password - The password to assign to the channel.


 * Returns


 * nil

SetChannelPassword("Sembiance", "secretpassword");
 * Example


 * Result


 * Description


 * Changes the password of the specified channel.