TelegramBotAPI
common
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
)
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String
Properties
chat
Id
Link copied to clipboard
open
override
val
chatId
:
IdChatIdentifier
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