InputChatPhotoStatic.fromJson constructor

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

Parse from a json

Implementation

factory InputChatPhotoStatic.fromJson(Map<String, dynamic> json) =>
    InputChatPhotoStatic(
      photo: InputFile.fromJson(json['photo']),
    );