InputBusinessStartPage.fromJson constructor

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

Parses a InputBusinessStartPage from TDLib JSON.

Implementation

factory InputBusinessStartPage.fromJson(Map<String, dynamic> json) =>
    InputBusinessStartPage(
      title: _readString(json['title']),
      message: _readString(json['message']),
      sticker: _readOptional(json['sticker'], InputFile.fromJson),
    );