Fix error field in RequestParametersRaw

This commit is contained in:
InsanusMokrassar 2019-02-05 13:07:39 +08:00 committed by GitHub
parent 8ab5bf6b2c
commit 265ca63c97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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);