GetChannelName
functionimplementedavailable in: camelot
Returns info for a chat channel.
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type | description |
|---|---|---|
name | string | number | name of the channel to query, e.g. "Trade - City", or a channel ID to query, e.g. 1 for the chat channel currently addressable using /1. |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | id | number | The ID of the channel, or 0 if the channel is not found. |
| 2 | name | string? | The name of the channel, e.g. "Trade - Stormwind", or nil if the player is not in the queried channel. |
| 3 | instanceID | number | Index used to deduplicate channels. Usually zero, unless two channels with the same name exist. |
| 4 | isCommunitiesChannel | boolean | True if this is a Blizzard Communities channel, false if not. |
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
sources
Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.