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

TD.Query.AcceptGiftOnChainPurchaseOffer

Synopsis

Documentation

data AcceptGiftOnChainPurchaseOffer Source #

Accepts an on-chain gift purchase offer received by the current user; can be used only if getOption("can_use_ton_wallet"). The gift must not be listed for sale. Other offers for the gift will be canceled after the gift is sold. Returns the transaction that must be sent from the TON wallet of the current user to accept the offer. The offer is accepted only after the transaction is executed on the TON blockchain and the gift is transferred to the buyer. Returns GiftOnChainPurchaseOfferTransaction

Constructors

AcceptGiftOnChainPurchaseOffer 

Fields

  • message_id :: Maybe Int

    Identifier of the message messageUpgradedGiftOnChainPurchaseOffer with the offer in the chat 777000