Skip to main content
fetchStream(streamerId): Promise<TwitchHelixStreamsResult | null>
Defined in: twitch.ts:48 Retrieves the data of the current stream of a channel.

Parameters

streamerId

string The Twitch User ID of the streamer.

Returns

Promise<TwitchHelixStreamsResult | null> Either the data of the current stream if online, or null if the streamer is offline.