Skip to content

GramIO API Reference / gramio/dist / SetGameScoreParams

Interface: SetGameScoreParams

Defined in: @gramio/types/out/params.d.ts:4367

Params object for setGameScore method

Properties

PropertyTypeDescriptionDefined in
chat_id?numberRequired if inline_message_id is not specified. Unique identifier for the target chat@gramio/types/out/params.d.ts:4387
disable_edit_message?booleanPass True if the game message should not be automatically edited to include the current scoreboard@gramio/types/out/params.d.ts:4383
force?booleanPass True if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters@gramio/types/out/params.d.ts:4379
inline_message_id?stringRequired if chat_id and message_id are not specified. Identifier of the inline message@gramio/types/out/params.d.ts:4395
message_id?numberRequired if inline_message_id is not specified. Identifier of the sent message@gramio/types/out/params.d.ts:4391
scorenumberNew score, must be non-negative@gramio/types/out/params.d.ts:4375
user_idnumberUser identifier@gramio/types/out/params.d.ts:4371