PresenceHandle

public struct PresenceHandle

This struct represents the contacts whose presence state are being watched. PresenceHandle with same contactId can have different handle values.

Since

3.10.0
  • The contactId of the person whose presence state is being watched.

    Since

    3.10.0

    Declaration

    Swift

    public private(set) var contactId: String { get }
  • A unique handle associated with the contact, whose presence state is being watched.

    Since

    3.10.0

    Declaration

    Swift

    public private(set) var handle: NSNumber { get }
  • Returns false if the contact Id is not valid else returns true. Bots will return as false.

    Since

    3.10.0

    Declaration

    Swift

    public private(set) var isValid: Bool { get }