v0.13.8

CHAT_MSG_COMMUNITIES_CHANNEL

eventnot implementedC_ChatInfoavailable in: camelot

Fires when a message is posted to a community chat stream shown in the chat frame. · description by wowlua

declarationwowlua
declare event CHAT_MSG_COMMUNITIES_CHANNEL(text: string, playerName: string, languageName: string, channelName: string, playerName2: string, specialFlags: string, zoneChannelID: number, channelIndex: number, channelBaseName: string, languageID: number, lineID: number, guid: string, bnSenderID: number, isMobile: boolean, isSubtitle: boolean, hideSenderInLetterbox: boolean, suppressRaidIcons: boolean, discordInfo: DiscordChatInfo)

Payload

#nametypedescription
1textstringThe message text.
2playerNamestringThe sender's name.
3languageNamestringThe language the message is in, or an empty string.
4channelNamestringThe channel's full name, with its number, for channel messages; otherwise an empty string.
5playerName2string
6specialFlagsstringThe sender's flag, such as "GM", "GUIDE" or "NEWCOMER", or an empty string.
7zoneChannelIDnumberThe ID of the zone channel the message came through, or 0.
8channelIndexnumberThe channel's number in the player's channel list, for channel messages.
9channelBaseNamestringThe channel's name without its number, for channel messages.
10languageIDnumberThe ID of the language the message is in.
11lineIDnumberThe chat line's ID, for the C_ChatInfo chat-line functions.
12guidstringThe sender's GUID.
13bnSenderIDnumberThe sender's Battle.net account ID, for Battle.net messages.
14isMobilebooleanWhether the sender is using the mobile app.
15isSubtitleboolean
16hideSenderInLetterboxbooleanWhether the message belongs only in the cinematic letterbox; Blizzard's chat frames skip it.
17suppressRaidIconsbooleanWhether raid target expressions such as {star} in the text are left as text.
18discordInfoDiscordChatInfoDetails of the Discord user, for messages relayed from Discord.

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

not implementedFor an event, not implemented means the emulated client never fires it by itself. Fire it from a test with mock.fireEvent, or mock.fireUnitEvent for a unit event. The event must be one the flavor documents, and its payload is checked against the documentation. what the statuses mean

sources

Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ChatInfo system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.