1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-29 21:48:43 +00:00

CommonMultipartFileRequest now is internal

This commit is contained in:
InsanusMokrassar 2020-02-06 13:29:14 +06:00
parent 527b718f55
commit 90d5833021
2 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,7 @@
* Klock `1.8.6` -> `1.8.7` * Klock `1.8.6` -> `1.8.7`
* Ktor `1.3.0` -> `1.3.1` * Ktor `1.3.0` -> `1.3.1`
* Now it is possible to get updates by polling with custom executor engine * Now it is possible to get updates by polling with custom executor engine
* `CommonMultipartFileRequest` now is internal
## 0.22.0 ## 0.22.0

View File

@ -3,7 +3,7 @@ package com.github.insanusmokrassar.TelegramBotAPI.requests.common
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.* import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.*
import kotlinx.serialization.json.JsonObject import kotlinx.serialization.json.JsonObject
data class CommonMultipartFileRequest<T: Any>( internal data class CommonMultipartFileRequest<T: Any>(
val data: SimpleRequest<T>, val data: SimpleRequest<T>,
override val mediaMap: Map<String, MultipartFile> override val mediaMap: Map<String, MultipartFile>
) : MultipartRequest<T>, Request<T> by data { ) : MultipartRequest<T>, Request<T> by data {