Skip to content

fetchRoomInfoFromApiLiveRoute

const fetchRoomInfoFromApiLiveRoute: HttpRoute<FetchRoomInfoFromApiRouteParams, FetchRoomInfoFromApiRouteResponse>

Defined in: src/lib/web/routes/base/fetch-room-info-api-live.ts:26

Fetches room information from the TikTok API Live endpoint using the provided uniqueId. This route is used as part of the process to determine if a user is currently live streaming and to retrieve associated room information.

webClient

The HTTP client instance to use for making the API request.

uniqueId

The unique identifier (username) of the TikTok user whose room information is being fetched.