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

TD.Query.CraftGift

Synopsis

Documentation

data CraftGift Source #

Crafts a new gift from other gifts that will be permanently lost. Returns CraftGiftResult

Constructors

CraftGift 

Fields

  • received_gift_ids :: Maybe [Text]

    Identifier of the gifts to use for crafting. In the case of a successful craft, the resulting gift will have the number of the first gift. Consequently, unless getOption("can_craft_from_withdrawn_first_gift") is true, the first gift must not have been withdrawn to the TON blockchain as an NFT and must have an empty gift_address

Instances

Instances details
ToJSON CraftGift Source # 
Instance details

Defined in TD.Query.CraftGift

Show CraftGift Source # 
Instance details

Defined in TD.Query.CraftGift

Eq CraftGift Source # 
Instance details

Defined in TD.Query.CraftGift

ShortShow CraftGift Source # 
Instance details

Defined in TD.Query.CraftGift