mirror of
				https://github.com/InsanusMokrassar/TelegramBotAPI.git
				synced 2025-11-03 21:50:13 +00:00 
			
		
		
		
	TelegramFile was removed
This commit is contained in:
		@@ -18,6 +18,7 @@
 | 
				
			|||||||
* Update of description
 | 
					* Update of description
 | 
				
			||||||
* Make `Game` object a little bit more standartizated
 | 
					* Make `Game` object a little bit more standartizated
 | 
				
			||||||
* `Game` now is not serializable and have no additional trash, related to serialization
 | 
					* `Game` now is not serializable and have no additional trash, related to serialization
 | 
				
			||||||
 | 
					* `TelegramFile` was removed
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## 0.17.0 July 29, 2019 API Update
 | 
					## 0.17.0 July 29, 2019 API Update
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user