Constructor: game

Back to constructors index

Indicates an already sent game

Attributes:

Name Type Required Description
id long Yes ID of the game
access_hash long Yes Access hash of the game
short_name string Yes Short name for the game
title string Yes Title of the game
description string Yes Game description
photo Photo Optional Game preview
document Document Optional Optional attached document

Type: Game

Example:

$game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document];

Or, if you’re into Lua:

game={_='game', id=long, access_hash=long, short_name='string', title='string', description='string', photo=Photo, document=Document}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.