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

# Type Alias: SessionArgs

> **SessionArgs** = `object`

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

## Properties

### client\_name

> **client\_name**: [`ClientType`](../enumerations/ClientType.md)

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

***

### device\_category

> **device\_category**: [`DeviceCategory`](../youtubei.js/namespaces/Utils/type-aliases/DeviceCategory.md)

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

***

### enable\_safety\_mode

> **enable\_safety\_mode**: `boolean`

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

***

### lang

> **lang**: `string`

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

***

### location

> **location**: `string`

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

***

### on\_behalf\_of\_user

> **on\_behalf\_of\_user**: `string` \| `undefined`

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

***

### time\_zone

> **time\_zone**: `string`

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

***

### user\_agent

> **user\_agent**: `string`

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

***

### visitor\_data

> **visitor\_data**: `string`

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