InputPollMediaPhoto.fromJson constructor

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

Parses a InputPollMediaPhoto from TDLib JSON.

Implementation

factory InputPollMediaPhoto.fromJson(Map<String, dynamic> json) =>
    InputPollMediaPhoto(
      photo: _readObject(json['photo'], InputPhoto.fromJson),
    );