Fandom

WoWWiki

API ChatFrame AddChannel

Redirected from ChatFrame AddChannel(chatFrame,'channelName')

104,635pages on
this wiki
Add New Page
Talk1 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < ChatFrame:AddChannel
Icon-information-22x22This function is implemented by FrameXML in [DEPRECATED http://wowprogramming.com/utils/xmlbrowser/live/FrameXML/ChatFrame.lua FrameXML/ChatFrame.lua].


ChatFrame_AddChannel(chatFrame, 'channelName')

Order a chat frame to display a previously-joined chat channel. 


Parameters Edit

Arguments Edit

(chatFrame, 'channelName')
chatFrame
Object - The chat frame to display the channel in. Some ex
channelName
String - The name of the chatchannel to activate.

Returns Edit

nil

Example Edit

ChatFrame_AddChannel(DEFAULT_CHAT_FRAME, "test");
ChatFrame_AddChannel(SELECTED_CHAT_FRAME, "ErrorInfo");
ChatFrame_AddChannel(ChatFrame1, "AnotherChannel");

chatFrameEdit

DEFAULT_CHAT_FRAME - Adds the channel to the default chat window.
SELECTED_CHAT_FRAME - Adds the channel in the chat window with focus ( the front window ).
ChatFrameX - Where X is an int from 1 to 10. Seems to add the channel to any chat window, where X=1 is the left-most window.

Also on Fandom

Random Wiki