WoW:API GetChatWindowMessages: Difference between revisions
Jump to navigation
Jump to search
GetChatWindowMessages - Documentation by Flickering
mNo edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
local DefaultMessages = { GetChatWindowMessages(DEFAULT_CHAT_FRAME:GetID()) }; | local DefaultMessages = { GetChatWindowMessages(DEFAULT_CHAT_FRAME:GetID()) }; | ||
<!-- end code --> | <!-- end code --> | ||
---- | ---- | ||
{{WoW API}} | |||
{{ | |||
Revision as of 04:54, 4 January 2006
Get the chat types received by a chat window.
type1, type2, type3, ... = GetChatWindowMessages(frameId)
Parameters
Arguments
- (frameId)
- frameId
- Number - The frame number of the chat frame to be queried (starts at 1).
Returns
- type1, type2, type3, ...
- type1
- String - The type code of the first chat type received by the window.
- type2
- String - The type code of the second chat type received by the window.
- type3
- String - The type code of the third chat type received by the window.
Example
- This function is best called within a table constructor:
local DefaultMessages = { GetChatWindowMessages(DEFAULT_CHAT_FRAME:GetID()) };