mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Add force params in setGameScore method.
This commit is contained in:
parent
30ed6e37d3
commit
9a5e8302be
@ -578,8 +578,8 @@ class TeleBot:
|
||||
reply_markup)
|
||||
return types.Message.de_json(result)
|
||||
|
||||
def set_game_score(self, user_id, score, chat_id=None, message_id=None, inline_message_id=None, edit_message=None):
|
||||
result = apihelper.set_game_score(self.token, user_id, score, chat_id, message_id, inline_message_id,
|
||||
def set_game_score(self, user_id, score, force=None,chat_id=None, message_id=None, inline_message_id=None, edit_message=None):
|
||||
result = apihelper.set_game_score(self.token, user_id, score, force, chat_id, message_id, inline_message_id,
|
||||
edit_message)
|
||||
if type(result) == bool:
|
||||
return result
|
||||
|
Loading…
Reference in New Issue
Block a user