Layer 224
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
AuthSentCodeTypeSms
The code was sent via SMS
AuthSentCodeTypeFragmentSms
The code was delivered via fragment. com.
AuthSentCodeTypeMissedCall
The code will be sent via a flash phone call, that will be closed immediately. The last digits of th
AuthSentCodeTypeEmailCode
The code was sent via the previously configured login email
AuthSentCodeTypeCall
The code will be sent via a phone call: a synthesized voice will tell the user which verification co
AuthSentCodeTypeFlashCall
The code will be sent via a flash phone call, that will be closed immediately. The phone code will t
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
AuthSentCodeTypeSmsPhrase
The code was sent via SMS as a secret phrase starting with the word specified in beginning
AuthSentCodeTypeSmsWord
The code was sent via SMS as a secret word, starting with the letter 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.AuthSentCodeTypeSms{} var _ tg.AuthSentCodeType = &tg.AuthSentCodeTypeFragmentSms{} var _ tg.AuthSentCodeType = &tg.AuthSentCodeTypeMissedCall{} var _ tg.AuthSentCodeType = &tg.AuthSentCodeTypeEmailCode{} // ... and 6 more constructors