I would like to be able to send a message to a group chat in Telegram. I want to run a python script (which makes some operations that already works) and then, if some param
I would recommend the first option.
Once you are comfortable with generating an AuthKey, you should start to get a handle on the documentation.
To help, I have written a detailed step-by step guide of how I wrote the AuthKey generation code from scratch here.
It's in vb.net, but the steps should help you do same in python.