| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Query.WithdrawUpgradedGift
Documentation
data WithdrawUpgradedGift Source #
Withdraws an upgraded gift to the TON blockchain as an NFT directly to the TON wallet of the current user, which is created automatically if the user has no wallet yet; requires owner privileges for gifts owned by a chat. The user must have a valid temporary password; see createTemporaryPassword. The gift will be received by the wallet in a few seconds after the request succeeds. Returns Ok
Constructors
| WithdrawUpgradedGift | |
Fields
| |
Instances
| ToJSON WithdrawUpgradedGift Source # | |
Defined in TD.Query.WithdrawUpgradedGift Methods toJSON :: WithdrawUpgradedGift -> Value # toEncoding :: WithdrawUpgradedGift -> Encoding # toJSONList :: [WithdrawUpgradedGift] -> Value # toEncodingList :: [WithdrawUpgradedGift] -> Encoding # | |
| Show WithdrawUpgradedGift Source # | |
Defined in TD.Query.WithdrawUpgradedGift Methods showsPrec :: Int -> WithdrawUpgradedGift -> ShowS # show :: WithdrawUpgradedGift -> String # showList :: [WithdrawUpgradedGift] -> ShowS # | |
| Eq WithdrawUpgradedGift Source # | |
Defined in TD.Query.WithdrawUpgradedGift Methods (==) :: WithdrawUpgradedGift -> WithdrawUpgradedGift -> Bool # (/=) :: WithdrawUpgradedGift -> WithdrawUpgradedGift -> Bool # | |
| ShortShow WithdrawUpgradedGift Source # | |
Defined in TD.Query.WithdrawUpgradedGift Methods | |