Raw.auth.SignUp

Raw.auth.SignUp

Registers a validated phone number in the system.

auth.signUp#aac7b717 flags:# no_joined_notifications:flags.0?true phone_number:string phone_code_hash:string first_name:string last_name:string = auth.Authorization;
export namespace Raw {
  export namespace auth {
    export class SignUp {
      constructor(params: {
        noJoinedNotifications?: boolean;
        phoneNumber: string;
        phoneCodeHash: string;
        firstName: string;
        lastName: string;
      }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0xaac7b717

Property

  • noJoinedNotifications : boolean or undefined

    If set, users on telegram that have already added phoneNumber to their contacts will not receive signup notifications about this user.

  • phoneNumber : string

    Phone number in the international format

  • phoneCodeHash : string

    Sms-message id

  • firstName : string

    New user first name

  • lastName : string

    New user last name

Results

Raw.auth.TypeAuthorization