docs
5.1.1
common
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
)
Constructors
Properties
Constructors
Response
Link copied to clipboard
fun
Response
(
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
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