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.
Signature:
zoneChannel
=
AddChatWindowChannel(index,
channel)
Arguments:
index
- Index of a chat frame (between1
andNUM_CHAT_WINDOWS
) (number
)channel
- Name of a chat channel (number
)
Returns:
zoneChannel
-0
for non-zone channels, otherwise a numeric index specific to that channel (number
)