Fandom

WoWWiki

API GetChatWindowMessages

105,017pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetChatWindowMessages


Get the chat types received by a chat window.

type1, type2, type3, ... = GetChatWindowMessages(frameId)

Parameters Edit

Arguments Edit

(frameId)
frameId 
Number - The frame number of the chat frame to be queried (starts at 1).

Returns Edit

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 Edit

This function is best called within a table constructor:
local DefaultMessages = { GetChatWindowMessages(DEFAULT_CHAT_FRAME:GetID()) };

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.