TonCenterStreamingApiUrl.fromJson constructor
Parses a TonCenterStreamingApiUrl from TDLib JSON.
Implementation
factory TonCenterStreamingApiUrl.fromJson(Map<String, dynamic> json) =>
TonCenterStreamingApiUrl(
url: _readString(json['url']),
expiresIn: _readInt(json['expires_in']),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);