search_user_by_phone_number


Description:

public async User search_user_by_phone_number (string phone_number, bool only_local) throws TDLibError

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

Parameters:

phone_number

Phone number to search for

only_local

Pass true to get only locally available information without sending network requests