Skip to main content
Best answer

Can't find any Telegram Chat ID in the Telegram action

  • 17 May 2024
  • 3 replies
  • 513 views

Why is this so complicated on probably one of the most simple 2 step zaps you could ever create? And yes I did try searching and reading the other posts but I think they were outdated...literally just take a wordpress post and send a link to it on telegram - is the entirety of the zap (see pic). And it can’t find the telegram chat ID for my telegram channel. I’m guessing I need to somehow get the bot to say something in my telegram channel before it will show up in the chat ID on Zapier? because I sent a personal private message to my bot using my account and it showed up in chat ID field on zapier. I honestly don’t understand how i’d pay like $50 for something that at this day and age that isn’t as easy and point and click...

 

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +14

Hi @JDZAPCOM 

Help article about using Telegram in Zaps: https://help.zapier.com/hc/en-us/articles/16700016131085-How-to-get-started-with-Telegram-on-Zapier#about-app-s-app

Help article about using dropdown fields: https://help.zapier.com/hc/en-us/articles/8496241696141-Add-custom-values-to-dropdown-menu-fields-in-Zaps

 

 

 

Userlevel 1

Alright so for those that are searching the forums in the future, and found the support provided copy pasta reply less than useful… figured it out myself. Basically open terminal if you have linux or apple or cmd prompt/powershell if you have windows and input this line of code curl -X POST "https://api.telegram.org/botYOUR_BOT_TOKEN_HERE/sendMessage" -d "chat_id=YOUR_TELEGRAM_CHANNEL_ID_HERE&text=Test Message" (yes include the bot before YOUR_BOT_TOKEN_HERE when replacing that with your own bot token

 

You can get the bot token during creation of your telegram bot (you should have saved it) and you can get the channel ID by opening telegram web clicking the correct telegram channel to open it and the channel ID will display in the URL bar after the hastag # for example #-30200022992 (yes include the dash -)

 

If done properly it will make your bot send the “test message” text to the correct telegram channel, then it will show up in the chat ID drop-down field on Telegram.

 

Guess being an ex electronics repair tech has it’s uses but this was normally well out of my purview. Hope you found this useful. Yes Zapier I am available for part time work in your support department. Haha

Userlevel 1

I had to do the following to get my telegram channel ID to show up in my zap:

  1. Go to botfather and open bot settings using the menu
  2. in bot father settings → disable privacy mode in bot settings
  3. in botfather settings → in channel admin rights and group admin rights → allow bot to manage channel and group
  4. in botfather settings → give permission to delete message + pin messages + manage chat
  5. go into channel settings → click admin and make sure bot is given admin permissions
  6. if done correctly when you go into channel settings → click bot --> admin rights → it should say under the bot “has access to messages” (that means it can read all the messages)
  7. Post a message from my personal account into the telegram chat / channel with the bot
  8. Go back to zapier → to zap → to telegram send message action → to the action → click channel ID drop down → clear and refresh → channel ID should show up now