DisconnectTonConnectSession class
Closes a TON Connect session Returns Ok
- Inheritance
-
- Object
- TdFunction
- DisconnectTonConnectSession
- Available extensions
- Annotations
-
- @immutable
Constructors
- DisconnectTonConnectSession({required int sessionId, required String body})
-
const
Properties
- body → String
-
body Encrypted body of the disconnect event; may be empty if the session
has already been closed. Use getTonConnectSessionNextEventId to get event
identifier for the event
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId → int
-
sessionId Unique identifier of the TON Connect session to close
final
Methods
-
copyWith(
{int? sessionId, String? body}) → DisconnectTonConnectSession -
Available on DisconnectTonConnectSession, provided by the DisconnectTonConnectSessionExtensions 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