docs
3.3.0
common
docs
/
dev.inmo.tgbotapi.requests.games
/
SetGameScoreByChatId
Set
Game
Score
By
Chat
Id
@
Serializable
data
class
SetGameScoreByChatId
(
val
userId
:
UserId
,
val
score
:
Long
,
val
chatId
:
ChatId
,
val
messageId
:
MessageId
,
val
force
:
Boolean
=
false
,
val
disableEditMessage
:
Boolean
=
false
)
:
SetGameScore
,
MessageAction
Constructors
Functions
Properties
Constructors
Set
Game
Score
By
Chat
Id
Link copied to clipboard
fun
SetGameScoreByChatId
(
userId
:
UserId
,
score
:
Long
,
chatId
:
ChatId
,
messageId
:
MessageId
,
force
:
Boolean
=
false
,
disableEditMessage
:
Boolean
=
false
)
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String
Properties
chat
Id
Link copied to clipboard
open
override
val
chatId
:
ChatId
disable
Edit
Message
Link copied to clipboard
open
override
val
disableEditMessage
:
Boolean
=
false
force
Link copied to clipboard
open
override
val
force
:
Boolean
=
false
message
Id
Link copied to clipboard
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
open
override
val
score
:
Long
user
Id
Link copied to clipboard
open
override
val
userId
:
UserId