Hierarchy

  • UserEventHandlerParams
    • UserEventHandler

Constructors

  • Parameters

    • params: UserEventHandlerParams = {}

    Returns UserEventHandler

Properties

onFriendsDiscovered?: ((users: User[]) => void) = noop

A callback for when a message is received.

onTotalUnreadMessageCountChanged?: ((unreadMessageCount: UnreadMessageCount) => void) = noop

Gets the subscribed total number of unread message of all GroupChannels and FeedChannels the current user has joined, and number of unread message of GroupChannel for all subscribed custom type.

onTotalUnreadMessageCountUpdated?: ((totalCount: number, countByCustomType: object) => void) = noop