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 numUnreadMessagesint number of currently unread messages
callbackfunction - Supported platforms
-
- iOS(7.0)
- Android(15)