Please check that there is no typo in the telegram chat id or bot id. python is case sensitive.
i did but the outcome is same everytime
Telegram bot id should start with bot. You are using BOT in your conf file.
telegram_bot_id = "botXXXX" # This is the bot ID of the created Telegram Bot. Paste after bot text.
Do let me know in case you need further assistance.
Can you share the screenshot of your bot id and channel id from your telegram app ? There must be some typo in the code.
You have forgot / in “/sendMessage” . Check the send_telegram_message function.
im sorry i didnt get what u meant?
Please check chat ID & BOT ID carefully in conf.py
telegram_chat_id = “@XXXX” # This is the channel ID of the created Telegram channel. Paste after @ symbol.
telegram_bot_id = “botXXXX” # This is the bot ID of the created Telegram Bot. Paste after bot text.
But in your code, you have not added / (slash).
thank you for your help the problem is solved