Telegram Error 400 : chat id is empty

@chetashri2001 Sorry but these screenshots were taken for the previous issue I was facing regarding the indentation errors-“Indentation error in Telegram alert system”. I have made necessary corrections.

Let’s take things the logical way. conf.device_id was responsible for fetching data from the bolt device, which is being done flawlessly.
Now comes the part for sending the message to telegram. Here is the code failing to do so, as can be seen in the first image posted on the thread.
This is what I’m unable to get. Even when the chat id is filled correct an error for the same shows up.

The rest of the code hasn’t been touched as the previous issue was solved without doing anything to it. So it can be referred for further references. Please let me know if you get something.
And thank you so much for your efforts :pray:t2::pray:t2: