API:GetChannelName

GetChannelName(x)

Arguments

 * x -
 * Number of custom Channel

Example
/script DEFAULT_CHAT_FRAME:AddMessage(GetChannelName(1));

Returns the name of the first custom Channel