Adds a presence listener.
The presence listener to add.
Gets the current presence state of specified users.
The array of user IDs whose current presence state you want to check.
The current presence states of the specified users.
Uses the pagination to get a list of users whose presence states you have subscribed to.
The current page number, starting from 1.
The number of subscribed users that you expect to get on each page.
The user IDs of your subscriptions. The SDK returns null
if you does not subscribe to the presence state of any users.
Publishes a custom presence state.
The extension information of the presence state. It can be set as nil.
Clears all presence listeners.
Removes a presence listener.
The presence listener to remove.
Subscribes to the presence state of a user.
If the subscription succeeds, the subscriber will receive the callback when the presence state of the user changes.
The array of user IDs users whose presence state you want to subscribe to.
The subscription duration in seconds. The duration cannot exceed 2,592,000 (30×24×3600) seconds, i.e., 30 days.
The current presence state of users to whom you have subscribed.
Unsubscribes from the presence state of the unspecified users.
The array of user IDs whose presence state you want to unsubscribe from.
Generated using TypeDoc
export manager