InputInlineQueryResultAnimation.fromJson constructor

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

Parse from a json

Implementation

factory InputInlineQueryResultAnimation.fromJson(Map<String, dynamic> json) =>
    InputInlineQueryResultAnimation(
      id: json['id'],
      title: json['title'],
      thumbnailUrl: json['thumbnail_url'],
      thumbnailMimeType: json['thumbnail_mime_type'],
      videoUrl: json['video_url'],
      videoMimeType: json['video_mime_type'],
      videoDuration: json['video_duration'],
      videoWidth: json['video_width'],
      videoHeight: json['video_height'],
      replyMarkup: json['reply_markup'] == null
          ? null
          : ReplyMarkup.fromJson(json['reply_markup']),
      inputMessageContent:
          InputMessageContent.fromJson(json['input_message_content']),
    );