View Source ExTDLib.Method.SearchUserByPhoneNumber (ExTDLib v0.0.4)

Searches a user by their phone number. Returns a 404 error if the user can't be found. Returns object_ptr<User>.

NameTypeDescription
phone_numberstringPhone number to search for.

More details on telegram's documentation.