Link Search Menu Expand Document

Constructor: game

Back to constructors index

Indicates an already sent game

Attributes:

NameTypeRequiredDescription
idlongYesID of the game
access_hashlongYesAccess hash of the game
short_namestringYesShort name for the game
titlestringYesTitle of the game
descriptionstringYesGame description
photoPhotoOptionalGame preview
documentDocumentOptionalOptional attached document

Type: Game

Example:

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