Please follow the steps if you are trying to work with the Telegram integration on your local machine.
- Start a Ngrok server listening at port
3000or the port you will be running the Chatwoot installation.
- Update the .env variable FRONTEND_URL in Chatwoot with the
httpsversion of the Ngrok URL.
- Start the Chatwoot server and create a new Telegram channel with the token obtained from Telegram botfather.
While creating the channel, Chatwoot should have registered a webhook callback URL in Telegram for your Bot. You can verify whether this url registration was done successfully by calling the API.
If the webhook is registered correctly with Telegram, your Ngork server should receive events for new Telegram messages, and new conversations will be created in Chatwoot.