Build a webcast URI from a base URI and parameters. This method will format the base URI with the parameters and return the formatted URI.
Build a webcast URI from a base URI and parameters. This method will format the base URI with the parameters and return the formatted URI.
Signature
Section titled “Signature”def build_webcast_uri( initial_webcast_response: ProtoMessageFetchResult, base_uri_params: dict, base_uri_append_str: str,) -> strParameters
Section titled “Parameters”initial_webcast_response(ProtoMessageFetchResult) — The initial Webcast responsebase_uri_params(dict) — Parameters to format the URI withbase_uri_append_str(str) — String to append to the base URI
Returns
Section titled “Returns”str — str The formatted URI
Import
Section titled “Import”from TikTokLive.client.ws.ws_utils import build_webcast_uri