toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.requests.games
/
SetGameScoreByChatId
Set
Game
Score
By
Chat
Id
@
Serializable
data
class
SetGameScoreByChatId
(
val
userId
:
UserId
,
val
score
:
Long
,
val
chatId
:
IdChatIdentifier
,
val
messageId
:
MessageId
,
val
force
:
Boolean
=
false
,
val
disableEditMessage
:
Boolean
=
false
)
:
SetGameScore
,
MessageAction
Members
Constructors
Set
Game
Score
By
Chat
Id
Link copied to clipboard
constructor
(
userId
:
UserId
,
score
:
Long
,
chatId
:
IdChatIdentifier
,
messageId
:
MessageId
,
force
:
Boolean
=
false
,
disableEditMessage
:
Boolean
=
false
)
Properties
chat
Id
Link copied to clipboard
@
SerialName
(
value
=
"chat_id"
)
open
override
val
chatId
:
IdChatIdentifier
disable
Edit
Message
Link copied to clipboard
@
SerialName
(
value
=
"disable_edit_message"
)
open
override
val
disableEditMessage
:
Boolean
=
false
force
Link copied to clipboard
@
SerialName
(
value
=
"force"
)
open
override
val
force
:
Boolean
=
false
message
Id
Link copied to clipboard
@
SerialName
(
value
=
"message_id"
)
open
override
val
messageId
:
MessageId
request
Serializer
Link copied to clipboard
open
override
val
requestSerializer
:
SerializationStrategy
<
*
>
result
Deserializer
Link copied to clipboard
open
override
val
resultDeserializer
:
DeserializationStrategy
<
Boolean
>
score
Link copied to clipboard
@
SerialName
(
value
=
"score"
)
open
override
val
score
:
Long
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
open
override
val
userId
:
UserId
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String