Class TdApi.ImportContacts

Enclosing class:
TdApi

public static 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.ImportedContact[] contacts
      The list of contacts to import or edit.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • ImportContacts

      public ImportContacts()
      Default constructor for a function, which adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.

      Returns ImportedContacts

    • ImportContacts

      public ImportContacts(TdApi.ImportedContact[] contacts)
      Creates a function, which adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.

      Returns ImportedContacts

      Parameters:
      contacts - The list of contacts to import or edit.
  • Method Details