Layer 220
constructor
auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery;

Parameters

Name Type Description
EmailPattern string The email to which the recovery code was sent must match this pattern.

Gogram Example

// Creating AuthPasswordRecovery constructor
obj := &tg.AuthPasswordRecovery{
    EmailPattern: "...",
}