get_game_high_scores#

template<class Connector>
api_result<array_t<game_high_score_t>, Connector&&> get_game_high_scores(Connector &&connector, get_game_high_scores_args_t args)#
template<class Connector>
api_result<array_t<game_high_score_t>, Connector&&> call(Connector &&connector, get_game_high_scores_args_t args)#

connector is any object satisfying connector concept.

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. On success, returns an Array of GameHighScore objects.

struct get_game_high_scores_args_t#

Arguments that should be passed to get_game_high_scores().

integer_t user_id#

Target user id

optional_t<integer_t> chat_id#

Required if inline_message_id is not specified. Unique identifier for the target chat

optional_t<integer_t> message_id#

Required if inline_message_id is not specified. Identifier of the sent message

optional_t<string_t> inline_message_id#

Required if chat_id and message_id are not specified. Identifier of the inline message