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:
AuthSentCodeTypeCall
The code will be sent via a phone call: a synthesized voice will tell the user which verification co
AuthSentCodeTypeApp
The code was sent through the telegram app
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
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.
AuthSentCodeTypeFragmentSms
The code was delivered via fragment. com.
AuthSentCodeTypeFirebaseSms
An authentication code should be delivered via SMS after Firebase attestation, as described in the a
AuthSentCodeTypeEmailCode
The code was sent via the previously configured login email
AuthSentCodeTypeSmsWord
The code was sent via SMS as a secret word, starting with the letter specified in beginning
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.AuthSentCodeTypeCall{} var _ tg.AuthSentCodeType = &tg.AuthSentCodeTypeApp{} var _ tg.AuthSentCodeType = &tg.AuthSentCodeTypeSms{} var _ tg.AuthSentCodeType = &tg.AuthSentCodeTypeFlashCall{} var _ tg.AuthSentCodeType = &tg.AuthSentCodeTypeMissedCall{} // ... and 6 more constructors