Hierarchy

  • UserEventHandlerParams
    • UserEventHandler

Constructors

  • Parameters

    • params: UserEventHandlerParams = {}

    Returns UserEventHandler

Properties

onFriendsDiscovered?: ((users) => void) = noop

Type declaration

    • (users): void
    • A callback for when a message is received.

      Parameters

      Returns void

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

Type declaration

    • (unreadMessageCount): void
    • 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.

      Parameters

      Returns void

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

Type declaration

    • (totalCount, countByCustomType): void
    • Parameters

      • totalCount: number
      • countByCustomType: object

      Returns void

      Deprecated

Generated using TypeDoc