InternalLinkTypeTonConnect class final

The link is a universal TON Connect link

Inheritance

Constructors

InternalLinkTypeTonConnect({required int version, required String dappClientId, required TonConnectConnectRequest connectRequest, required String returnStrategy, required String rpcRequest, required String traceId, dynamic extra, int? clientId})
The link is a universal TON Connect link
const
InternalLinkTypeTonConnect.fromJson(Map<String, dynamic> json)
Parses a InternalLinkTypeTonConnect from TDLib JSON.
factory

Properties

clientId → int?
Identifier of the TDLib client that sent this object.
final
connectRequest → TonConnectConnectRequest
TON Connect connect request
final
dappClientId → String
Hex-encoded public X25519 key of the dApp
final
extra → dynamic
"@extra" of the request this object answers.
final
hashCode → int
The hash code for this object.
no setterinherited
returnStrategy → String
Request return strategy; one of "back", "none", or a URL to open
final
rpcRequest → String
Embedded RPC request represented as base64url-encoded JSON
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
traceId → String
Identifier to trace the connection request
final
version → int
TON Connect version
final

Methods

copyWith({int? version, String? dappClientId, TonConnectConnectRequest? connectRequest, String? returnStrategy, String? rpcRequest, String? traceId, dynamic extra, int? clientId}) → InternalLinkTypeTonConnect
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
override
getConstructor() → String
TDLib type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

CONSTRUCTOR → const String
TDLib type name.