{
  "name": "UserRating",
  "anchor": "userrating",
  "description": [
    "This object describes the rating of a user based on their Telegram Star spendings."
  ],
  "table": {
    "headers": [
      "Field",
      "Type",
      "Description"
    ],
    "rows": [
      {
        "field": "level",
        "type": "Integer",
        "description": "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."
      },
      {
        "field": "rating",
        "type": "Integer",
        "description": "Numerical value of the user's rating; the higher the rating, the better"
      },
      {
        "field": "current_level_rating",
        "type": "Integer",
        "description": "The rating value required to get the current level"
      },
      {
        "field": "next_level_rating",
        "type": "Integer",
        "description": "Optional . The rating value required to get to the next level; omitted if the maximum level was reached"
      }
    ]
  },
  "notes": []
}