Skip to content

Commit

Permalink
notice for sending chat messages added
Browse files Browse the repository at this point in the history
  • Loading branch information
zerodytrash authored Mar 13, 2024
1 parent 47d18e1 commit 2ca2da9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1655,6 +1655,8 @@ tiktokLiveConnection.getAvailableGifts().then(giftList => {
````

### Send Chat Messages
> Due to the increased signature requirements by TikTok, sending chat messages is currently not possible.
You can send chat messages via the [`sendMessage()`](#methods) function to automatically respond to chat commands for example. For this you need to provide your Session ID.

To get the Session ID from your account, open TikTok in your web browser and make sure you are logged in, then press F12 to open the developer tools. Switch to the **Application** tab and select **Cookies** on the left side. Then take the value of the cookie with the name **`sessionid`**.
Expand Down

0 comments on commit 2ca2da9

Please sign in to comment.