StorageFile

data class StorageFile(storageFileInfo: StorageFileInfo, inputSource: () -> Input)

Contains info about file, which potentially can be sent to telegram system.

See also

Parameters

storageFileInfo

Information about this file

inputSource

Lambda which able to allocate Input for uploading/manipulating data

Constructors

StorageFile
Link copied to clipboard
fun StorageFile(storageFileInfo: StorageFileInfo, inputSource: () -> Input)

Properties

input
Link copied to clipboard
val input: Input
storageFileInfo
Link copied to clipboard
val storageFileInfo: StorageFileInfo

Extensions

asMultipartFile
Link copied to clipboard
inline fun StorageFile.asMultipartFile(): MultipartFile