verify_phone()¶
- async Client.verify_phone()¶
Verify a phone number for Telegram Passport.
Usable by Users Bots- Parameters:
phone_number (
str) – Phone number.phone_code_hash (
str) – Phone code hash received from send_verify_phone_code.phone_code (
str) – SMS code received.
- Returns:
bool– On success, True is returned.