typescript-telegram-bot-api
Version:
Telegram Bot API wrapper for Node.js written in TypeScript
21 lines (20 loc) • 395 B
TypeScript
import { User } from './';
/**
* ## GameHighScore
* This object represents one row of the high scores table for a game.
* @see https://core.telegram.org/bots/api#gamehighscore
*/
export type GameHighScore = {
/**
* Position in high score table for the game
*/
position: number;
/**
* User
*/
user: User;
/**
* Score
*/
score: number;
};