MadelineProto/old_docs/API_docs_v57/constructors/game.md

817 B

title description
game game attributes, type and example

Constructor: game

Back to constructors index

Attributes:

Name Type Required
id long Required
access_hash long Required
short_name string Required
title string Required
description string Required
photo Photo Required
document Document Optional

Type: Game

Example:

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