Service which is engaged in sending files in telegrams
app-idtelegram app id. You can get it from telegram appsapp-hashtelegram app hash. You can get it from telegram appsbot-tokentelegram bot token. How to create it looks hereuser-idtelegram user-id which bot will send filesinput-folderthe folder from which the service will take files to send to the useroutput-folderthe folder in which the service will put the files after sending to the user
- copy provided docker-compose.yml and customize
- compile from the sources -
docker-compose build && docker-compose up -d
- make sure that you have
goversion 1.16 or higher - compile binary file
make build - run it
./dist/uptotg \
--app-id={{app-id}} \
--app-hash={{app-hash}} \
--bot-token={{bot-token}} \
--user-id={{user-id}} \
--input-folder={{input-folder}} \
--output-folder={{output-folder}}