mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.2 KiB
1.2 KiB
title | description | nav_exclude | image |
---|---|---|---|
game | Indicates an already sent game | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: game
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];