TiktokLookup: {
cache: {
isLive: boolean | null;
lastPolled: number | null;
tracked: boolean;
};
outcome:
| "live"
| "offline"
| "rate-limited-or-failed"
| "temporary-api-issue"
| "account-not-found"
| "unusable-response";
room: {
ownerMatches: boolean | null;
ownerUserId: string | null;
startedAtUnix: number | null;
status: number | null;
title: string | null;
} | null;
roomDataPresent: boolean | null;
roomId: string | null;
uid: string | null;
username: string;
}
Type declaration
cache: {
isLive: boolean | null;
lastPolled: number | null;
tracked: boolean;
}
isLive: boolean | null
lastPolled: number | null
tracked: boolean
outcome:
| "live"
| "offline"
| "rate-limited-or-failed"
| "temporary-api-issue"
| "account-not-found"
| "unusable-response"
room: {
ownerMatches: boolean | null;
ownerUserId: string | null;
startedAtUnix: number | null;
status: number | null;
title: string | null;
} | null
roomDataPresent: boolean | null
roomId: string | null
uid: string | null
username: string
ownerMatches: false= tokapi gave someone else's room (the leaked-room bug). status 2 = live, 4 = ended.