From 9a5e8302be3253c9b29340cf5b2bfa40a3bdadc8 Mon Sep 17 00:00:00 2001 From: eternnoir Date: Sat, 3 Dec 2016 13:31:55 +0800 Subject: [PATCH] Add force params in setGameScore method. --- telebot/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telebot/__init__.py b/telebot/__init__.py index e219b77..05fc12e 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -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