MadelineProto/docs/API_docs/constructors/game.md

689 B

Constructor: game

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 = ['id' => long, 'access_hash' => long, 'short_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'document' => Document, ];