Skip to content

Interface: StreamData ​

Aggregated data returned by k.stream.getData(). Empty event buckets are [].

Properties ​

twitch_stream ​

ts
twitch_stream: {
  started_at: number;
};

started_at ​

ts
started_at: number;

Last known stream start in Unix milliseconds, or null when unavailable. A retained timestamp does not prove the channel is currently live.


twitch-chatters ​

ts
twitch-chatters: Record<string, StreamChatterData>;

Participants indexed by Twitch display name, not a list of logins.


twitch-follow ​

ts
twitch-follow: TwitchFollow[];

twitch-infos ​

ts
twitch-infos: TwitchInfos[];

twitch-raid ​

ts
twitch-raid: TwitchRaid[];

twitch-subscribe ​

ts
twitch-subscribe: TwitchSubscribe[];

twitch-subscription-gift ​

ts
twitch-subscription-gift: TwitchSubscriptionGift[];

twitch-subscription-message ​

ts
twitch-subscription-message: TwitchSubscriptionMessage[];