toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.files
/
PathedFile
Pathed
File
@
Serializable
data
class
PathedFile
(
val
fileId
:
FileId
,
val
fileUniqueId
:
TgFileUniqueId
,
val
filePath
:
String
,
val
fileSize
:
Long
?
=
null
)
:
TelegramMediaFile
Members
Members & Extensions
Constructors
Pathed
File
Link copied to clipboard
constructor
(
fileId
:
FileId
,
fileUniqueId
:
TgFileUniqueId
,
filePath
:
String
,
fileSize
:
Long
?
=
null
)
Properties
file
Id
Link copied to clipboard
@
SerialName
(
value
=
"file_id"
)
open
override
val
fileId
:
FileId
file
Name
Link copied to clipboard
@
Transient
val
fileName
:
FileName
file
Path
Link copied to clipboard
@
SerialName
(
value
=
"file_path"
)
val
filePath
:
String
file
Size
Link copied to clipboard
@
SerialName
(
value
=
"file_size"
)
open
override
val
fileSize
:
Long
?
=
null
file
Unique
Id
Link copied to clipboard
@
SerialName
(
value
=
"file_unique_id"
)
open
override
val
fileUniqueId
:
TgFileUniqueId
Functions
as
Document
File
Link copied to clipboard
inline
fun
TelegramMediaFile
.
asDocumentFile
(
)
:
DocumentFile
full
Url
Link copied to clipboard
fun
PathedFile
.
fullUrl
(
keeper
:
TelegramAPIUrlsKeeper
)
:
String