telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface UserRating

    Represents the rating of a user in Telegram's public-profile rating system.

    Declared next to ChatFullInfo because ChatFullInfo.rating is the only documented reference to it in Bot API 10.3.

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

    The rating necessary to reach the current level.

    level: number

    Identifier of the current level of the rating.

    next_level_rating?: number

    The rating necessary to reach the next level; if the user has reached the highest level, the field is omitted.

    rating: number

    The current rating of the user.