FoundStories.fromJson constructor
Parses a FoundStories from TDLib JSON.
Implementation
factory FoundStories.fromJson(Map<String, dynamic> json) => FoundStories(
totalCount: _readInt(json['total_count']),
stories: _readList<Story>(
json['stories'],
(e) => _readObject(e, Story.fromJson),
),
nextOffset: _readString(json['next_offset']),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);