Service which is engaged in sending files in telegrams
app-id
telegram app id. You can get it from telegram appsapp-hash
telegram app hash. You can get it from telegram appsbot-token
telegram bot token. How to create it looks hereuser-id
telegram user-id which bot will send filesinput-folder
the folder from which the service will take files to send to the useroutput-folder
the 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
go
version 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}}