Open main menu

BNSendGameData is the battle.net chat-equivalent of SendAddonMessage().

BNSendGameData(presenceID, addonPrefix, message)

Arguments

presenceID
number - A unique numeric identifier for the friend during this session. -- get it with BNGetFriendInfo()
addonPrefix
string - <=16 bytes, cannot include a colon
message
string - <=4078 bytes

On receive, will trigger event BN_CHAT_MSG_ADDON with arguments addonPrefix, message, "WHISPER", senderPresenceID

Patch changes

External links

See also