Raw.auth.SentCodeTypeEmailCode

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 undefined

    Whether authorization through apple id is allowed

  • googleSigninAllowed : boolean or undefined

    Whether authorization through google id is allowed

  • emailPattern : string

    Pattern of the email

  • length : number

    Length of the sent verification code

  • resetAvailablePeriod : number or undefined

    Clients 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 undefined

    An email reset was already requested, and will occur at the specified date.