WoW API type: ChatTypeId

From AddOn Studio
Revision as of 07:29, 6 April 2013 by WoWWiki>Jh404
Jump to navigation Jump to search

API types

These are the chat types used by SendChatMessage("msg" [,"type" [,"lang" [,"channel"] ] ]).

Values

"SAY"
Speech to nearby players (/say).
"EMOTE"
Text emote to nearby players (/em) (Use DoEmote("action") for voice emotes)
"YELL"
Yell to not so nearby players (/yell).
"PARTY"
Message to party members (/p)
"GUILD"
Message to guild members (/g)
"OFFICER"
Message to guild officers (/o)
"RAID"
Message to raid members (/raid)
"RAID_WARNING"
Warning to raid members (/rw)
"INSTANCE_CHAT"
Message to battleground instance group (/i)
"BATTLEGROUND"
Message to battleground raid group (/bg)
"WHISPER"
Message to a specific other player (/whisper) - Player name provided as channel.
"CHANNEL"
Message to a specific chat channel (/1,/2,...) - Channel number provided as channel


"AFK"
Not a real channel; sets your AFK message to the message you send. Send an empty message to clear AFK status.
"DND"
Not a real channel; sets your DND message to the message you send. Send an empty message to clear DND status.