PresenceHandle

interface PresenceHandle

Data structure representing the contacts whose presence state are being watched. PresenceHandle with same contactId can have different handle values returned by getHandle

Since

3.10.0

Functions

Link copied to clipboard
abstract fun getContactId(): String

Returns the contact id of the person whose presence state is being watched.

Link copied to clipboard
abstract fun getHandle(): Long

Returns a unique handle associated with the contact, whose presence state is being watched.

Link copied to clipboard
abstract fun isValid(): Boolean

Returns false if the contact Id is not valid else returns true. Bots will return as false.