BNSendWhisper

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 3.3.5 / 1.13.2

Sends a whisper to Battle.net friends.

BNSendWhisper(bnetAccountID, message)

Arguments

bnetAccountID
number - A unique numeric identifier for the friend during this session. You can get bnetAccountID from C_BattleNet.GetFriendAccountInfo()
message
string - Message text. Must be less than 4096 bytes.

The recipient will receive a CHAT_MSG_BN_WHISPER event, and the sender will also get a mirrored response from the server as CHAT_MSG_BN_WHISPER_INFORM.