mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
Fix error field in RequestParametersRaw
This commit is contained in:
parent
8ab5bf6b2c
commit
265ca63c97
@ -13,7 +13,7 @@ data class ResponseParametersRaw(
|
|||||||
) {
|
) {
|
||||||
@Transient
|
@Transient
|
||||||
private val createTime: Long = System.currentTimeMillis()
|
private val createTime: Long = System.currentTimeMillis()
|
||||||
|
@Transient
|
||||||
val error: RequestError? by lazy {
|
val error: RequestError? by lazy {
|
||||||
when {
|
when {
|
||||||
migrateToChatId != null -> MigrateChatId(migrateToChatId);
|
migrateToChatId != null -> MigrateChatId(migrateToChatId);
|
||||||
|
Loading…
Reference in New Issue
Block a user