Contact

public struct Contact : Codable, Equatable, FunctionResult

Describes a user contact

  • Phone number of the user

    Declaration

    Swift

    public let phoneNumber: String
  • First name of the user; 1-255 characters in length

    Declaration

    Swift

    public let firstName: String
  • Last name of the user

    Declaration

    Swift

    public let lastName: String
  • Additional data about the user in a form of vCard; 0-2048 bytes in length

    Declaration

    Swift

    public let vcard: String
  • Identifier of the user, if known; otherwise 0

    Declaration

    Swift

    public let userId: Int32
  • Describes a user contact

    Declaration

    Swift

    public init(phoneNumber: String, firstName: String, lastName: String, vcard: String, userId: Int32)

    Parameters

    phoneNumber

    Phone number of the user

    firstName

    First name of the user; 1-255 characters in length

    lastName

    Last name of the user

    vcard

    Additional data about the user in a form of vCard; 0-2048 bytes in length

    userId

    Identifier of the user, if known; otherwise 0