StaticGramBot API

UserRating

This object describes the rating of a user based on their Telegram Star spendings.

Поля

levelInteger
Current level of the user, indicating their reliability when purchasing digital goods and services. A higher level suggests a more trustworthy customer; a negative level is likely reason for concern.
ratingInteger
Numerical value of the user's rating; the higher the rating, the better
The rating value required to get the current level
next_level_ratingIntegeroptional
The rating value required to get to the next level; omitted if the maximum level was reached

Минимальный JSON

JSON
{
  "level": 1,
  "rating": 1,
  "current_level_rating": 1
}

Где используется

Типы

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top