CancelGiftOnChainPurchaseOffer class
Cancels an on-chain gift purchase offer sent by the current user; can be used only if getOption("can_use_ton_wallet"). A fine may be charged if the offer is canceled before it expires. Returns the transaction that must be sent from the TON wallet of the current user to cancel the offer. The offer is canceled only after the transaction is executed on the TON blockchain Returns GiftOnChainPurchaseOfferTransaction
- Inheritance
-
- Object
- TdFunction
- CancelGiftOnChainPurchaseOffer
- Available extensions
- Annotations
-
- @immutable
Constructors
- CancelGiftOnChainPurchaseOffer({required int messageId})
-
const
Properties
Methods
-
copyWith(
{int? messageId}) → CancelGiftOnChainPurchaseOffer -
Available on CancelGiftOnChainPurchaseOffer, provided by the CancelGiftOnChainPurchaseOfferExtensions 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