I have linked my telegram with n8n. When a workflow is finished or if I have to confirm something I get a message in my telegram, but if I have a trigger with updates message and then on trigger on message and I go to the bot that I have linked with the api and send a message there then nothing happens.
Do you know what else I can check?
If i click in the cloud add field. I get only 1 optie that is download image. On my hosting server i get 3 optes: Restrict to chat IDs, Restrict to User IDs and download imgae.
The API works in the cloud from n8n but not on my server.
Maybe I am not completely clear. Here is the workflow.
What happens is I send a message to a telegram bot for example keyword IT. The workflow is then started and will research this keyword. I can also do this with an http website. If I go to my bot in telegram that I have made and I send a url in the bot then the trigger will start. Hence trigger on message.
When you created your bot, you used BotFather, after you created the BotName it will have responded with
I altered my text below, but yout BOT id would be at […]
Done! Congratulations on your new bot. You will find it at t.me/[yourbotname]. You can now add a description, about section and profile picture for your bot, see /help for a list of commands. By the way, when you've finished creating your cool bot, ping our Bot Support if you want a better username for it. Just make sure the bot is fully operational before you do this.
Use this token to access the HTTP API:
[......]
Keep your token secure and store it safely, it can be used by anyone to control your bot.
For a description of the Bot API, see this page: https://core.telegram.org/bots/api
If you lost that, then you can retrieve your BOT / HTTP Api at BotFather in telegram
1 open telegram
2 goto the channel BotFather
3 type /mybots
4 choose the correct bot (if you have more then 1)