authorize_webapp
Approves a single-use pairing code to unlock the Torrent Search webapp for a browser. Provide the code and Telegram chat ID to grant permanent access after user approval.
Instructions
Authorize a browser on the Torrent Search webapp via its pairing code.
The code comes from an user interaction on the webapp: they click "Open in Telegram", scan the QR code, or copy the prompt message, which sends "Authorize for Torrent Search" to you. Take the code from that message and call this tool with it and the user's Telegram chat id. Codes are single-use and expire after 5 minutes. After approval the user MUST go back to the webapp: the browser polls and completes the authentication there (it shows "Access granted" and unlocks the app permanently).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Pairing code shown in the webapp 'Telegram Access' gate. | |
| chat_id | Yes | The owner's Telegram chat id the webapp access is bound to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |