Package it.tdlight.jni
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 Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.Contact[]
contacts
The list of contacts to import or edit; contacts' vCard are ignored and are not imported. -
Constructor Summary
Constructors Constructor Description ImportContacts()
Adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.ImportContacts(TdApi.Contact[] contacts)
Adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.ImportContacts(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
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:
- Constant Field Values
-
-
Constructor Details
-
ImportContacts
public ImportContacts()Adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.Returns
ImportedContacts
-
ImportContacts
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
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-