AcceptGiftOnChainPurchaseOffer class
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
- Inheritance
-
- Object
- TdFunction
- AcceptGiftOnChainPurchaseOffer
- Available extensions
- Annotations
-
- @immutable
Constructors
- AcceptGiftOnChainPurchaseOffer({required int messageId})
-
const
Properties
Methods
-
copyWith(
{int? messageId}) → AcceptGiftOnChainPurchaseOffer -
Available on AcceptGiftOnChainPurchaseOffer, provided by the AcceptGiftOnChainPurchaseOfferExtensions extension
-
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- constructor → const String