From 265ca63c97e173b894a8607a16891155122d504a Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 5 Feb 2019 13:07:39 +0800 Subject: [PATCH] Fix error field in RequestParametersRaw --- .../TelegramBotAPI/types/ResponseParametersRaw.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/ResponseParametersRaw.kt b/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/ResponseParametersRaw.kt index dc9ca9d7bf..335b7df35f 100644 --- a/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/ResponseParametersRaw.kt +++ b/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/ResponseParametersRaw.kt @@ -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);