messages.GetInlineGameHighScores
- class pyrogram.raw.functions.messages.GetInlineGameHighScores
Get highscores of a game sent using an inline bot
- Details:
Layer:
223ID:
F635E1B
- Parameters:
id (
InputBotInlineMessageID) – ID of inline messageuser_id (
InputUser) – Get high scores of a certain user
- Returns:
TL Schema
messages.getInlineGameHighScores#f635e1b
id:InputBotInlineMessageID
user_id:InputUser
= messages.HighScores
Parameter Tree
GetInlineGameHighScores
├── id →
InputBotInlineMessageID│ ├──
InputBotInlineMessageID│ │ ├── dc_id →
int│ │ ├── id →
long│ │ └── access_hash →
long│ ├── dc_id →
int│ ├── owner_id →
long│ ├── id →
int│ └── access_hash →
long└── user_id →
InputUser├──
InputUserEmpty├──
InputUserSelf├──
InputUser│ ├── user_id →
long│ └── access_hash →
long├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ ├──
InputPeerUser│ ├──
InputPeerChannel│ ├──
InputPeerUserFromMessage├── msg_id →
int└── user_id →
longExample
await app.invoke(
GetInlineGameHighScores(
id=InputBotInlineMessageID(
dc_id=0,
id=0,
access_hash=0
),
user_id=await app.resolve_user(chat_id),
)
)