TikTokLiveSharp
TikTokLiveSharp copied to clipboard
how can connect tiktok with roomID?[QUESTION]
hello, how can connect this with roomid instead hostid?
TikTokLiveClient client = new TikTokLiveClient("", "my_roomId", new ClientSettings()
{
EnableCompression = false
});
client.OnConnected += Client_OnConnected;
client.OnRoomUpdate += Client_OnRoomUpdate;
client.OnLiveEnded += Client_OnLiveEnded;
client.OnLike += Client_OnLike;
client.OnJoin += Client_OnJoin;
client.OnFollow += Client_OnFollow;
client.OnChatMessage += Client_OnChatMessage;
but i receibed an error that says client don't exists. thanks
Please provide more info on the error you're seeing. Connections should default to using RoomID if one is provided.
but is good my params? in userID is empty and in roomid my roomid? can you create an example in examples code, please?
Your params look okay, yes. UserId can either be NULL or string.Empty ("")