5.4.7 changes to Battle.net® chat

Forum Avatar
Community Manager
#1 - Jan. 27, 2014, 7:26 p.m.
Blizzard Post
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)
  • 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.

  • 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.
  • Forum Avatar
    Community Manager
    #21 - Jan. 28, 2014, 2:38 a.m.
    Blizzard Post
    01/27/2014 04:51 PMPosted by Tinymasher
    is the message limited to 238 or is the combination of addonPrefix + message still limited to 255?

    You don't have to use all 4095 bytes.

    The message is [16 bytes used for the addonPrefix] + ":" + [4078 bytes remaining for message] = 4095 bytes max total.

    Edit: Updated total maximum message size to 4095 bytes (up from 255 bytes.)
    Forum Avatar
    Community Manager
    #26 - Jan. 29, 2014, 6:19 p.m.
    Blizzard Post
    Hello. We're increasing the maximum message size to 4095 bytes in an upcoming PTR build.

    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
    Forum Avatar
    Community Manager
    #28 - Jan. 29, 2014, 6:40 p.m.
    Blizzard Post
  • The message should be <= 4095 bytes. This is 4078 bytes minus the 16 byte prefix and an added colon separator.


  • Just making sure, the 4078 and 4095 are backwards here right?

    Yeah. Fixed it.