Checks if the user has a stream token set (Check_if_user_is_streamer).
The ID of the user to check.
A promise that resolves to a boolean indicating whether the user is a streamer.
Checks if the user is currently streaming (check_if_user_is_streaming).
The ID of the streamer to check.
A promise that resolves to a boolean indicating whether the user is currently streaming.
Checks if the user is streaming and the stream is public (check_if_user_is_streaming_and_public).
The ID of the streamer to check.
A promise that resolves to a boolean indicating whether the user is streaming and the stream is public.
Creates a new stream (create_stream) and returns the created record.
The ID of the streamer who will create the stream.
Optionaltitle: string | nullThe title of the stream (optional).
Optionaldescription: string | nullThe description of the stream (optional).
A promise that resolves to the created stream record.
Sets the live status for a stream (set_stream_live_status).
The ID of the stream to update.
The new live status of the stream (true for live, false for not live).
A promise that resolves to the updated stream record or null if not found.
Sets the lock status for a stream (set_stream_lock_status).
The ID of the stream to update.
The new lock status of the stream (true to lock, false to unlock).
A promise that resolves to the updated stream record or null if not found.
Updates the details of a stream (update_stream_details).
The ID of the stream to update.
Optionaltitle: string | nullThe new title of the stream (optional).
Optionaldescription: string | nullThe new description of the stream (optional).
Optionalthumbnail: string | nullThe new thumbnail URL for the stream (optional).
A promise that resolves to the updated stream record or null if not found.
Adds or updates the path for a stream (add_path_to_stream).