POST /getGameHighScores
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.
This method will currently return scores for the target user, plus two of their closest neighbors on each side. Will also return the top three users if the user and his neighbors are not among them. Please note that this behavior is subject to change.
Servers
- https://api.telegram.org/bot{token}
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
message_id |
Integer | No |
Required if inline_message_id is not specified. Identifier of the sent message |
inline_message_id |
String | No |
Required if chat_id and message_id are not specified. Identifier of the inline message |
chat_id |
Integer | No |
Required if inline_message_id is not specified. Unique identifier for the target chat |
user_id |
Integer | Yes |
Target user id |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.