-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bot token as environment variable #30
Comments
Hi I don't know how to reproduce that error. You mention docker-compose, but I removed the file few weeks ago, as now you can this directly from DockerHub (i.e nyaran/telegram-download-daemon-ng). Anyway, if you keep getting that error, please create a separate issue. About the request to add an environment variable to use the bot id, is a good idea, I will work on it. |
You can use the docker tag docker pull nyaran/telegram-download-daemon-ng:1.0.0-beta.6 |
Hi Luis,
thank you very Much for your time and effort.
but when i send a file to my channel i get this message: |
Hi Luis, can you help me with this error? |
Moved to #32 |
Hi Nyaran,
I start the container with the command "docker compose run --rm telegram-download-daemon", then I enter the token ID of my bot, which is admin in my channel, then I copy the DownloadDaemon.session in session folder from my stack into portainer and start the stack. the logs of telegram-download-daemon looks like this right now:
I noticed that if you enter the BOT token instead of your phone number, you don't have to enter any code. (so there is no interaction necessary) Is it possible to pass the "bot token" as an environment variable to skip this interactive part? so the authentication is going to be done on every restart!
Best regards,
Shahram
The text was updated successfully, but these errors were encountered: