Class TdApi.ImportContacts
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.ImportedContacts>
dev.voroby.springframework.telegram.client.TdApi.ImportContacts
- Enclosing class:
- TdApi
Adds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.
Returns ImportedContacts
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The list of contacts to import or edit; contacts' vCard are ignored and are not imported. -
Constructor Summary
ConstructorDescriptionDefault 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
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
contacts
The list of contacts to import or edit; contacts' vCard are ignored and are not imported. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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
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 Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-