docs
Toggle table of contents
35.1.0
common
Target filter
common
Switch theme
Search in API
Skip to content
docs
docs
/
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
)
(
source
)
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
?
error
Code
Link copied to clipboard
@
SerialName
(
value
=
"error_code"
)
val
errorCode
:
Int
?
ok
Link copied to clipboard
val
ok
:
Boolean
parameters
Link copied to clipboard
val
parameters
:
ResponseParametersRaw
?
result
Link copied to clipboard
val
result
:
JsonElement
?