I choose heroku for use my simple python script that gets telegram messages and parses them. So when i start the script on heroku it asked for telegram number and confirmation code, but i cant to enter them because i started it by command: heroku ps:scale bot=1 and have no access to heroku terminal. Is there a solution to this problem?
I think you need to pass your session string in telethon
Need to enter telegram code after starting python bot