InputGameShortName

class pyrogram.raw.types.InputGameShortName

Game by short name

Constructor of InputGame.

Details:
  • Layer: 223

  • ID: C331E80A

Parameters:
  • bot_id (InputUser) – The bot that provides the game

  • short_name (str) – The game’s short name, usually obtained from a game link »

TL Schema

inputGameShortName#c331e80a
bot_id:InputUser
short_name:string

= InputGame

Parameter Tree

InputGameShortName
├── bot_idInputUser
│ ├── InputUserEmpty
│ ├── InputUserSelf
│ ├── InputUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ └── InputUserFromMessage
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── user_idlong
└── short_namestring

Example

InputGameShortName(
    bot_id=await app.resolve_user(chat_id),
    short_name="text",
)