haskell-tdlib-2.1.31.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.MintGift

Synopsis

Documentation

data MintGift Source #

Mints an upgraded gift as an NFT on the TON blockchain and sends the 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. Minting is irreversible. The NFT will be received by the wallet in a few seconds after the request succeeds. Returns Ok

Constructors

MintGift 

Fields

Instances

Instances details
ToJSON MintGift Source # 
Instance details

Defined in TD.Query.MintGift

Show MintGift Source # 
Instance details

Defined in TD.Query.MintGift

Eq MintGift Source # 
Instance details

Defined in TD.Query.MintGift

ShortShow MintGift Source # 
Instance details

Defined in TD.Query.MintGift