TgKit library and website are still in early development!

GameScoreSetOptions Interface

Properties

chatId number

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

See the code

disableEditMessage boolean

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

See the code

force boolean

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

See the code

inlineMessageId string

Required if *chatId* and *messageId* are not specified. Identifier of the inline message

See the code

messageId number

Required if *inlineMessageId* is not specified. Identifier of the sent message

See the code