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

filesSize in PassportFile is nullable for now

This commit is contained in:
InsanusMokrassar 2021-01-17 16:24:33 +06:00
parent c1ab9da4c4
commit 26fd5e51bf

View File

@ -18,8 +18,8 @@ data class PassportFile(
override val fileId: FileId,
@SerialName(fileUniqueIdField)
override val fileUniqueId: FileUniqueId,
@SerialName(fileSizeField)
override val fileSize: Long,
@SerialName(fileDateField)
val uploadingDate: TelegramDate
val uploadingDate: TelegramDate,
@SerialName(fileSizeField)
override val fileSize: Long? = null
) : TelegramMediaFile