Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to read bot Telegram messages

I have successfully created a bot with and am able to fetch messages from a chat using the getupdates method (long polling).

The getUpdates method is only showing user posted messages (clientside). When I post messages directly using the sendmessage method (serverside) these messages do appear in the chat, but do not in the getUpdates log.

This page https://github.com/LibreLabUCM/teleg-api-bot/wiki/Getting-started-with-the-Telegram-Bot-API#getupdates states it logs only when "An user messages your bot, either directly or in a group." and some other ways, but the sendMessage way is not mentioned.

I've read a bit on the setwebhook method (push) but am not sure this will fix my issue.

Is this possible?

like image 779
mdbxz Avatar asked Oct 28 '25 12:10

mdbxz


1 Answers

According to Bot FAQ, bots will not be able to see messages from other bots regardless of mode.

like image 144
Sean Avatar answered Oct 31 '25 13:10

Sean