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
     return types.Message.de_json(result)
Exemple #2
0
 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
     return types.Message.de_json(result)