factory InputMedia.fromJson(Map<String, Object?> json) => throw Exception("Can't create InputMedia from JSON");