Package org.drinkless.tdlib
Class TdApi.ImportContacts
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.ImportContacts
-
- Enclosing class:
- TdApi
public static class TdApi.ImportContacts extends TdApi.Function
Adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.Returns
ImportedContacts
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.Contact[]contactsThe list of contacts to import or edit; contacts' vCard are ignored and are not imported.
-
Constructor Summary
Constructors Constructor Description ImportContacts()Default constructor for a function, which adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.ImportContacts(TdApi.Contact[] contacts)Creates a function, which adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
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
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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.Contact[] 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; contacts' vCard are ignored and are not imported.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-