ClaimTonConnectRequest class
Claims a request received through TON Connect for processing on this device Returns Ok
- Inheritance
-
- Object
- TdFunction
- ClaimTonConnectRequest
- Available extensions
- Annotations
-
- @immutable
Constructors
- ClaimTonConnectRequest({required int sessionId, required int messageId, required String dappRequestId, required bool isRejected})
-
const
Properties
- dappRequestId → String
-
dappRequestId Identifier of the request assigned by the dApp
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isRejected → bool
-
isRejected Pass true to reject the request
final
- messageId → int
-
messageId Identifier of the message with the request
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId → int
-
sessionId Unique identifier of the TON Connect session
final
Methods
-
copyWith(
{int? sessionId, int? messageId, String? dappRequestId, bool? isRejected}) → ClaimTonConnectRequest -
Available on ClaimTonConnectRequest, provided by the ClaimTonConnectRequestExtensions 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