ultra-telegram-framework
    Preparing search index...

    Interface SetGameScoreParams

    interface SetGameScoreParams {
        chat_id?: number;
        disable_edit_message?: boolean;
        force?: boolean;
        inline_message_id?: string;
        message_id?: number;
        score: number;
        user_id: number;
    }
    Index

    Properties

    chat_id?: number

    Required if inline_message_id is not specified. Unique identifier for the target chat

    disable_edit_message?: boolean

    Pass True if the game message should not be automatically edited to include the current scoreboard

    force?: boolean

    Pass True if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters

    inline_message_id?: string

    Required if chat_id and message_id are not specified. Identifier of the inline message

    message_id?: number

    Required if inline_message_id is not specified. Identifier of the sent message

    score: number

    New score, must be non-negative

    user_id: number

    User identifier