InputGameShortName
- class pyrogram.raw.types.InputGameShortName
Game by short name
Constructor of
InputGame.- Details:
Layer:
223ID:
C331E80A
- Parameters:
bot_id (
InputUser) – The bot that provides the gameshort_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_id →
InputUser│ ├──
InputUserEmpty│ ├──
InputUserSelf│ ├──
InputUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ └──
InputUserFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── user_id →
long└── short_name →
stringExample
InputGameShortName(
bot_id=await app.resolve_user(chat_id),
short_name="text",
)