ImportContacts

public struct ImportContacts : Codable, Equatable, TDFunction

Adds new contacts or edits existing contacts by their phone numbers; contacts’ user identifiers are ignored

  • Undocumented

    Declaration

    Swift

    public typealias Result = ImportedContacts
  • The list of contacts to import or edit; contacts’ vCard are ignored and are not imported

    Declaration

    Swift

    public let contacts: [Contact]
  • Adds new contacts or edits existing contacts by their phone numbers; contacts’ user identifiers are ignored

    Declaration

    Swift

    public init(contacts: [Contact])

    Parameters

    contacts

    The list of contacts to import or edit; contacts’ vCard are ignored and are not imported