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
common
fun StorageFile(storageFileInfo: StorageFileInfo, inputSource: () -> Input)

Properties

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

Extensions

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