InputPageBlockParagraph.fromJson constructor

InputPageBlockParagraph.fromJson(
  1. Map<String, dynamic> json
)

Parses a InputPageBlockParagraph from TDLib JSON.

Implementation

factory InputPageBlockParagraph.fromJson(Map<String, dynamic> json) =>
    InputPageBlockParagraph(
      text: _readObject(json['text'], RichText.fromJson),
    );