Layer 224
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 AccountSentEmailCodeObj constructor
obj := &tg.AccountSentEmailCodeObj{
    EmailPattern: "Hello, World!",
    Length: 42,
}