InputPollMediaLink.fromJson constructor

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

Parses a InputPollMediaLink from TDLib JSON.

Implementation

factory InputPollMediaLink.fromJson(Map<String, dynamic> json) =>
    InputPollMediaLink(url: _readString(json['url']));