toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types
/
Response
Response
@
Serializable
data
class
Response
(
val
ok
:
Boolean
=
false
,
val
description
:
String
?
=
null
,
val
errorCode
:
Int
?
=
null
,
val
result
:
JsonElement
?
=
null
,
val
parameters
:
ResponseParametersRaw
?
=
null
)
Members
Constructors
Response
Link copied to clipboard
constructor
(
ok
:
Boolean
=
false
,
description
:
String
?
=
null
,
errorCode
:
Int
?
=
null
,
result
:
JsonElement
?
=
null
,
parameters
:
ResponseParametersRaw
?
=
null
)
Properties
description
Link copied to clipboard
val
description
:
String
?
=
null
error
Code
Link copied to clipboard
@
SerialName
(
value
=
"error_code"
)
val
errorCode
:
Int
?
=
null
ok
Link copied to clipboard
val
ok
:
Boolean
=
false
parameters
Link copied to clipboard
val
parameters
:
ResponseParametersRaw
?
=
null
result
Link copied to clipboard
val
result
:
JsonElement
?
=
null