InputInlineQueryResultVideo.fromMap constructor

InputInlineQueryResultVideo.fromMap(
  1. Map<String, dynamic> map
)

Implementation

InputInlineQueryResultVideo.fromMap(Map<String, dynamic> map) {
  extra = map['@extra'];
  client_id = map['@client_id'];
  id = map['id'];
  title = map['title'];
  description = map['description'];
  thumbnail_url = map['thumbnail_url'];
  video_url = map['video_url'];
  mime_type = map['mime_type'];
  video_width = map['video_width'];
  video_height = map['video_height'];
  video_duration = map['video_duration'];
  if (map['reply_markup'] != null) {
    reply_markup = TdApiMap.fromMap(map['reply_markup']) as ReplyMarkup;
  }
  if (map['input_message_content'] != null) {
    input_message_content = TdApiMap.fromMap(map['input_message_content']) as InputMessageContent;
  }
}