Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data GiveawayPrize
- = GiveawayPrizePremium {
- month_count :: Maybe Int
- | GiveawayPrizeStars {
- star_count :: Maybe Int
- = GiveawayPrizePremium {
Documentation
data GiveawayPrize Source #
Contains information about a giveaway prize
GiveawayPrizePremium | The giveaway sends Telegram Premium subscriptions to the winners |
| |
GiveawayPrizeStars | The giveaway sends Telegram Stars to the winners |
|
Instances
FromJSON GiveawayPrize Source # | |
Defined in TD.Data.GiveawayPrize parseJSON :: Value -> Parser GiveawayPrize # parseJSONList :: Value -> Parser [GiveawayPrize] # | |
Show GiveawayPrize Source # | |
Defined in TD.Data.GiveawayPrize showsPrec :: Int -> GiveawayPrize -> ShowS # show :: GiveawayPrize -> String # showList :: [GiveawayPrize] -> ShowS # | |
Eq GiveawayPrize Source # | |
Defined in TD.Data.GiveawayPrize (==) :: GiveawayPrize -> GiveawayPrize -> Bool # (/=) :: GiveawayPrize -> GiveawayPrize -> Bool # | |
ShortShow GiveawayPrize Source # | |
Defined in TD.Data.GiveawayPrize shortShow :: GiveawayPrize -> String Source # |