InlineQueryResultVideo.fromMap constructor

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

Implementation

InlineQueryResultVideo.fromMap(Map<String, dynamic> map) {
  extra = map['@extra'];
  client_id = map['@client_id'];
  id = map['id'];
  if (map['video'] != null) {
    video = TdApiMap.fromMap(map['video']) as Video;
  }
  title = map['title'];
  description = map['description'];
}