BadgeChangedCallback: ((unread, alert) => void)

Type declaration

    • (unread, alert): void
    • Callback function type for handling badge changes.

      Parameters

      • unread: number

        The total number of unread notifications. If you have unread notifications but no alert, a red dot is displayed on the channel button to signify unread messages.

      • alert: number

        The number of important unread notifications. This count is displayed as a number on the channel button.

      Returns void

Generated using TypeDoc