Telegram SMS Error

My Telegram bot isn’t displaying the message on the channel and the PUTTY interface is showing an error . Please help

The error

The code

Could you once show the screenshot of your file

@f20202142 In line 4 bot_id has to be typed in the format “bot<your_bit_id>” try doing this correction, I was facing the same error, and it worked for me.

1 Like

@f20202142 @Ekansh’s response is correct. It should be bot<your_bit_id>( bot5…).
Also, kindly regenerate all your API keys and Bot id as you have exposed them publicly on the forum. Always hide all API keys and secrets while posting on the forum or anywhere publicly.


Thanks for the help.Its working now

1 Like