Module tdlight.api

Class TdApi.ImportContacts

Enclosing class:
TdApi

public static final class TdApi.ImportContacts extends TdApi.Function<TdApi.ImportedContacts>
Adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored. Returns ImportedContacts
  • Field Details

    • contacts

      public TdApi.Contact[] contacts
      The list of contacts to import or edit; contacts' vCard are ignored and are not imported.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ImportContacts

      public ImportContacts()
      Adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored. Returns ImportedContacts
    • ImportContacts

      public ImportContacts(TdApi.Contact[] contacts)
      Adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored. Returns ImportedContacts
      Parameters:
      contacts - Contact[] The list of contacts to import or edit; contacts' vCard are ignored and are not imported.
    • ImportContacts

      public ImportContacts(DataInput input) throws IOException
      Adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored. Returns ImportedContacts
      Throws:
      IOException
  • Method Details