>wowhelm_
~/forever/addon-api/function/C_ChatInfo.SendChatMessage

C_ChatInfo.SendChatMessage

documented function · ChatInfo
C_ChatInfo.SendChatMessage(message, chatType?, languageID?, target?)
──ARGUMENTS
message
cstring
chatType
SendChatMessageType, optional (Chat type string ('SAY', 'EMOTE', etc.). Defaults to 'SAY' if not specified.)
languageID
number, optional (Language to send the message in.)
target
cstring, optional (Name of the player to send a message to. Only applies to chat types that support targeted messages.)
──DETAILS
Has Restrictions
true
Restricted For Macro Chat Messages
true
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.