1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-02 14:49:47 +00:00

Fix error field in RequestParametersRaw

This commit is contained in:
2019-02-05 13:07:39 +08:00
committed by GitHub
parent 8ab5bf6b2c
commit 265ca63c97

View File

@@ -13,7 +13,7 @@ data class ResponseParametersRaw(
) {
@Transient
private val createTime: Long = System.currentTimeMillis()
@Transient
val error: RequestError? by lazy {
when {
migrateToChatId != null -> MigrateChatId(migrateToChatId);