AnswerTonConnectRequest class
Sends an answer for a request received through TON Connect Returns Ok
- Inheritance
-
- Object
- TdFunction
- AnswerTonConnectRequest
- Available extensions
- Annotations
-
- @immutable
Constructors
- AnswerTonConnectRequest({required int sessionId, required int messageId, required String traceId, required String body})
-
const
Properties
- body → String
-
body Body of the response
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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
- traceId → String
-
traceId Identifier to trace the request
final
Methods
-
copyWith(
{int? sessionId, int? messageId, String? traceId, String? body}) → AnswerTonConnectRequest -
Available on AnswerTonConnectRequest, provided by the AnswerTonConnectRequestExtensions 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