node-telegram-bot-api icon indicating copy to clipboard operation
node-telegram-bot-api copied to clipboard

Telegram Bot posts in channel not returned in getUpdate query

Open eviljoen opened this issue 3 years ago • 1 comments

Question

I'm posting Tradingview triggers into Telegram channel, I then want to retrieve them using https://api.telegram.org/botxxxxxxxxx/getUpdates to be able to place a trade in Bybit.

I find that the entries made by the TelegramBot are not retrieved with this command, only message from users.

My question is what do I need to do to be able to have the bot channel posts in my getupdates?

eviljoen avatar Sep 10 '22 15:09 eviljoen

Hi, you use the event bot.on('channel_post', (msg) => {})?

danielperez9430 avatar Sep 20 '22 09:09 danielperez9430