• Set a score of a user in a game contained in an inline message

    Parameters

    • client: ITelegramClient
    • params: {
          force?: boolean;
          messageId: string | TypeInputBotInlineMessageID;
          noEdit?: boolean;
          score: number;
          userId: InputPeerLike;
      }
      • Optionalforce?: boolean

        Whether to allow user's score to decrease. This can be useful when fixing mistakes or banning cheaters

      • messageId: string | TypeInputBotInlineMessageID

        ID of the inline message

      • OptionalnoEdit?: boolean

        When true, the game message will not be modified to include the new score

      • score: number

        The new score (must be >0)

      • userId: InputPeerLike

        ID of the user who has scored

    Returns Promise<void>