Adds a chat channel to the saved list of those displayed in a chat window. Used by the default UI's function ChatFrame_AddChannel() which manages the set of channel messages shown in a displayed ChatFrame.

See also Channel functions, Chat functions.


zoneChannel = AddChatWindowChannel(index, channel)


  • index - Index of a chat frame (between 1 and NUM_CHAT_WINDOWS) (number)
  • channel - Name of a chat channel (number)


  • zoneChannel - 0 for non-zone channels, otherwise a numeric index specific to that channel (number)