Skip to main content

Interface: IGenshinOptions

Interface representing the options for the Genshin Impact API. Inherits from IHoyolabOptions.

Hierarchy

Properties

cookie: string | ICookie

The cookie used to authenticate the request. This can be either a string or an ICookie object.

Inherited from

IHoyolabOptions.cookie

Defined in

src/client/hoyolab/hoyolab.interface.ts:20


lang

Optional lang: LanguageEnum

The language to use for the request. This should be a value of LanguageEnum.

Inherited from

IHoyolabOptions.lang

Defined in

src/client/hoyolab/hoyolab.interface.ts:25


region

Optional region: GenshinRegion

The region of the Genshin Impact player.

Defined in

src/client/gi/gi.interface.ts:39


uid

Optional uid: number

The UID of the Genshin Impact player.

Defined in

src/client/gi/gi.interface.ts:35