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

x/mtkruto/3_types.ts>Game

Cross-runtime JavaScript library for building Telegram clients
Latest
interface Game
Re-export
import { type Game } from "https://deno.land/x/mtkruto@0.6.2/3_types.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.