Raw.account.ChangePhone
Change the phone number of the current account
account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User;export namespace Raw {
export namespace account {
export class ChangePhone {
constructor(params: { phoneNumber: string; phoneCodeHash: string; phoneCode: string }) {}
}
}
}This is a function constructor, you can use it as method when call invoke
Layer: 201
Constructor ID: 0x70c32edb
Property
phoneNumber: stringNew phone number
phoneCodeHash: stringPhone code hash received when calling account.sendchangephonecode
phoneCode: stringPhone code received when calling account.sendchangephonecode