auth.sentCode
Contains info about a sent verification code.
type tg.AuthSentCode struct { /* ... */ }
Implements auth.SentCode.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Type | AuthSentCodeTypeClass | yes | Phone code type |
PhoneCodeHash | string | yes | Phone code hash, to be stored and later re-used with auth.signIn |
NextType | AuthCodeTypeClass | — | Phone code type that will be sent next, if the phone code is not received within timeout seconds: to send it use auth.resendCode |
Timeout | int | — | Timeout for reception of the phone code |
References
- Official documentation
- Generated Go reference
- TL definition:
auth.sentCode#5e002502