InputChatPhotoAnimation.fromJson constructor

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

Parse from a json

Implementation

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