export interface Livestream { /** When the livestream was created, as an ISO 8601 timestamp. */ created_at: string; /** When the livestream ended, as an ISO 8601 timestamp. `null` while it is live or before it starts. */ ended_at: string | null; /** Livestream ID, prefixed `lfeed_`. */ id: string; /** When a moderator pinned this livestream's recording, as an ISO 8601 timestamp. `null` when it is not pinned. */ pinned_at: string | null; /** When the recording's first frame was captured, as an ISO 8601 timestamp. Offsets into the recording count from here, not from `started_at`. `null` until recording starts. */ recording_started_at: string | null; /** State of the recording. `null` when the livestream was not recorded. */ recording_status: Livestream.RecordingStatus | null; /** A temporary link to the recording's video file. Retrieve the livestream again for a fresh link. `null` until the recording is ready, or when it was deleted. */ recording_url: string | null; /** When the livestream went live, as an ISO 8601 timestamp. `null` before it starts. */ started_at: string | null; /** A temporary link to a still frame from the livestream. `null` when none was captured. */ thumbnail_url: string | null; /** Display title of the livestream. `Untitled Livestream` when the host did not set one. */ title: string; } export declare namespace Livestream { /** State of the recording. `null` when the livestream was not recorded. */ const RecordingStatus: { readonly Recording: "recording"; readonly Processing: "processing"; readonly Completed: "completed"; readonly Failed: "failed"; }; type RecordingStatus = (typeof RecordingStatus)[keyof typeof RecordingStatus]; }