[youtubei.js](../README.md) / Context

# Type Alias: Context

> **Context** = `object`

Defined in: [src/core/Session.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L38)

## Properties

### client

> **client**: `object`

Defined in: [src/core/Session.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L39)

#### androidSdkVersion?

> `optional` **androidSdkVersion**: `number`

#### browserName?

> `optional` **browserName**: `string`

#### browserVersion?

> `optional` **browserVersion**: `string`

#### clientFormFactor

> **clientFormFactor**: `string`

#### clientName

> **clientName**: `string`

#### clientScreen?

> `optional` **clientScreen**: `string`

#### clientVersion

> **clientVersion**: `string`

#### configInfo?

> `optional` **configInfo**: `object`

##### configInfo.appInstallData?

> `optional` **appInstallData**: `string`

##### configInfo.coldConfigData?

> `optional` **coldConfigData**: `string`

##### configInfo.coldHashData?

> `optional` **coldHashData**: `string`

##### configInfo.hotHashData?

> `optional` **hotHashData**: `string`

#### deviceExperimentId?

> `optional` **deviceExperimentId**: `string`

#### deviceMake

> **deviceMake**: `string`

#### deviceModel

> **deviceModel**: `string`

#### gl

> **gl**: `string`

#### hl

> **hl**: `string`

#### kidsAppInfo?

> `optional` **kidsAppInfo**: `object`

##### kidsAppInfo.categorySettings

> **categorySettings**: `object`

##### kidsAppInfo.categorySettings.enabledCategories

> **enabledCategories**: `string`[]

##### kidsAppInfo.contentSettings

> **contentSettings**: `object`

##### kidsAppInfo.contentSettings.corpusPreference

> **corpusPreference**: `string`

##### kidsAppInfo.contentSettings.kidsNoSearchMode

> **kidsNoSearchMode**: `string`

#### mainAppWebInfo?

> `optional` **mainAppWebInfo**: `object`

##### mainAppWebInfo.graftUrl

> **graftUrl**: `string`

##### mainAppWebInfo.isWebNativeShareAvailable

> **isWebNativeShareAvailable**: `boolean`

##### mainAppWebInfo.pwaInstallabilityStatus

> **pwaInstallabilityStatus**: `string`

##### mainAppWebInfo.webDisplayMode

> **webDisplayMode**: `string`

#### memoryTotalKbytes?

> `optional` **memoryTotalKbytes**: `string`

#### originalUrl?

> `optional` **originalUrl**: `string`

#### osName

> **osName**: `string`

#### osVersion

> **osVersion**: `string`

#### platform

> **platform**: `string`

#### remoteHost?

> `optional` **remoteHost**: `string`

#### rolloutToken?

> `optional` **rolloutToken**: `string`

#### screenDensityFloat?

> `optional` **screenDensityFloat**: `number`

#### screenHeightPoints?

> `optional` **screenHeightPoints**: `number`

#### screenPixelDensity?

> `optional` **screenPixelDensity**: `number`

#### screenWidthPoints?

> `optional` **screenWidthPoints**: `number`

#### timeZone

> **timeZone**: `string`

#### userAgent

> **userAgent**: `string`

#### userInterfaceTheme?

> `optional` **userInterfaceTheme**: `string`

#### utcOffsetMinutes

> **utcOffsetMinutes**: `number`

#### visitorData?

> `optional` **visitorData**: `string`

***

### request?

> `optional` **request**: `object`

Defined in: [src/core/Session.ts:98](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L98)

#### internalExperimentFlags

> **internalExperimentFlags**: `any`[]

#### useSsl

> **useSsl**: `boolean`

***

### thirdParty?

> `optional` **thirdParty**: `object`

Defined in: [src/core/Session.ts:95](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L95)

#### embedUrl

> **embedUrl**: `string`

***

### user

> **user**: `object`

Defined in: [src/core/Session.ts:90](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L90)

#### enableSafetyMode

> **enableSafetyMode**: `boolean`

#### lockedSafetyMode

> **lockedSafetyMode**: `boolean`

#### onBehalfOfUser?

> `optional` **onBehalfOfUser**: `string`
