InputMediaGame

class pyrogram.raw.types.InputMediaGame

A game

Constructor of InputMedia.

Details:
  • Layer: 227

  • ID: D33F43F3

Parameters:

id (InputGame) – The game to forward

TL Schema

inputMediaGame#d33f43f3
id:InputGame

= InputMedia

Parameter Tree

InputMediaGame
└── id → InputGame
├── InputGameID
│ ├── id → long
│ └── access_hash → long
├── bot_id → InputUser
│ ├── InputUserEmpty
│ ├── InputUserSelf
│ ├── InputUser
│ └── InputUserFromMessage
└── short_name → string

Example

InputMediaGame(
    id=InputGameID(
        id=0,
        access_hash=0
    ),
)