Layer 220
AuthCodeType
Abstract type representing one of 5 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.AuthCodeType interface.
Use any of the following constructors:
AuthCodeTypeSms
The next time, the authentication code will be delivered via an immediately canceled incoming call.
AuthCodeTypeCall
The next time, the authentication code is to be delivered via an outgoing phone call.
AuthCodeTypeMissedCall
The next time, the authentication code will be delivered via an immediately canceled incoming call,
AuthCodeTypeFlashCall
The next time, the authentication code will be delivered via an immediately canceled incoming call.
AuthCodeTypeFragmentSms
The next time, the authentication code will be delivered via fragment. com
Gogram Example
// auth.CodeType is an interface type // You can use any of the following constructors: var _ tg.AuthCodeType = &tg.AuthCodeTypeSms{} var _ tg.AuthCodeType = &tg.AuthCodeTypeCall{} var _ tg.AuthCodeType = &tg.AuthCodeTypeMissedCall{} var _ tg.AuthCodeType = &tg.AuthCodeTypeFlashCall{} var _ tg.AuthCodeType = &tg.AuthCodeTypeFragmentSms{}