messages.SetInlineGameScore#
- class pyrogram.raw.functions.messages.SetInlineGameScore#
Use this method to set the score of the specified user in a game sent as an inline message (bots only).
- Details:
Layer:
158
ID:
15AD9F64
- Parameters:
id (
InputBotInlineMessageID
) – ID of the inline message.user_id (
InputUser
) – User identifier.score (
int
32-bit
) – New score.edit_message (
bool
, optional) – Set this flag if the game message should be automatically edited to include the current scoreboard.force (
bool
, optional) – Set this flag if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters.
- Returns:
bool