Internal
Constructs a new RedeemModule object.
The Request object used for making HTTP requests.
The language to use for the API response.
The game to redeem the code for.
The region of the user's account. If null, the API will use the default region for the game.
The user ID of the account. If null, the API will use the user ID associated with the provided auth cookies.
Redeems a code for a specific game and account.
The code to redeem.
A promise that resolves to an IRedeemCode object containing information about the redemption status.
Class representing the Redeem module for Genshin Impact's Hoyolab API.