Determine if a user is online or offline using a range of metrics.
The userId to check
The maximum time a user may be inactive for before they are considered offline.
Optional
defaultOnline: booleanShould the user be online or offline if no data is found. Defaults to opts.defaultOnline
Generated using TypeDoc
This class provides a "one stop shop" to determine if a user is online. It uses a combination of a local cache, presence endpoints and admin APIs in that order.