Skip to content

//core/com.petersamokhin.vksdk.core.api/VkApiUploader/uploadContent

uploadContent

[common]\ suspend fun uploadContent(methodGetUploadUrl: String, methodSave: String, params: Parameters, items: List<UploadableContent>): String

Upload whatever you want wherever you can.

Omg, vtentakle, why you can't do it by yourself...

Parameters

common

methodGetUploadUrl Where to get the upload URL, e. g. photos.getMessagesUploadServer
methodSave Where to save, e. g. photos.saveMessagesPhoto
params Parameters needed for getting the upload URL, e. g. peer_id
items Uploadable items, e.g. photo