API Type ChatTypeId
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)"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.