Telegram Bot icon

Telegram Bot

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

Actions101

Game → Get Game High Scores

AI-generated

Summary

Retrieve the high scores for a specific user in a game from a Telegram chat or inline message.

Inputs

  • User ID (required) — Unique identifier of the target user whose high scores will be retrieved.
  • Additional Fields — Optional identifiers to specify the game message context: either Chat ID and Message ID, or Inline Message ID. One of these sets is required to identify the message with the game for which to get high scores.

Output shape

a list of high score objects representing the user's scores for the specified game in the given chat or inline message context.

If the Telegram API response contains an array of high scores, each item will be returned as a separate item in the output. The operation requires specifying the user ID and either a combination of chat_id and message_id or an inline_message_id to identify the game message context.

Links

Discussion