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
common
fun StorageFileInfo(fileName: String)

Functions

generateCustomName
Link copied to clipboard
common
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
common
val fileName: String