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 undefinedIf set, users on telegram that have already added phoneNumber to their contacts will not receive signup notifications about this user.
phoneNumber
: stringPhone number in the international format
phoneCodeHash
: stringSms-message id
firstName
: stringNew user first name
lastName
: stringNew user last name