Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API ChatFrame AddChannel

From WoW Classic Wiki
"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");