Layer 220
constructor
emailVerifyPurposeLoginSetup#4345be73 phone_number:string phone_code_hash:string = EmailVerifyPurpose;

Parameters

Name Type Description
PhoneNumber string Phone number
PhoneCodeHash string Phone code hash as specified by the documentation

Gogram Example

// Creating EmailVerifyPurposeLoginSetup constructor
obj := &tg.EmailVerifyPurposeLoginSetup{
    PhoneNumber: "...",
    PhoneCodeHash: "...",
}