Game¶
- class pyrogram.types.Game¶
A game. Use BotFather to create and edit games, their short names will act as unique identifiers.
- Parameters:¶
id (
int
) – Unique identifier of the game.title (
str
) – Title of the game.short_name (
str
) – Unique short name of the game.description (
str
) – Description of the game.photo (
Photo
) – Photo that will be displayed in the game message in chats.animation (
Animation
, optional) – Animation that will be displayed in the game message in chats. Upload via BotFather.