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.
| Name | Type | Description | Required |
|---|---|---|---|
| user_id | int | null | array | Target user id | no |
| chat_id | int | null | Required if inline_message_id is not specified. Unique identifier for the target chat | no |
| message_id | int | null | Required if inline_message_id is not specified. Identifier of the sent message | no |
| inline_message_id | string | null | Required if chat_id and message_id are not specified. Identifier of the inline message | no |
| token | string | null | You can use this method on another bot with specify this parameter | no |
| forgot | bool | null | You can set to not receive request result, dont set it or pass null for turn it off | no |
| answer | bool | null | You can set to answer to webhook, dont set it or pass null for turn it off | no |
Output : BPT\types\gameHighScore[] | BPT\types\responseError | bool
Static or normal : Static
request::getGameHighScores(user_id: int | null, chat_id: int | null, message_id: int | null, inline_message_id: string | null, token: String | null, forgot: Boolean | null, answer: Boolean | null);request::getGameHighScores(['user_id' => int | null, 'chat_id' => int | null, 'message_id' => int | null, 'inline_message_id' => string | null, 'token' => String | null, 'forgot' => Boolean | null, 'answer' => Boolean | null]);request::getGameHighScores();