StorageFileInfo

data class StorageFileInfo(fileName: String)

Information about file for StorageFile

Parameters

contentType

Raw type like "application/json"

fileName

This filename will be used in telegram system as name of file

Constructors

StorageFileInfo
Link copied to clipboard
fun StorageFileInfo(fileName: String)

Functions

generateCustomName
Link copied to clipboard
fun generateCustomName(): String

This methods is required for random generation of name for keeping warranties about unique file name

Properties

fileName
Link copied to clipboard
val fileName: String