PathedFile

@Serializable
data class PathedFile(val fileId: FileId, val fileUniqueId: TgFileUniqueId, val filePath: String, val fileSize: Long? = null) : TelegramMediaFile

Constructors

Link copied to clipboard
constructor(fileId: FileId, fileUniqueId: TgFileUniqueId, filePath: String, fileSize: Long? = null)

Properties

Link copied to clipboard
@SerialName(value = "file_id")
open override val fileId: FileId
Link copied to clipboard
@Transient
val fileName: FileName
Link copied to clipboard
@SerialName(value = "file_path")
val filePath: String
Link copied to clipboard
@SerialName(value = "file_size")
open override val fileSize: Long? = null
Link copied to clipboard
@SerialName(value = "file_unique_id")
open override val fileUniqueId: TgFileUniqueId

Functions

Link copied to clipboard
Link copied to clipboard