> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tidyread.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhook For Telegram

First, you need to create a Telegram Bot through [BotFather](https://core.telegram.org/bots/tutorial) and obtain the Bot Token.

After adding the bot to your Telegram Group, send a message in the group. Then, you can visit `https://api.telegram.org/bot{BOT_TOKEN}/getUpdates` to get the Chat ID. Note that this will be a negative number.

```javascript theme={null}
{
    "ok": true,
    "result": [
        {
            "update_id": 726841526,
            "message": {
                "message_id": 338,
                "from": {
                    "id": 6640147596,
                    "is_bot": false,
                    "first_name": "Jared",
                    "last_name": "L",
                    "language_code": "en"
                },
                "chat": {
                    "id": -123456789,  // 👈 Here is the Chat ID
                    "title": "XXX",
                    "type": "supergroup"
                },
                "date": 1729151800,
                "text": "hh"
            }
        }
    ]
}
```

Then you can configure the Telegram Webhook in Tidyread. Simply replace the red-marked areas in the image with your own Bot Token and Chat ID:

> [https://api.telegram.org/bot\{YOUR\_TOKEN}/sendMessage](https://api.telegram.org/bot\{YOUR_TOKEN}/sendMessage)

![](https://cdn.tidyread.ai/pic/2024/10/9232643f5bdd18f9ab56b34727eb7a7e.png)

## Digest Example

![](https://cdn.tidyread.ai/pic/2024/10/fa40d12b0a6debe5a973b83c2a730327.png)

## Troubleshooting

If you notice that digest messages are not being pushed as expected, try clicking the `Test Webhook` button to check if the configuration is correct. If there's an error, an error message will pop up. If you're unable to resolve the issue, please use the feedback button in the extension sidebar to report the problem to us.

![](https://cdn.tidyread.ai/pic/2024/10/ae6f233270dd37681f938527c1069e7c.png)
