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