API ChatFrame AddChannel
From WoW Classic Wiki
More actions
(Redirected from ChatFrame AddChannel(chatFrame,'channelName'))
- "I" iconThis function is not a real API. It is defined by FrameXML in FrameXML/ChatFrame.lua.
ChatFrame_AddChannel(chatFrame, 'channelName');
Order a chat frame to display a previously-joined chat channel
Parameters
Arguments
- (chatFrame, 'channelName')
- chatFrame
- Object - the chat frame to display the channel in
- channelName
- String - The name of the chatchannel to activate.
Returns
- retCode
- retCode
- Number - ?
Example
ChatFrame_AddChannel(DEFAULT_CHAT_FRAME, "test");