Layer 220
AuthSentCodeType
Abstract type representing one of 11 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.AuthSentCodeType interface.
Use any of the following constructors:
AuthSentCodeTypeApp
The code was sent through the telegram app
AuthSentCodeTypeCall
The code will be sent via a phone call: a synthesized voice will tell the user which verification co
AuthSentCodeTypeSms
The code was sent via SMS
AuthSentCodeTypeFlashCall
The code will be sent via a flash phone call, that will be closed immediately. The phone code will t
AuthSentCodeTypeEmailCode
The code was sent via the previously configured login email
AuthSentCodeTypeMissedCall
The code will be sent via a flash phone call, that will be closed immediately. The last digits of th
AuthSentCodeTypeSetUpEmailRequired
The user should add and verify an email address in order to login as described here.
AuthSentCodeTypeFirebaseSms
An authentication code should be delivered via SMS after Firebase attestation, as described in the a
AuthSentCodeTypeSmsWord
The code was sent via SMS as a secret word, starting with the letter specified in beginning
AuthSentCodeTypeFragmentSms
The code was delivered via fragment. com.
AuthSentCodeTypeSmsPhrase
The code was sent via SMS as a secret phrase starting with the word specified in beginning
Gogram Example
// auth.SentCodeType is an interface type // You can use any of the following constructors: var _ tg.AuthSentCodeType = &tg.AuthSentCodeTypeApp{} var _ tg.AuthSentCodeType = &tg.AuthSentCodeTypeCall{} var _ tg.AuthSentCodeType = &tg.AuthSentCodeTypeSms{} var _ tg.AuthSentCodeType = &tg.AuthSentCodeTypeFlashCall{} var _ tg.AuthSentCodeType = &tg.AuthSentCodeTypeEmailCode{} // ... and 6 more constructors