Fix error field in RequestParametersRaw

This commit is contained in:
InsanusMokrassar authored and GitHub committed 2019-02-05 13:07:39 +08:00
1 parent 8ab5bf6b2c
commit 265ca63c97
1 file changed
+1 -1
@@ -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);