1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-06-03 00:15:27 +00:00
tgbotapi/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/Response.kt

16 lines
439 B
Kotlin
Raw Normal View History

2018-12-26 08:07:24 +00:00
package com.github.insanusmokrassar.TelegramBotAPI.types
2019-04-13 02:21:19 +00:00
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonElement
2018-12-26 08:07:24 +00:00
@Serializable
data class Response(
2018-12-26 08:07:24 +00:00
val ok: Boolean = false,
val description: String? = null,
@SerialName("error_code")
val errorCode: Int? = null,
val result: JsonElement? = null,
2019-02-05 04:51:52 +00:00
val parameters: ResponseParametersRaw? = null
)