Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TD.Data.StarSubscriptionType
Synopsis
Documentation
data StarSubscriptionType Source #
Describes type of subscription paid in Telegram Stars
Constructors
StarSubscriptionTypeChannel | Describes a subscription to a channel chat |
Fields
| |
StarSubscriptionTypeBot | Describes a subscription in a bot or a business account |
Instances
FromJSON StarSubscriptionType Source # | |
Defined in TD.Data.StarSubscriptionType Methods parseJSON :: Value -> Parser StarSubscriptionType # parseJSONList :: Value -> Parser [StarSubscriptionType] # | |
Show StarSubscriptionType Source # | |
Defined in TD.Data.StarSubscriptionType Methods showsPrec :: Int -> StarSubscriptionType -> ShowS # show :: StarSubscriptionType -> String # showList :: [StarSubscriptionType] -> ShowS # | |
Eq StarSubscriptionType Source # | |
Defined in TD.Data.StarSubscriptionType Methods (==) :: StarSubscriptionType -> StarSubscriptionType -> Bool # (/=) :: StarSubscriptionType -> StarSubscriptionType -> Bool # | |
ShortShow StarSubscriptionType Source # | |
Defined in TD.Data.StarSubscriptionType Methods |