Skip to content

FetchIsLiveRoute

Check if a given user is alive through their unique_id or room_id

Check if a given user is alive through their unique_id or room_id

class FetchIsLiveRoute(ClientRoute)

Check whether a list of room_id’s are currently live

async def fetch_is_live_room_ids(*room_ids: int) -> List[bool]
  • *room_ids (int) — The room_id’s to check

List[bool] — Whether they are alive, in the order they were sent

Check whether a given user is live

async def fetch_is_live_unique_id(unique_id: str) -> bool
  • unique_id (str) — The unique_id of the user

bool — Whether they are live

from TikTokLive.client.web.routes import FetchIsLiveRoute

TikTokLive/client/web/routes/fetch_is_live.py:29