WoW:API ChatFrame AddChannel: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 21: Line 21:
  ChatFrame_AddChannel(DEFAULT_CHAT_FRAME,'test');
  ChatFrame_AddChannel(DEFAULT_CHAT_FRAME,'test');
<!-- end code -->
<!-- end code -->
[[Category:API Functions|ChatFrame AddChannel]]
[[Category:API Chat Functions|ChatFrame AddChannel]]

Revision as of 19:00, 27 August 2005

This method is activating a previously join chatchannel.

ChatFrame_AddChannel(chatFrame, 'channelName');

Parameters

Arguments

(chatFrame, 'channelName')
chatFrame
The name of the chat frame
channelName
String - The name of the chatchannel to activate.

Returns

retCode
retCode
Number - ?

Example

ChatFrame_AddChannel(DEFAULT_CHAT_FRAME,'test');