C_ChatInfo. SendAddonMessage
functionimplementedavailable in: camelot
Sends a message over an addon comm channel.
function C_ChatInfo.SendAddonMessage( prefix: string, message: string, chatType: string?, target: string?): SendAddonMessageResultParameters
| name | type | description |
|---|---|---|
prefix | string | Message prefix, can be used as your addon identifier; at most 16 characters. |
message | string | Text to send, at most 255 characters. All characters (decimal ID 1-255) are permissible except NULL (ASCII 0). |
chatType | string? | The addon channel to send to. |
target | string? | The player name or custom channel number receiving the message for "WHISPER" or "CHANNEL" chatTypes. |
Returns
result · SendAddonMessageResult · Result code indicating if the message has been enqueued by the API for submission. This does not mean that the message has yet been sent, and may still be subject to any server-side throttling.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ChatInfo system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.