1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-22 16:47:13 +00:00

TelegramFile was removed

This commit is contained in:
InsanusMokrassar 2019-08-18 12:58:17 +06:00
parent 704457715d
commit 2ee5d78362
2 changed files with 1 additions and 16 deletions

View File

@ -18,6 +18,7 @@
* Update of description
* Make `Game` object a little bit more standartizated
* `Game` now is not serializable and have no additional trash, related to serialization
* `TelegramFile` was removed
## 0.17.0 July 29, 2019 API Update

View File

@ -1,16 +0,0 @@
package com.github.insanusmokrassar.TelegramBotAPI.types.files
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.FileId
import com.github.insanusmokrassar.TelegramBotAPI.types.files.abstracts.*
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class TelegramFile(
@SerialName(fileIdField)
override val fileId: FileId,
@SerialName(fileSizeField)
override val fileSize: Long? = null,
@SerialName("file_path")
val filePath: String? = null
) : TelegramMediaFile