Interface IRedeemCode

Interface for redeeming a code in Genshin Impact.

interface IRedeemCode {
    data: null | string;
    message: string;
    retcode: number;
}

Properties

Properties

data: null | string

The data returned from redeeming the code. It can be a string or null.

message: string

A message describing the result of redeeming the code.

retcode: number

The return code from redeeming the code. A non-zero code indicates an error occurred.