Raw.account.VerifyPhone

Raw.account.VerifyPhone

Verify a phone number for telegram passport.

account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool;
export namespace Raw {
  export namespace account {
    export class VerifyPhone {
      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: 0x4dd3a7f6

Property

  • phoneNumber : string

    Phone number

  • phoneCodeHash : string

    Phone code hash received from the call to account.sendverifyphonecode

  • phoneCode : string

    Code received after the call to account.sendverifyphonecode

Results

boolean