Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data PhoneNumberCodeType Source #
Describes type of the request for which a code is sent to a phone number
PhoneNumberCodeTypeChange | Checks ownership of a new phone number to change the user's authentication phone number; for official Android and iOS applications only |
PhoneNumberCodeTypeVerify | Verifies ownership of a phone number to be added to the user's Telegram Passport |
PhoneNumberCodeTypeConfirmOwnership | Confirms ownership of a phone number to prevent account deletion while handling links of the type internalLinkTypePhoneNumberConfirmation |
Instances
FromJSON PhoneNumberCodeType Source # | |
Defined in TD.Data.PhoneNumberCodeType parseJSON :: Value -> Parser PhoneNumberCodeType # parseJSONList :: Value -> Parser [PhoneNumberCodeType] # | |
ToJSON PhoneNumberCodeType Source # | |
Defined in TD.Data.PhoneNumberCodeType toJSON :: PhoneNumberCodeType -> Value # toEncoding :: PhoneNumberCodeType -> Encoding # toJSONList :: [PhoneNumberCodeType] -> Value # toEncodingList :: [PhoneNumberCodeType] -> Encoding # | |
Show PhoneNumberCodeType Source # | |
Defined in TD.Data.PhoneNumberCodeType showsPrec :: Int -> PhoneNumberCodeType -> ShowS # show :: PhoneNumberCodeType -> String # showList :: [PhoneNumberCodeType] -> ShowS # | |
Eq PhoneNumberCodeType Source # | |
Defined in TD.Data.PhoneNumberCodeType (==) :: PhoneNumberCodeType -> PhoneNumberCodeType -> Bool # (/=) :: PhoneNumberCodeType -> PhoneNumberCodeType -> Bool # | |
ShortShow PhoneNumberCodeType Source # | |
Defined in TD.Data.PhoneNumberCodeType |