StaticlistReturns the array of presences, with selected metadata.
Optionalchooser: PresenceChooser<T>StaticsyncUsed to sync a diff of presence join and leave
events from the server, as they happen. Like syncState, syncDiff
accepts optional onJoin and onLeave callbacks to react to a user
joining or leaving from a device.
OptionalonJoin: PresenceCallbackOptionalonLeave: PresenceCallbackStaticsyncUsed to sync the list of presences on the server
with the client's state. An optional onJoin and onLeave callback can
be provided to react to changes in the client's local presences across
disconnects and reconnects with the server.
OptionalonJoin: PresenceCallbackOptionalonLeave: PresenceCallback
Initializes the Presence
Param: channel
The Channel
Param: opts
The options, for example
{events: {state: "state", diff: "diff"}}