getGameHighScoresInline method

Future<List<GameHighScore>> getGameHighScoresInline(
  1. int userId, {
  2. String? inlineMessageId,
})
inherited

Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. Returns an Array of GameHighScore objects.

Implementation

Future<List<GameHighScore>> getGameHighScoresInline(
  int userId, {
  String? inlineMessageId,
}) {
  return _client.apiCall(_token, 'getGameHighScores', {
    'user_id': userId,
    'inline_message_id': inlineMessageId,
  });
}