tgsnake
Version:
Telegram MTProto framework for nodejs.
23 lines (22 loc) • 706 B
TypeScript
import { Raw } from '../../../platform.node.js';
import { TLObject } from '../../TL.js';
import { Animation } from './Animated.js';
import { Photo } from './Photo.js';
import type { Snake } from '../../../Client/index.js';
export declare class Game extends TLObject {
id: bigint;
shortName: string;
title: string;
description: string;
photo?: Photo;
animation?: Animation;
constructor({ id, shortName, title, description, photo, animation, }: {
id: bigint;
shortName: string;
title: string;
description: string;
photo?: Photo;
animation?: Animation;
}, client: Snake);
static parse(client: Snake, game: Raw.Game): Game;
}