Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data PassportElementType
- = PassportElementTypePersonalDetails
- | PassportElementTypePassport
- | PassportElementTypeDriverLicense
- | PassportElementTypeIdentityCard
- | PassportElementTypeInternalPassport
- | PassportElementTypeAddress
- | PassportElementTypeUtilityBill
- | PassportElementTypeBankStatement
- | PassportElementTypeRentalAgreement
- | PassportElementTypePassportRegistration
- | PassportElementTypeTemporaryRegistration
- | PassportElementTypePhoneNumber
- | PassportElementTypeEmailAddress
Documentation
data PassportElementType Source #
Contains the type of Telegram Passport element
PassportElementTypePersonalDetails | A Telegram Passport element containing the user's personal details |
PassportElementTypePassport | A Telegram Passport element containing the user's passport |
PassportElementTypeDriverLicense | A Telegram Passport element containing the user's driver license |
PassportElementTypeIdentityCard | A Telegram Passport element containing the user's identity card |
PassportElementTypeInternalPassport | A Telegram Passport element containing the user's internal passport |
PassportElementTypeAddress | A Telegram Passport element containing the user's address |
PassportElementTypeUtilityBill | A Telegram Passport element containing the user's utility bill |
PassportElementTypeBankStatement | A Telegram Passport element containing the user's bank statement |
PassportElementTypeRentalAgreement | A Telegram Passport element containing the user's rental agreement |
PassportElementTypePassportRegistration | A Telegram Passport element containing the registration page of the user's passport |
PassportElementTypeTemporaryRegistration | A Telegram Passport element containing the user's temporary registration |
PassportElementTypePhoneNumber | A Telegram Passport element containing the user's phone number |
PassportElementTypeEmailAddress | A Telegram Passport element containing the user's email address |
Instances
FromJSON PassportElementType Source # | |
Defined in TD.Data.PassportElementType parseJSON :: Value -> Parser PassportElementType # parseJSONList :: Value -> Parser [PassportElementType] # | |
ToJSON PassportElementType Source # | |
Defined in TD.Data.PassportElementType toJSON :: PassportElementType -> Value # toEncoding :: PassportElementType -> Encoding # toJSONList :: [PassportElementType] -> Value # toEncodingList :: [PassportElementType] -> Encoding # | |
Show PassportElementType Source # | |
Defined in TD.Data.PassportElementType showsPrec :: Int -> PassportElementType -> ShowS # show :: PassportElementType -> String # showList :: [PassportElementType] -> ShowS # | |
Eq PassportElementType Source # | |
Defined in TD.Data.PassportElementType (==) :: PassportElementType -> PassportElementType -> Bool # (/=) :: PassportElementType -> PassportElementType -> Bool # | |
ShortShow PassportElementType Source # | |
Defined in TD.Data.PassportElementType |