Presence
Data structure indicating the Presence info for a person
Since
3.10.0
Functions
Link copied to clipboard
Returns the contact id of the person
Link copied to clipboard
Returns the custom status set by the person
Link copied to clipboard
Returns the expiry UTC time in milliseconds, in case of status like DND, OutOfOffice, Quiet, Busy etc. It can be compared with current time to calculate till when the getStatus is valid.
Link copied to clipboard
Returns the UTC time when the person was last active in milliseconds. It can be compared with current time to calculate the inactive time of the person
Link copied to clipboard
Returns the PresenceStatus of the person