Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data PaymentFormType
- = PaymentFormTypeRegular { }
- | PaymentFormTypeStars {
- star_count :: Maybe Int
- | PaymentFormTypeStarSubscription { }
Documentation
data PaymentFormType Source #
Describes type of payment form
PaymentFormTypeRegular | The payment form is for a regular payment |
| |
PaymentFormTypeStars | The payment form is for a payment in Telegram Stars |
| |
PaymentFormTypeStarSubscription | The payment form is for a payment in Telegram Stars for subscription |
|
Instances
FromJSON PaymentFormType Source # | |
Defined in TD.Data.PaymentFormType parseJSON :: Value -> Parser PaymentFormType # parseJSONList :: Value -> Parser [PaymentFormType] # | |
Show PaymentFormType Source # | |
Defined in TD.Data.PaymentFormType showsPrec :: Int -> PaymentFormType -> ShowS # show :: PaymentFormType -> String # showList :: [PaymentFormType] -> ShowS # | |
Eq PaymentFormType Source # | |
Defined in TD.Data.PaymentFormType (==) :: PaymentFormType -> PaymentFormType -> Bool # (/=) :: PaymentFormType -> PaymentFormType -> Bool # | |
ShortShow PaymentFormType Source # | |
Defined in TD.Data.PaymentFormType shortShow :: PaymentFormType -> String Source # |