InputChatPhotoAnimation.fromJson constructor

InputChatPhotoAnimation.fromJson(
  1. Map<String, dynamic> json
)

Parses a InputChatPhotoAnimation from TDLib JSON.

Implementation

factory InputChatPhotoAnimation.fromJson(Map<String, dynamic> json) =>
    InputChatPhotoAnimation(
      animation: _readObject(json['animation'], InputFile.fromJson),
      mainFrameTimestamp: _readDouble(json['main_frame_timestamp']),
    );