1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-03 21:17:46 +01:00
MadelineProto/docs/API_docs/constructors/game.md
2016-12-30 23:21:36 +03:00

813 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, ];