'How can I use the Telegram automatic message bot when I am not there?

how can I run the telegram auto message bot when I turn off my computer with the API I made with python?

Otherwise, it exits the terminal and the bot closes automatically.



Solution 1:[1]

Are you asking why when your computer turns off, and the python file stops running, the bot no longer functions?

You would need to have either a server or another device to run it then, should you wish to turn your computer off

I'm not sure if I misunderstood this or not.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Rexy