API BNSendWhisper

From Wowpedia
Jump to: navigation, search

Sends a whisper to Battle.net friends.

BNSendWhisper(presenceID, message)


Number - A unique numeric identifier for the friend during this session. You can convert an index in the friend's list to a presence ID with BNGetFriendInfo()
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.