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
: stringPhone number in international format
apiId
: numberApplication identifier (see app configuration)
apiHash
: stringApplication secret hash (see app configuration)
settings
: Raw.TypeCodeSettingsSettings for the code type to send