ChangeImportedContacts class final
ChangeImportedContacts (changeImportedContacts) - TDLib function
Changes imported contacts using the list of contacts saved on the device. Imports newly added contacts and, if at least the file database is enabled, deletes recently deleted contacts.. Query result depends on the result of the previous query, so only one query is possible at the same time.
- contacts: The new list of contacts, contact's vCard are ignored and are not imported.
ImportedContacts is returned on completion.
- Inheritance
-
- Object
- TdFunction
- ChangeImportedContacts
Constructors
-
ChangeImportedContacts({required List<
Contact> contacts}) -
ChangeImportedContacts (changeImportedContacts) - TDLib function
const
Properties
-
contacts
→ List<
Contact> -
The new list of contacts, contact's vCard are ignored and are not imported
final
- currentObjectId → String
-
TDLib object type for current class instance
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{List< Contact> ? contacts}) → ChangeImportedContacts - Copy model with modified properties.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
Convert model to TDLib JSON format
override
-
toString(
) → String -
Convert model to TDLib JSON format, encoded into String.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultObjectId → const String
- TDLib object type