Retrieves the current members present on the channel and the metadata for each member, such as their PresenceAction and ID. Returns a PaginatedResult object, containing an array of PresenceMessage objects.
A promise which, upon success, will be fulfilled with a PaginatedResult object containing an array of PresenceMessage objects. Upon failure, the promise will be rejected with an ErrorInfo object which explains the error.
Optional
params: RestPresenceParams
A set of parameters which are used to specify which presence members should be retrieved.
Retrieves a PaginatedResult object, containing an array of historical PresenceMessage objects for the channel. If the channel is configured to persist messages, then presence messages can be retrieved from history for up to 72 hours in the past. If not, presence messages can only be retrieved from history for up to two minutes in the past.
A promise which, upon success, will be fulfilled with a PaginatedResult object containing an array of PresenceMessage objects. Upon failure, the promise will be rejected with an ErrorInfo object which explains the error.
Optional
params: RestHistoryParams
A set of parameters which are used to specify which messages should be retrieved.
Generated using TypeDoc
Enables the retrieval of the current and historic presence set for a channel.