InputMessageSticker.fromJson constructor

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

Parses a InputMessageSticker from TDLib JSON.

Implementation

factory InputMessageSticker.fromJson(Map<String, dynamic> json) =>
    InputMessageSticker(
      sticker: _readObject(json['sticker'], InputSticker.fromJson),
      emoji: _readString(json['emoji']),
    );