InputInlineQueryResultSticker.fromJson constructor
Parses a InputInlineQueryResultSticker from TDLib JSON.
Implementation
factory InputInlineQueryResultSticker.fromJson(Map<String, dynamic> json) =>
InputInlineQueryResultSticker(
id: _readString(json['id']),
thumbnailUrl: _readString(json['thumbnail_url']),
stickerUrl: _readString(json['sticker_url']),
stickerWidth: _readInt(json['sticker_width']),
stickerHeight: _readInt(json['sticker_height']),
replyMarkup: _readOptional(json['reply_markup'], ReplyMarkup.fromJson),
inputMessageContent: _readObject(
json['input_message_content'], InputMessageContent.fromJson),
);