ultra-telegram-framework
    Preparing search index...

    Interface UserRating

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

    interface UserRating {
        current_level_rating: number;
        level: number;
        next_level_rating?: number;
        rating: number;
    }
    Index

    Properties

    current_level_rating: number

    The rating value required to get the current level

    level: number

    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.

    next_level_rating?: number

    Optional. The rating value required to get to the next level; omitted if the maximum level was reached

    rating: number

    Numerical value of the user's rating; the higher the rating, the better