#1 - Jan. 27, 2014, 7:26 p.m.
In patch 5.4.7, BattleTag™ or Real ID friends will only be able to send 10 chat messages every 10 seconds over Battle.net® chat. We’re adding a new way for User Interface Add-Ons to send communications information via a new send function and receive event.
Send function:
- BNSendGameData (presenceID, addonPrefix, message)
- Prefix must be <= 16 bytes and cannot include a colon.
- The message should be <= 4078 bytes. This is 4095 bytes minus the 16 byte prefix and an added colon separator.
Receive event:
- BN_CHAT_MSG_ADDON - prefix, text, “WHISPER”, senderToonID
In addition, User Interface Add-Ons are now also able to send and receive friend invites with a note.
Edit: Updated total maximum message size to 4095 bytes (up from 255 bytes) in an upcoming PTR build.
Edit 2: Added information for BNSendFriendInvite.