InputMessageVideoNote.fromMap constructor
Implementation
InputMessageVideoNote.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
if (map['video_note'] != null) {
video_note = TdApiMap.fromMap(map['video_note']) as InputFile;
}
if (map['thumbnail'] != null) {
thumbnail = TdApiMap.fromMap(map['thumbnail']) as InputThumbnail;
}
duration = map['duration'];
length = map['length'];
}