v0.13.8

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

nametypedescription
namestring | numbername 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

#nametypedescription
1idnumberThe ID of the channel, or 0 if the channel is not found.
2namestring?The name of the channel, e.g. "Trade - Stormwind", or nil if the player is not in the queried channel.
3instanceIDnumberIndex used to deduplicate channels. Usually zero, unless two channels with the same name exist.
4isCommunitiesChannelbooleanTrue 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 ↗.