haskell-tdlib-2.1.31.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]

    Identifiers 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_with_minted_first_gift") is true, the first gift must not be minted, which means it 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