Raw.auth.SentCodeTypeEmailCode
The code was sent via the previously configured login email
auth.sentCodeTypeEmailCode#f450f59b flags:# apple_signin_allowed:flags.0?true google_signin_allowed:flags.1?true email_pattern:string length:int reset_available_period:flags.3?int reset_pending_date:flags.4?int = auth.SentCodeType;
export namespace Raw {
export namespace auth {
export class SentCodeTypeEmailCode {
constructor(params: {
appleSigninAllowed?: boolean;
googleSigninAllowed?: boolean;
emailPattern: string;
length: number;
resetAvailablePeriod?: number;
resetPendingDate?: number;
}) {}
}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xf450f59b
Property
appleSigninAllowed
: boolean or undefinedWhether authorization through apple id is allowed
googleSigninAllowed
: boolean or undefinedWhether authorization through google id is allowed
emailPattern
: stringPattern of the email
length
: numberLength of the sent verification code
resetAvailablePeriod
: number or undefinedClients should wait for the specified amount of seconds before allowing the user to invoke auth.resetloginemail (will be 0 for premium users).
resetPendingDate
: number or undefinedAn email reset was already requested, and will occur at the specified date.