@yeci226/hoyoapi
Version:
HoYoAPI is an unofficial API Wrapper library developed to facilitate communication with the official HoYoLab API.
18 lines (17 loc) • 442 B
TypeScript
/**
* Interface for redeeming a code in Genshin Impact.
*/
export interface IRedeemCode {
/**
* The data returned from redeeming the code. It can be a string or null.
*/
data: string | null;
/**
* A message describing the result of redeeming the code.
*/
message: string;
/**
* The return code from redeeming the code. A non-zero code indicates an error occurred.
*/
retcode: number;
}