Skip to content

Import contact with unknown phone number #606

@zevlg

Description

@zevlg

In official app it is possible to import user to contact list even if phone number is unknown.

I'm trying to do the same using TDLib 1.4.0, but

{"@type":"importContacts","contacts":[{"@type":"contact","user_id":XXXX,"first_name":"Лена"}],"@extra":9199}
==>
{":@type": "importedContacts", ":user_ids":[0], ":importer_count":[0], ":@extra" 9199}

Am I doing something stupid? What the correct way to add user to contacts without knowing his number?

thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions