Module: chat

chat

Chat module

Methods

staticnewMessageNotification(numUnreadMessages, callback)

Notification that the Unread Messages badge should be revealed or updated with the number of unread messages. If numUnreadMessages <= 0, the badge will be removed.

Name Type Description
numUnreadMessages int

number of currently unread messages

callback function
Supported platforms
  • iOS(7.0)
  • Android(15)