Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

CHAT_MSG_CHANNEL

From Wowpedia
Jump to: navigation, search

Fired when the client receives a channel message.

CHAT_MSG_CHANNEL: "text", "playerName", "languageName", "channelName", "playerName2", "specialFlags", zoneChannelID, channelIndex, "channelBaseName", unused, lineID, "guid", bnSenderID, isMobile, isSubtitle, hideSenderInLetterbox, supressRaidIcons

Payload

1. text 
string
2. playerName 
string
3. languageName 
string
4. channelName 
string - Channel name with number ex: "1. General - Stormwind City"
5. playerName2 
string - Second player name when two users are passed for a CHANNEL_NOTICE_USER (E.G. x kicked y)
6. specialFlags 
string - "CHAT_FLAG_"..specialFlags: AFK/DND/GM
7. zoneChannelID 
number - Zone ID used for generic system channels (1 for General, 2 for Trade, 22 for LocalDefense, 23 for WorldDefense and 26 for LFG). Not used for custom channels or if you joined an Out-Of-Zone channel ex: "General - Stormwind City"
8. channelIndex 
number
9. channelBaseName 
string - Channel name without number (this is _sometimes_ in lowercase)
10. unused 
number
11. lineID 
number - Chat lineID used for reporting the chat message.
12. guid 
string
13. bnSenderID 
number
14. isMobile 
boolean
15. isSubtitle 
boolean
16. hideSenderInLetterbox 
boolean
17. supressRaidIcons 
boolean

See also