libtd-ktx / kotlinx.telegram.coroutines / importContacts
importContacts
suspend fun
TelegramFlow
.importContacts(contacts:
Array
<
Contact
>?):
ImportedContacts
Suspend function, which adds new contacts or edits existing contacts by their phone numbers; contacts’ user identifiers are ignored.
Parameters
contacts
- The list of contacts to import or edit; contacts’ vCard are ignored and are not
imported.
Return ImportedContacts Represents the result of an ImportContacts request.