PersonInfo

class PersonInfo

Information about a person

  • id

    The person id of that person

    Declaration

    Swift

    let id: String
  • The displayed name of the person

    Declaration

    Swift

    let displayName: String
  • This person’s labels

    Note: Available only when the SDK is working with version 8 or newer of the Unblu server.

    Declaration

    Swift

    let labels: [String]?
  • The unique username of the person, if available.

    Declaration

    Swift

    var username: String?
  • The authentication role of the person (for example, “agent” or “visitor”), if available.

    Declaration

    Swift

    var authenticationRole: String?
  • An external source identifier associated with this person, if available.

    Declaration

    Swift

    var sourceId: String?
  • The person’s email address, if available.

    Declaration

    Swift

    var email: String?
  • The person’s phone number, if available.

    Declaration

    Swift

    var phoneNumber: String?
  • The person’s conversation participation type (for example, “owner” or “participant”), if available.

    Declaration

    Swift

    var conversationParticipationType: String?
  • Returns a Boolean value indicating whether two values are equal.

    Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.

    Declaration

    Swift

    static func == (lhs: PersonInfo, rhs: PersonInfo) -> Bool

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.