PollMediaSticker.fromJson constructor

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

Parses a PollMediaSticker from TDLib JSON.

Implementation

factory PollMediaSticker.fromJson(Map<String, dynamic> json) =>
    PollMediaSticker(sticker: _readObject(json['sticker'], Sticker.fromJson));