teleproto - v1.229.0
    Preparing search index...

    Interface MessagesSetGameScoreParams

    interface MessagesSetGameScoreParams {
        editMessage?: boolean;
        force?: boolean;
        id: number;
        peer: EntityLike;
        score: number;
        userId: EntityLike;
    }
    Index
    editMessage?: boolean

    Set this flag if the game message should be automatically edited to include the current scoreboard

    force?: boolean

    Set this flag if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters

    id: number

    Identifier of the sent message

    peer: EntityLike

    Unique identifier of target chat

    score: number

    New score

    userId: EntityLike

    User identifier