Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data UpgradeGift Source #
Upgrades a gift received by the current user. Unless the gift has prepaid_upgrade_star_count > 0, the user must pay gift.upgrade_star_count Telegram Stars for the upgrade. Returns UpgradeGiftResult
UpgradeGift | |
|
Instances
ToJSON UpgradeGift Source # | |
Defined in TD.Query.UpgradeGift toJSON :: UpgradeGift -> Value # toEncoding :: UpgradeGift -> Encoding # toJSONList :: [UpgradeGift] -> Value # toEncodingList :: [UpgradeGift] -> Encoding # | |
Show UpgradeGift Source # | |
Defined in TD.Query.UpgradeGift showsPrec :: Int -> UpgradeGift -> ShowS # show :: UpgradeGift -> String # showList :: [UpgradeGift] -> ShowS # | |
Eq UpgradeGift Source # | |
Defined in TD.Query.UpgradeGift (==) :: UpgradeGift -> UpgradeGift -> Bool # (/=) :: UpgradeGift -> UpgradeGift -> Bool # | |
ShortShow UpgradeGift Source # | |
Defined in TD.Query.UpgradeGift shortShow :: UpgradeGift -> String Source # |