v0.13.8

C_ChatInfo.SendChatMessage

functionimplementedavailable in: camelot

Sends a chat message.

signaturewowlua
function C_ChatInfo.SendChatMessage(    message: string,    chatType: SendChatMessageType?,    languageID: number?,    target: string?)

Parameters

nametypedescription
messagestring
chatTypeSendChatMessageType?Chat type string ('SAY', 'EMOTE', etc.). Defaults to 'SAY' if not specified.
languageIDnumber?Language to send the message in.
targetstring?Name of the player to send a message to. Only applies to chat types that support targeted messages.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

  • Blizzard's documentation marks it as restricted in some situations.

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 ↗.