ChangePhone¶
-
class
pyrogram.raw.functions.account.
ChangePhone
¶ Change the phone number of the current account.
- Details
Layer:
126
ID:
0x70c32edb
- Parameters
phone_number (
str
) – New phone number.phone_code_hash (
str
) – Phone code hash received when calling account.sendChangePhoneCode.phone_code (
str
) – Phone code received when calling account.sendChangePhoneCode.
- Returns
User
– Object defines a user.