💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
These are functions which are specific to chat*window*management. [AddChatWindowChannel](https://wow.gamepedia.com/API_AddChatWindowChannel "API AddChatWindowChannel")(chatFrameIndex, "channel") - Make a chat channel visible in a specific ChatFrame. [AddChatWindowMessages](https://wow.gamepedia.com/API_AddChatWindowMessages "API AddChatWindowMessages")() - Adds a messaging group to the specified chat window. [ChangeChatColor](https://wow.gamepedia.com/API_ChangeChatColor "API ChangeChatColor")("channelName", r, g, b) - Update the color for a type of chat message. [GetAutoCompleteResults](https://wow.gamepedia.com/API_GetAutoCompleteResults "API GetAutoCompleteResults")("text", include, exclude, maxResults\[, cursorPosition\]) - Returns possible player names matching a given prefix string and specified requirements. [GetChatTypeIndex](https://wow.gamepedia.com/API_GetChatTypeIndex "API GetChatTypeIndex")(type) - Get the numeric ID of a type of chat message. [GetChatWindowChannels](https://wow.gamepedia.com/API_GetChatWindowChannels "API GetChatWindowChannels")(index) - Get the chat channels received by a chat window. [GetChatWindowInfo](https://wow.gamepedia.com/API_GetChatWindowInfo "API GetChatWindowInfo")(index) - Get setup information about a chat window. [GetChatWindowMessages](https://wow.gamepedia.com/API_GetChatWindowMessages "API GetChatWindowMessages")(index) - Get the chat message types received by a chat window. [GetChatWindowSavedDimensions](https://wow.gamepedia.com/index.php?title=API_GetChatWindowSavedDimensions&action=edit&redlink=1 "API GetChatWindowSavedDimensions (page does not exist)")(index) [GetChatWindowSavedPosition](https://wow.gamepedia.com/index.php?title=API_GetChatWindowSavedPosition&action=edit&redlink=1 "API GetChatWindowSavedPosition (page does not exist)")(index) [RedockChatWindows](https://wow.gamepedia.com/index.php?title=API_RedockChatWindows&action=edit&redlink=1 "API RedockChatWindows (page does not exist)")() [RemoveChatWindowChannel](https://wow.gamepedia.com/API_RemoveChatWindowChannel "API RemoveChatWindowChannel")(chatFrameIndex, "channel") - Make a chat channel invisible (hidden) in a specific ChatFrame. [RemoveChatWindowMessages](https://wow.gamepedia.com/API_RemoveChatWindowMessages "API RemoveChatWindowMessages")(chatFrameIndex, "messageGroup") - Remove a set of chat messages from this window. [ResetChatColors](https://wow.gamepedia.com/index.php?title=API_ResetChatColors&action=edit&redlink=1 "API ResetChatColors (page does not exist)")() - Unused in FrameXML. [ResetChatWindows](https://wow.gamepedia.com/index.php?title=API_ResetChatWindows&action=edit&redlink=1 "API ResetChatWindows (page does not exist)")() [SetChatColorNameByClass](https://wow.gamepedia.com/index.php?title=API_SetChatColorNameByClass&action=edit&redlink=1 "API SetChatColorNameByClass (page does not exist)")(chatType, colorNameByClass) [SetChatWindowAlpha](https://wow.gamepedia.com/index.php?title=API_SetChatWindowAlpha&action=edit&redlink=1 "API SetChatWindowAlpha (page does not exist)")(index, alpha) - Sets the Alpha value(transparency) of ChatFrame (alpha - 0-100) [SetChatWindowColor](https://wow.gamepedia.com/index.php?title=API_SetChatWindowColor&action=edit&redlink=1 "API SetChatWindowColor (page does not exist)")(index, r, g, b) - Sets the background color of a a chat window. (r/g/b - 0-255) [SetChatWindowDocked](https://wow.gamepedia.com/index.php?title=API_SetChatWindowDocked&action=edit&redlink=1 "API SetChatWindowDocked (page does not exist)")(index, docked) - Set whether a chat window is docked. (docked - 0/1) [SetChatWindowLocked](https://wow.gamepedia.com/index.php?title=API_SetChatWindowLocked&action=edit&redlink=1 "API SetChatWindowLocked (page does not exist)")(index, locked) - Sets ChatFrame so that it is or is not movable. (locked - 0/1) [SetChatWindowName](https://wow.gamepedia.com/index.php?title=API_SetChatWindowName&action=edit&redlink=1 "API SetChatWindowName (page does not exist)")(index, "name") - Sets the alpha value of ChatFrame. [SetChatWindowSavedDimensions](https://wow.gamepedia.com/index.php?title=API_SetChatWindowSavedDimensions&action=edit&redlink=1 "API SetChatWindowSavedDimensions (page does not exist)")(index, width, height) [SetChatWindowSavedPosition](https://wow.gamepedia.com/index.php?title=API_SetChatWindowSavedPosition&action=edit&redlink=1 "API SetChatWindowSavedPosition (page does not exist)")(index, "point", xOffsetRatio, yOffsetRatio) [SetChatWindowShown](https://wow.gamepedia.com/index.php?title=API_SetChatWindowShown&action=edit&redlink=1 "API SetChatWindowShown (page does not exist)")(index, shown) - Shows or Hides ChatFrame depending on value of (shown - 0/1) [SetChatWindowSize](https://wow.gamepedia.com/index.php?title=API_SetChatWindowSize&action=edit&redlink=1 "API SetChatWindowSize (page does not exist)")(index, size) - Sets the font size of a chat window. (size - default 14) [SetChatWindowUninteractable](https://wow.gamepedia.com/index.php?title=API_SetChatWindowUninteractable&action=edit&redlink=1 "API SetChatWindowUninteractable (page does not exist)")(id, isUninteractable) UI[ChatFrame\_AddChannel](https://wow.gamepedia.com/API_ChatFrame_AddChannel "API ChatFrame AddChannel")(chatFrame, "channelName") - Activate channel in chatFrame. UI[ChatFrame\_AddMessageEventFilter](https://wow.gamepedia.com/API_ChatFrame_AddMessageEventFilter "API ChatFrame AddMessageEventFilter")("event", filterFunc) - Add a chat message filtering function. UI[ChatFrame\_GetMessageEventFilters](https://wow.gamepedia.com/API_ChatFrame_GetMessageEventFilters "API ChatFrame GetMessageEventFilters")("event") - Retreive the list of chat message filtering functions. UI[ChatFrame\_OnHyperlinkShow](https://wow.gamepedia.com/API_ChatFrame_OnHyperlinkShow "API ChatFrame OnHyperlinkShow")(reference, link, button) - Called when the user clicks on a chatlink. UI[ChatFrame\_RemoveMessageEventFilter](https://wow.gamepedia.com/API_ChatFrame_RemoveMessageEventFilter "API ChatFrame RemoveMessageEventFilter")("event", filterFunc) - Unregister a chat message filtering function.