Lore archive · Warcraft Wiki, 2023 dump
API AddChatWindowChannel
Last wiki revision 2022-07-21
Enables messages from a chat channel index for a chat window. AddChatWindowChannel(windowId, channelName)
- windowId: - index of the chat window/frame (ascending from 1) to add the channel to.
- channelName: - name of the chat channel to add to the frame.
ChatFrame_AddChannel(ChatWindow1, "Trade"); -- DEFAULT_CHAT_FRAME works well, too
- A single channel may be configured to display in multiple chat windows/frames.
- Chat output architecture has changed since release; calling this function alone is no longer sufficient to add a channel to a particular frame in the default UI. Use (chatFrame, "channelName") instead, like so:
Source
https://warcraft.wiki.gg/wiki/API_AddChatWindowChannel · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.