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.
index- Index of a chat frame (between
channel- Name of a chat channel (
0for non-zone channels, otherwise a numeric index specific to that channel (