PollTypeQuiz.fromJson constructor
Parses a PollTypeQuiz from TDLib JSON.
Implementation
factory PollTypeQuiz.fromJson(Map<String, dynamic> json) => PollTypeQuiz(
correctOptionId: _readInt(json['correct_option_id']),
explanation: _readObject(json['explanation'], FormattedText.fromJson),
);