Raw.auth.SendCode

Raw.auth.SendCode

Send the verification code for login

auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode;
export namespace Raw {
  export namespace auth {
    export class SendCode {
      constructor(params: {
        phoneNumber: string;
        apiId: number;
        apiHash: string;
        settings: Raw.TypeCodeSettings;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0xa677244f

Property

  • phoneNumber : string

    Phone number in international format

  • apiId : number

    Application identifier (see app configuration)

  • apiHash : string

    Application secret hash (see app configuration)

  • settings : Raw.TypeCodeSettings

    Settings for the code type to send

Results

Raw.auth.TypeSentCode