Layer 220
constructor
account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode;

Parameters

Name Type Description
EmailPattern string The email (to which the code was sent) must match this pattern
Length int The length of the verification code

Gogram Example

// Creating AccountSentEmailCode constructor
obj := &tg.AccountSentEmailCode{
    EmailPattern: "...",
    Length: 0,
}