toJson method

  1. @override
Map<String, dynamic> toJson()
override

Converts this object to TDLib JSON.

Implementation

@override
Map<String, dynamic> toJson() => {
  '@type': CONSTRUCTOR,
  'user_id': userId,
  'url': url,
  'domain': domain,
  'from_app': fromApp,
  'verified_app_name': verifiedAppName,
  'bot_user_id': botUserId,
  'request_write_access': requestWriteAccess,
  'request_phone_number_access': requestPhoneNumberAccess,
  'request_ton_wallet_access': requestTonWalletAccess,
  'dapp_client_id': dappClientId,
  'ton_connect_manifest_url': tonConnectManifestUrl,
  'ton_proof_payload': tonProofPayload,
  'browser': browser,
  'platform': platform,
  'ip_address': ipAddress,
  'location': location,
  'match_code_first': matchCodeFirst,
  'match_codes': matchCodes,
};