Skip to reference

Beta reference. Prepared from development builds for this version. This reference does not describe the current stable release.

A verified stable reference is not available yet. Choose a prepared beta version above.

Variables · supported

{channel.viewers}

Current viewer count when exposed by the platform

variable.global.channel.viewers · 2.8.0

Browse all entries

Requirements and availability

Available while the platform API exposes live viewer data

Picker contexts: automation, timer, command, pad.

Variable providers: twitch, youtube, kick, tiktok.

Behavior

Current viewer count when exposed by the platform

Contract details

Key
channel.viewers
Category
Stream
Description
Current viewer count when exposed by the platform
Availability
runtime
Availability Note
Available while the platform API exposes live viewer data
Canonical Key
channel.viewers
Syntax
{channel.viewers}
Aliases
[]
Producer
Global command variable engine, resolved on demand.
Fallback
Unavailable
Fallback Note
This fallback applies on null/error/timeout; a resolver may return its own 0, empty string or descriptive value instead.
Lifetime
Resolved for this template; data may be live, cached or persisted according to its provider.

Examples

A single variable expression; context and data prerequisites still apply.

{channel.viewers}

Related entries

Source and verification

Source-reviewed for 2.8.0. Connected-service validation remains subject to release UAT.

  • server.js — COMMAND_VARIABLE_DEFINITIONS.channel.viewers
  • src/features/command-variables.js — createCommandVariableEngine

Source revision: 472fb34b484eeef0b663d28cacb628a7b9f14ff1

Downloads and AI prompt
Download JSONDownload Markdown