MadelineProtoDocs/docs/TD_docs/constructors/game.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.0 KiB

title description image
game Describes a game https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: game

Back to constructors index

Describes a game

Attributes:

Name Type Required Description
id int64 Yes Game id
short_name string Yes Game short name, to share a game use a URL https: t.me/{bot_username}?game={game_short_name}
title string Yes Game title
text string Yes Game text, usually containing game scoreboards
text_entities Array of textEntity Yes Entities contained in the text
description string Yes Game description
photo photo Yes Game photo
animation animation Yes Game animation, nullable

Type: Game