StorageFileInfo

data class StorageFileInfo(contentType: String, 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(contentType: String, fileName: String)
Raw type like "application/json"

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

contentType
Link copied to clipboard
common
val contentType: String
Raw type like "application/json"
fileName
Link copied to clipboard
common
val fileName: String
This filename will be used in telegram system as name of file