YouTube.js
Guide
Discord
❤️ Sponsor
GitHub
Guide
Discord
❤️ Sponsor
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:233

Edit this page
Last Updated: 7/24/25, 1:11 PM