---@diagnostic disable: missing-return, lowercase-global ---@param name string ---@param password string ---@param chatFrameIndex number ---@param enableVoice boolean ---@return number zoneChannel ---@return string channelName ---Joins a channel, saving associated chat window settings function JoinPermanentChannel(name, password, chatFrameIndex, enableVoice) end