Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Game → Set Game Score

AI-generated

Summary

Set a user's game score in a Telegram game, optionally forcing an update even if the new score is not greater, and optionally disabling editing of the game message.

Inputs

  • User ID (required) — Unique identifier of the target user whose score will be set.
  • Score (required) — New non-negative score to assign to the user.
  • Additional Fields — Optional additional parameters including Chat ID and Message ID for context, or an Inline Message ID, and flags to force the score update or disable editing the game message.

Output shape

a single JSON object representing the Telegram API response for setting the game score.

Returns the Telegram Bot API's response under the 'result' property if available. May include success status and updated score details.

Links

Discussion