                 caption: String? = nil,
                 location: CLLocationCoordinate2D? = nil
                 ) -> Methods.SuccessableFailableProgressableConfigurable {
+                
                 let method = VKAPI.Photos.getUploadServer([
                     .albumId: albumId,
                     .userId: target.decoded.userId,

                return Methods.SuccessableFailableProgressableConfigurable(method.request)
            }
            
        ///Upload photo to message
//        public static func toMessage(
//            _ media: Media,
//            config: Config = .default,
//            uploadTimeout: TimeInterval = 30
//            ) -> SendableMethod {
//
//            return VKAPI.Photos.getMessagesUploadServer(.empty)
//                .configure(with: config)
//                .chain {
//                    let response = try JSON(data: $0)
//
//                    return Request(
//                        type: .upload(
//                            url: response.forcedString("upload_url"),
//                            media: [media],
//                            partType: .photo
//                        ),
//                        config: config.overriden(with: uploadTimeout)
//                    )
//                    .toMethod()
//                }
//                .chain {
//                    let response = try JSON(data: $0)
//
//                    return VKAPI.Photos.saveMessagesPhoto([
//                        .photo: response.forcedString("photo"),
//                        .server: response.forcedString("server"),
//                        .hash: response.forcedString("hash")
//                        ])
//                        .configure(with: config)
//                }
//        }

        ///Upload photo to market
//        public static func toMarket(

                                media: Array(media.prefix(5)),
                                partType: .indexedFile
                            ),
                            config: .upload
                            )
                            .toMethod()
                    }
                    .chain {
                        let response = try JSON(data: $0)
