Interface ISetGameScoreParams

Parameters for the setGameScore method

Hierarchy

  • ISetGameScoreParams

Properties

chat_id?: number

Required if inline_message_id is not specified. Unique identifier for the target chat

disable_edit_message?: boolean

Pass True if the game message should not be automatically edited to include the current scoreboard

force?: boolean

Pass True if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters

inline_message_id?: string

Required if chat_id and message_id are not specified. Identifier of the inline message

message_id?: number

Required if inline_message_id is not specified. Identifier of the sent message

score: number

New score, must be non-negative

user_id: number

User identifier

Generated using TypeDoc