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

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

Properties

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

Extensions

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