Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Fires when the client receives an addon message.
CHAT_MSG_ADDON: prefix, text, channel, sender, target, zoneChannelID, localID, name, instanceID
Payload[]
- 1. prefix
- string - The registered prefix as used in C_ChatInfo.RegisterAddonMessagePrefix()
- 2. text
- string - The message body
- 3. channel
- string - The addon channel's chat type, e.g. "PARTY"
- 4. sender
- string - Player who initiated the message
- 5. target
- string - The channel index and name, e.g.
"4. test"
; or for the "WHISPER" chat type, same assender
- 6. zoneChannelID
- number - Seems to be always 0
- 7. localID
- number - The channel index or 0 if not applicable.
- 8. name
- string - The channel name or an empty string if not applicable.
- 9. instanceID
- number - Seems to be always 0
Details[]
Related API | C_ChatInfo.SendAddonMessage |
Related Events | CHAT_MSG_ADDON_LOGGED |
Patch changes[]
Patch 1.12.0 (2006-08-22): Added.