We want to give User Interface Add-On authors a heads up about a change in upcoming patch 5.4.7 (release date: TBD)
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)Receive event:
- 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.
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.Send event: BNSendFriendInvite(<BattleTag™/account name>,<optional note>)Receive event to see the note text: BNGetFriendInviteInfoByAddon(<index>)
Edit: Updated total maximum message size to 4095 bytes (up from 255 bytes) in an upcoming PTR build.
Edit 2: Added information for BNSendFriendInvite.