package com.github.insanusmokrassar.TelegramBotAPI.types import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Deprecated( "Deprecated because incorrect name", ReplaceWith("Response") ) typealias ResponseParameters = Response @Serializable data class Response( val ok: Boolean = false, val description: String? = null, @SerialName("error_code") val errorCode: Int? = null, val result: T? = null, val parameters: ResponseParametersRaw? = null )