YouTube.js
Guide
Discord
GitHub
Guide
Discord
GitHub

youtubei.js / SessionArgs

Type Alias: SessionArgs

SessionArgs: object

Type declaration

client_name

client_name: ClientType

device_category

device_category: DeviceCategory

enable_safety_mode

enable_safety_mode: boolean

lang

lang: string

location

location: string

on_behalf_of_user

on_behalf_of_user: string | undefined

time_zone

time_zone: string

user_agent

user_agent: string

visitor_data

visitor_data: string

Defined in

src/core/Session.ts:230

Edit this page
Last Updated:: 6/8/25, 5:43 PM
Contributors: Luan