SetTonConnectSessionWalletClientId class

Sets wallet_client_id for a pending TON Connect session. Then, sendTonConnectSessionConnectResult must be used to accept or reject the session. If the session was created for an OAuth request, then acceptOauthRequest must be used instead Returns TonConnectChallenge

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

SetTonConnectSessionWalletClientId({required int sessionId, required String walletClientId})
const

Properties

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 session
final
walletClientId → String
walletClientId Hex-encoded public X25519 key of the current user's application calculated from the TON wallet private key and session parameters
final

Methods

copyWith({int? sessionId, String? walletClientId}) → SetTonConnectSessionWalletClientId

Available on SetTonConnectSessionWalletClientId, provided by the SetTonConnectSessionWalletClientIdExtensions 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