InputInlineQueryResultSticker.fromJson constructor

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

Parse from a json

Implementation

factory InputInlineQueryResultSticker.fromJson(Map<String, dynamic> json) => InputInlineQueryResultSticker(
  id: json['id'],
  thumbnailUrl: json['thumbnail_url'],
  stickerUrl: json['sticker_url'],
  stickerWidth: json['sticker_width'],
  stickerHeight: json['sticker_height'],
  replyMarkup: json['reply_markup'] == null ? null : ReplyMarkup.fromJson(json['reply_markup']),
  inputMessageContent: InputMessageContent.fromJson(json['input_message_content']),
);