SetGameScoreReq
telegramium.bots.client.SetGameScoreReq
final case class SetGameScoreReq(userId: Long, score: Int, force: Option[Boolean], disableEditMessage: Option[Boolean], chatId: Option[Long], messageId: Option[Int], inlineMessageId: Option[String])
Value parameters
- chatId
-
Required if inline_message_id is not specified. Unique identifier for the target chat
- disableEditMessage
-
Pass True if the game message should not be automatically edited to include the current scoreboard
- force
-
Pass True if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters
- inlineMessageId
-
Required if chat_id and message_id are not specified. Identifier of the inline message
- messageId
-
Required if inline_message_id is not specified. Identifier of the sent message
- score
-
New score, must be non-negative
- userId
-
User identifier
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article