DeclineGiftOnChainPurchaseOffer class

Declines an on-chain gift purchase offer received by the current user. The offer is declined and the buyer is refunded only after the offer is canceled on the TON blockchain Returns Ok

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

DeclineGiftOnChainPurchaseOffer({required int messageId})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
messageId → int
messageId Identifier of the message messageUpgradedGiftOnChainPurchaseOffer with the offer in the chat 777000
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? messageId}) → DeclineGiftOnChainPurchaseOffer

Available on DeclineGiftOnChainPurchaseOffer, provided by the DeclineGiftOnChainPurchaseOfferExtensions 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