Syntax error in telegram alert python code

In Telegram Alert python code it showing syntax error


This is the conf file

this is telegram_alert code


It’s difficult to detect the error through screenshot, so can you share the source file then we can assist you .

how to share source file ??

If a syntax error appears, check to make sure that the parentheses are matched up correctly. If one end is missing or lined up incorrectly, then type in the correction and check to make sure that the code can be compiled. Keeping the code as organized as possible also helps.

Regards,
Rachel Gomez

Syntax error usually happens when there are spelling and/or punctuation errors. Please check if you have missed any symbols or quotation marks in your code.

Finding a syntax error in such a huge line of code is very tough buddy. But, you can get your code verified through the below link