def get_game_high_scores(token, user_id, chat_id=None, message_id=None, inline_message_id=None):
 method_url = 'getGameHighScores'
 payload = {'user_id': user_id}
 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
 return _make_request(token, method_url, params=payload)

def get_game_high_scores ( token , user_id , chat_id = None , message_id = None , inline_message_id = None ) : method_url = 'getGameHighScores' payload = { 'user_id' : user_id } 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 return _make_request ( token , method_url , params = payload )
use this method to get data for high score tables .