Raw.account.ChangePhone

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: 185
Constructor ID: 0x70c32edb

Property

  • phoneNumber : string

    New phone number

  • phoneCodeHash : string

    Phone code hash received when calling account.sendchangephonecode

  • phoneCode : string

    Phone code received when calling account.sendchangephonecode

Results

Raw.TypeUser