def set_game_score(token, user_id, score, force=None, disable_edit_message=None, chat_id=None, message_id=None, inline_message_id=None):
 method_url = 'setGameScore'
 payload = {'user_id': user_id, 'score': score}
 if force:
  payload['force'] = force
 if chat_id:
  payload['chat_id'] = chat_id
 if message_id:
  payload['message_id'] = message_id
 if inline_message_id:
  payload['inline_message_id'] = inline_message_id
 if disable_edit_message:
  payload['disable_edit_message'] = disable_edit_message
 return _make_request(token, method_url, params=payload)

def set_game_score ( token , user_id , score , force = None , disable_edit_message = None , chat_id = None , message_id = None , inline_message_id = None ) : method_url = 'setGameScore' payload = { 'user_id' : user_id , 'score' : score } if force : payload [ 'force' ] = force if chat_id : payload [ 'chat_id' ] = chat_id if message_id : payload [ 'message_id' ] = message_id if inline_message_id : payload [ 'inline_message_id' ] = inline_message_id if disable_edit_message : payload [ 'disable_edit_message' ] = disable_edit_message return _make_request ( token , method_url , params = payload )
use this method to set the score of the specified user in a game .