AnimatedChatPhoto.fromJson constructor
Parses a AnimatedChatPhoto from TDLib JSON.
Implementation
factory AnimatedChatPhoto.fromJson(Map<String, dynamic> json) =>
AnimatedChatPhoto(
length: _readInt(json['length']),
file: _readObject(json['file'], File.fromJson),
mainFrameTimestamp: _readDouble(json['main_frame_timestamp']),
);