Class SetGameScore
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<SetGameScore, Object>
io.github.natanimn.telebof.requests.set.SetGameScore
SetGameScore class.
- Since:
- 3 March 2025
- 
Constructor SummaryConstructorsConstructorDescriptionSetGameScore(long chat_id, long user_id, int score, int message_id, Api api) RequiredSetGameScore(String inline_message_id, long user_id, int score, Api api) Required
- 
Method SummaryModifier and TypeMethodDescriptiondisableEditMessage(boolean disable_edit_message) Optionalforce(boolean force) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequestexec
- 
Constructor Details- 
SetGameScoreRequired- Parameters:
- chat_id- chat id
- user_id- user id
- score- score
- message_id- message id
- api- api
- See Also:
 
- 
SetGameScore
 
- 
- 
Method Details- 
forceOptional- Parameters:
- force- Pass True if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters
- Returns:
- SetGameScore
 
- 
disableEditMessageOptional- Parameters:
- disable_edit_message- Pass True if the game message should not be automatically edited to include the current scoreboard
- Returns:
- SetGameScore
 
 
-