mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-03 00:15:27 +00:00
19 lines
553 B
Kotlin
19 lines
553 B
Kotlin
package dev.inmo.tgbotapi.types.files.abstracts
|
|
|
|
import dev.inmo.tgbotapi.requests.abstracts.FileId
|
|
import dev.inmo.tgbotapi.types.FileUniqueId
|
|
|
|
internal const val fileIdField = "file_id"
|
|
internal const val fileSizeField = "file_size"
|
|
internal const val fileDateField = "file_date"
|
|
internal const val filePathField = "file_path"
|
|
|
|
/**
|
|
* Declare common part of media files in Telegram. Note: it is not representation of JVM `File` type
|
|
*/
|
|
interface TelegramMediaFile {
|
|
val fileId: FileId
|
|
val fileUniqueId: FileUniqueId
|
|
val fileSize: Long?
|
|
}
|