Raw.auth.SignIn
Signs in a user with a validated phone number.
auth.signIn#8d52a951 flags:# phone_number:string phone_code_hash:string phone_code:flags.0?string email_verification:flags.1?EmailVerification = auth.Authorization;
export namespace Raw {
export namespace auth {
export class SignIn {
constructor(params: {
phoneNumber: string;
phoneCodeHash: string;
phoneCode?: string;
emailVerification?: Raw.TypeEmailVerification;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x8d52a951
Property
phoneNumber
: stringPhone number in the international format
phoneCodeHash
: stringSms-message id, obtained from auth.sendcode
phoneCode
: string or undefinedValid numerical code from the sms-message
emailVerification
: Raw.TypeEmailVerification or undefinedEmail verification code or token