FANDOM


This function sends a message via chat to any number of chat channels or methods. It has no return value.

SendChatMessage("msg" [,"chatType" [,"language" [,"channel"]]])

msg = The text you wish to send.

chatType = The type of message this is. nil to use SAY.

"SAY", "EMOTE", "YELL", "PARTY", "GUILD", "OFFICER", "RAID", "RAID_WARNING", "BATTLEGROUND", "WHISPER", "CHANNEL", "AFK", "DND"

language = The language to send message with. nil to use faction common language.

"COMMON", "DARNASSIAN", "DWARVEN", "DRAENEI", "TAURAHE", "ORCISH", "GUTTERSPEAK", "DEMONIC", "DRACONIC", "KALIMAG", "TITAN", "GNOMISH", "TROLL"

channel = The channel to send this message to. Only used if chatType is WHISPER or CHANNEL. Use GetChannelName("channelName") to obtain this value, or use the whisper target's name.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.