Lore archive · Warcraft Wiki, 2023 dump
API GetChatWindowChannels
Last wiki revision 2022-07-22
Returns subscribed channels for a chat window. name1, zone1, name2, zone2, ... = GetChatWindowChannels(frameId)
- (frameId)
- frameId: - The frame number of the chat frame to be queried (starts at 1).
- name1, zone1, name2, zone2, ...
- name1: - The name to display for the first channel.
- zone1: - The 'zone channel' number for the first channel. Has a value of 0 for non-zone channels, and a non-zero value for zone channels (such as Trade, General)
- name2: - The name to display for the second channel.
- zone2: - The 'zone channel' number for the second channel. Has a value of 0 for non-zone channels, and a non-zero value for zone channels (such as Trade, General)
- This function is best called within a table constructor:
local DefaultChannels = { GetChatWindowChannels(DEFAULT_CHAT_FRAME:GetID) };
Source
https://warcraft.wiki.gg/wiki/API_GetChatWindowChannels · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.