AnimatedChatPhoto.fromMap constructor

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

Implementation

AnimatedChatPhoto.fromMap(Map<String, dynamic> map) {
  extra = map['@extra'];
  client_id = map['@client_id'];
  length = map['length'];
  if (map['file'] != null) {
    file = TdApiMap.fromMap(map['file']) as File;
  }
  main_frame_timestamp = map['main_frame_timestamp'];
}