Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/types/2_game.ts>Game

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface Game
import { type Game } from "https://deno.land/x/mtkruto@0.2.50/types/2_game.ts";

A game.

Properties

title: string

The title of the game.

description: string

The description of the game.

photo: Photo

A photo that is displayed when the game is shared.

optional
text: string

A text that is displayed when the game is shared.

optional
textEntities: MessageEntity[]

The text's entities.

optional
animation: Animation

An animation that is displayed when the game is shared.