DEV Community

Discussion on: Sending messages with Telegram bot

 
rizkyrajitha profile image
Rajitha Gunathilake

wow , that's some serious debugging.
for me the results came after i added the bot to the group and then i send some messages to the group. so there is some data to show.

Thread Thread
 
karataev profile image
Eugene Karataev

Yeah, but in normal situation even if you don't add the bot to the group and send request https://api.telegram.org/bot<token>/getUpdates, you'll get an emtpy response like {"ok":true,"result":[]}.
In the case of access restriction on a government level, there is no response in Postman at all.
no response

Thread Thread
 
rizkyrajitha profile image
Rajitha Gunathilake

thanks 👍