ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
These are chat functions which are specific to channels. [C\_ChatInfo.GetChannelRosterInfo](https://wow.gamepedia.com/API_C_ChatInfo.GetChannelRosterInfo "API C ChatInfo.GetChannelRosterInfo")(channelIndex, rosterIndex) [C\_ChatInfo.GetClubStreamIDs](https://wow.gamepedia.com/API_C_ChatInfo.GetClubStreamIDs "API C ChatInfo.GetClubStreamIDs")("clubID") [C\_ChatInfo.GetNumActiveChannels](https://wow.gamepedia.com/API_C_ChatInfo.GetNumActiveChannels "API C ChatInfo.GetNumActiveChannels")() [C\_ChatInfo.GetRegisteredAddonMessagePrefixes](https://wow.gamepedia.com/API_C_ChatInfo.GetRegisteredAddonMessagePrefixes "API C ChatInfo.GetRegisteredAddonMessagePrefixes")() - Returns addon message prefixes the client is currently registered to receive. [C\_ChatInfo.IsAddonMessagePrefixRegistered](https://wow.gamepedia.com/API_C_ChatInfo.IsAddonMessagePrefixRegistered "API C ChatInfo.IsAddonMessagePrefixRegistered")("prefix") - Returns whether the prefix is registered. [C\_ChatInfo.IsPartyChannelType](https://wow.gamepedia.com/API_C_ChatInfo.IsPartyChannelType "API C ChatInfo.IsPartyChannelType")(channelType) [C\_ChatInfo.IsValidChatLine](https://wow.gamepedia.com/API_C_ChatInfo.IsValidChatLine "API C ChatInfo.IsValidChatLine")(\[chatLine\]) [C\_ChatInfo.RegisterAddonMessagePrefix](https://wow.gamepedia.com/API_C_ChatInfo.RegisterAddonMessagePrefix "API C ChatInfo.RegisterAddonMessagePrefix")("prefix") - Registers an addon message prefix. [C\_ChatInfo.ReplaceIconAndGroupExpressions](https://wow.gamepedia.com/API_C_ChatInfo.ReplaceIconAndGroupExpressions "API C ChatInfo.ReplaceIconAndGroupExpressions")("input" \[, noIconReplacement, noGroupReplacement\]) - Replaces icon and group tags like {rt4}, {diamond} and {g1}. [C\_ChatInfo.ResetDefaultZoneChannels](https://wow.gamepedia.com/API_C_ChatInfo.ResetDefaultZoneChannels "API C ChatInfo.ResetDefaultZoneChannels")() [C\_ChatInfo.SendAddonMessage](https://wow.gamepedia.com/API_C_ChatInfo.SendAddonMessage "API C ChatInfo.SendAddonMessage")("prefix", "message" \[, "chatType", "target"\]) - Sends a message to the hidden addon channel. [C\_ChatInfo.SendAddonMessageLogged](https://wow.gamepedia.com/API_C_ChatInfo.SendAddonMessageLogged "API C ChatInfo.SendAddonMessageLogged")("prefix", "message" \[, "chatType", "target"\]) - Sends a message to the hidden addon channel, the messages are logged server side. [C\_ChatInfo.SwapChatChannelsByChannelIndex](https://wow.gamepedia.com/API_C_ChatInfo.SwapChatChannelsByChannelIndex "API C ChatInfo.SwapChatChannelsByChannelIndex")(firstChannelIndex, secondChannelIndex) [C\_ChatBubbles.GetAllChatBubbles](https://wow.gamepedia.com/API_C_ChatBubbles.GetAllChatBubbles "API C ChatBubbles.GetAllChatBubbles")(\[includeForbidden\]) - Returns all active chat bubbles. [CancelEmote](https://wow.gamepedia.com/index.php?title=API_CancelEmote&action=edit&redlink=1 "API CancelEmote (page does not exist)")() - Stops an active emote, e.g. when closing the map. [ChannelBan](https://wow.gamepedia.com/API_ChannelBan "API ChannelBan")("channel", "name") - Bans a player from the specified channel. [ChannelInvite](https://wow.gamepedia.com/API_ChannelInvite "API ChannelInvite")("channel", "name") - Invites the specified user to the channel. [ChannelKick](https://wow.gamepedia.com/API_ChannelKick "API ChannelKick")("channel", "name") - Kicks the specified user from the channel. [ChannelModerator](https://wow.gamepedia.com/API_ChannelModerator "API ChannelModerator")("channel", "name") - Sets the specified player as the channel moderator. [ChannelToggleAnnouncements](https://wow.gamepedia.com/API_ChannelToggleAnnouncements "API ChannelToggleAnnouncements")("channel") - Toggles the channel to display announcements either on or off. [ChannelUnban](https://wow.gamepedia.com/API_ChannelUnban "API ChannelUnban")("channel", "name") - Unbans a player from a channel. [ChannelUnmoderator](https://wow.gamepedia.com/API_ChannelUnmoderator "API ChannelUnmoderator")("channel", "name") - Takes the specified user away from the moderator status. [DeclineChannelInvite](https://wow.gamepedia.com/API_DeclineChannelInvite "API DeclineChannelInvite")("channel") [DisplayChannelOwner](https://wow.gamepedia.com/API_DisplayChannelOwner "API DisplayChannelOwner")("channel") - Displays the owner of the specified channel in the default chat. [DoEmote](https://wow.gamepedia.com/API_DoEmote "API DoEmote")("emote"\[, "target"\]) - Perform a voice emote. [EnumerateServerChannels](https://wow.gamepedia.com/API_EnumerateServerChannels "API EnumerateServerChannels")() - Retrieves all available server channels (zone dependent). [GetAlternativeDefaultLanguage](https://wow.gamepedia.com/index.php?title=API_GetAlternativeDefaultLanguage&action=edit&redlink=1 "API GetAlternativeDefaultLanguage (page does not exist)")() [GetChannelDisplayInfo](https://wow.gamepedia.com/API_GetChannelDisplayInfo "API GetChannelDisplayInfo")(channelID) - Returns the name of the channel according to the given id. [GetChannelList](https://wow.gamepedia.com/API_GetChannelList "API GetChannelList")() - Retrieves joined channels. [GetChannelName](https://wow.gamepedia.com/API_GetChannelName "API GetChannelName")("channel" or index) - Retrieves the name from a specific channel. [GetDefaultLanguage](https://wow.gamepedia.com/API_GetDefaultLanguage "API GetDefaultLanguage")("unit") - Returns the default language that the unit is speaking after logon. [GetLanguageByIndex](https://wow.gamepedia.com/API_GetLanguageByIndex "API GetLanguageByIndex")(index) - Returns the language specified by the index. [GetNumChannelMembers](https://wow.gamepedia.com/index.php?title=API_GetNumChannelMembers&action=edit&redlink=1 "API GetNumChannelMembers (page does not exist)")() [GetNumDisplayChannels](https://wow.gamepedia.com/API_GetNumDisplayChannels "API GetNumDisplayChannels")() [GetNumGroupChannels](https://wow.gamepedia.com/index.php?title=API_GetNumGroupChannels&action=edit&redlink=1 "API GetNumGroupChannels (page does not exist)")() [GetNumLanguages](https://wow.gamepedia.com/API_GetNumLanguages "API GetNumLanguages")() - Returns the number of languages your character can speak. [GetSelectedDisplayChannel](https://wow.gamepedia.com/index.php?title=API_GetSelectedDisplayChannel&action=edit&redlink=1 "API GetSelectedDisplayChannel (page does not exist)")() [IsDisplayChannelModerator](https://wow.gamepedia.com/index.php?title=API_IsDisplayChannelModerator&action=edit&redlink=1 "API IsDisplayChannelModerator (page does not exist)")() [IsDisplayChannelOwner](https://wow.gamepedia.com/index.php?title=API_IsDisplayChannelOwner&action=edit&redlink=1 "API IsDisplayChannelOwner (page does not exist)")() [JoinChannelByName](https://wow.gamepedia.com/API_JoinChannelByName "API JoinChannelByName")("channel"\[, "password"\[, frameId\]\]) - Join the specified chat channel (with optional password, and register for specified frame). [JoinPermanentChannel](https://wow.gamepedia.com/API_JoinPermanentChannel "API JoinPermanentChannel")("channel"\[, "password"\[, frameId\]\]) - Permanently join the specified chat channel (with optional password, and register for specified frame) [JoinTemporaryChannel](https://wow.gamepedia.com/API_JoinTemporaryChannel "API JoinTemporaryChannel")("channel"\[, "password"\[, frameId\]\]) - Temporary join the specified chat channel (with optional password, and register for specified frame) [LeaveChannelByLocalID](https://wow.gamepedia.com/index.php?title=API_LeaveChannelByLocalID&action=edit&redlink=1 "API LeaveChannelByLocalID (page does not exist)")("localID") [LeaveChannelByName](https://wow.gamepedia.com/API_LeaveChannelByName "API LeaveChannelByName")("channel") - Leaves the channel with the specified name. [ListChannelByName](https://wow.gamepedia.com/API_ListChannelByName "API ListChannelByName")(channelMatch) - Lists members in the given channel to the chat window. [ListChannels](https://wow.gamepedia.com/API_ListChannels "API ListChannels")() - Lists all of the channels into the chat window. [LoggingChat](https://wow.gamepedia.com/API_LoggingChat "API LoggingChat")(newState) - Gets or sets whether logging chat to Logs\\WoWChatLog.txt is enabled. [LoggingCombat](https://wow.gamepedia.com/API_LoggingCombat "API LoggingCombat")(newState) - Gets or sets whether logging combat to Logs\\WoWCombatLog.txt is enabled. [SendChatMessage](https://wow.gamepedia.com/API_SendChatMessage "API SendChatMessage")("msg"\[, "chatType"\[, "language"\[, "channel"\]\]\]) - Sends a chat message. [SetChannelOwner](https://wow.gamepedia.com/API_SetChannelOwner "API SetChannelOwner")("channel", "name") - Sets the channel owner. [SetChannelPassword](https://wow.gamepedia.com/API_SetChannelPassword "API SetChannelPassword")("channel", "password") - Changes the password of the current channel. [SetSelectedDisplayChannel](https://wow.gamepedia.com/index.php?title=API_SetSelectedDisplayChannel&action=edit&redlink=1 "API SetSelectedDisplayChannel (page does not exist)")(channelID) DEPRECATED (8.1.0)[C\_ChatInfo.ReportPlayer](https://wow.gamepedia.com/API_C_ChatInfo.ReportPlayer "API C ChatInfo.ReportPlayer")(complaintType, playerLocation, comment) DEPRECATED (8.1.0)[C\_ChatInfo.CanReportPlayer](https://wow.gamepedia.com/API_C_ChatInfo.CanReportPlayer "API C ChatInfo.CanReportPlayer")(playerLocation) - Moved to C\_ReportSystem.