Skip to content

GramIO API Reference / gramio/dist / TelegramUserRating

Interface: TelegramUserRating

Defined in: @gramio/types/out/objects.d.ts:4079

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

Documentation

Properties

PropertyTypeDescriptionDefined in
current_level_ratingnumberThe rating value required to get the current level@gramio/types/out/objects.d.ts:4091
levelnumberCurrent 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.@gramio/types/out/objects.d.ts:4083
next_level_rating?numberOptional. The rating value required to get to the next level; omitted if the maximum level was reached@gramio/types/out/objects.d.ts:4095
ratingnumberNumerical value of the user's rating; the higher the rating, the better@gramio/types/out/objects.d.ts:4087