This article will describe a way to get a token and thereby authorize the bot to perform automatic actions with the game.
1. If the Telegram Desktop application is not downloaded, then you need to download (link)
2. Log in to your computer account
3. Click on the button in the upper left corner of the screen
4. Click the «Settings» button
5. Press the «Advanced Settings» button
6. Scroll to the bottom and select «Experimental settings»
7. Find and enable the «Enable webview inspecting» option
8. Log into Hamster Kombat and click «Play»
9. Right-click on the Hamster Kombat window and click «Check»
10. A window will open for you, in this window you need to select the «Application» tab
11. On the left, click on the arrow «Storage for the session» and select the first key: «__telegram__initParams»
12. The values will appear below and to the right of the «tgWebAppData:» parameter, what is in quotes, right-click on what is in quotes,"and then click on the «Copy value» button
13. Paste the received data on the site and click «Add»
If you have previously done step 1 to step 7, then when logging in from a new account, it is enough to start from step 8 to get the necessary data to add a bot.
Gnom 06 августа 2024, 20:14
пон