getContext

Lấy danh sách nhóm đã tham gia

api.getContext()

Parameters

Return

ContextSession

ContextSession

  • uid string

  • imei string

  • cookie CookieJar

  • userAgent string

  • language string

  • secretKey string

  • zpwServiceMap Record<string, string[]>

  • settings

    • Record<string, any>

    • features

      • Record<string, any>

      • sharefile ShareFileSettings

  • extraVer Record<string, any>

  • uploadCallbacks CallbacksMap

  • options Options

  • API_TYPE number (readonly)

  • API_VERSION number (readonly)

ShareFileSettings

  • big_file_domain_list string[]

  • max_size_share_file_v2 number

  • max_size_share_file_v3 number

  • file_upload_show_icon_1GB boolean

  • restricted_ext string

  • next_file_time number

  • max_file number

  • max_size_photo number

  • max_size_share_file number

  • max_size_resize_photo number

  • max_size_gif number

  • max_size_original_photo number

  • chunk_size_file number

  • restricted_ext_file string[]

Options

  • selfListen boolean

  • checkUpdate boolean

  • logging boolean

  • apiType number

  • apiVersion number

  • agent Agent | string | undefined

  • polyfill fetch | node-fetch

Examples

console.log(api.getContext());

Last updated