Layer 224
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:
AuthCodeTypeMissedCall
The next time, the authentication code will be delivered via an immediately canceled incoming call,
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.
AuthCodeTypeFragmentSms
The next time, the authentication code will be delivered via fragment. com
AuthCodeTypeFlashCall
The next time, the authentication code will be delivered via an immediately canceled incoming call.
Gogram Example
// auth.CodeType is an interface type // You can use any of the following constructors: var _ tg.AuthCodeType = &tg.AuthCodeTypeMissedCall{} var _ tg.AuthCodeType = &tg.AuthCodeTypeSms{} var _ tg.AuthCodeType = &tg.AuthCodeTypeCall{} var _ tg.AuthCodeType = &tg.AuthCodeTypeFragmentSms{} var _ tg.AuthCodeType = &tg.AuthCodeTypeFlashCall{}