Upload video with cover to Telegram
- Get
API_ID
andAPI_HASH
from https://core.telegram.org/api/obtaining_api_id - Get
BOT_TOKEN
from @BotFather - Copy
production.env.example
toproduction.env.example
and fill in all the variables - Invite your bot into channel/group you configured just now
- Put video file (mp4/mkv) and image cover (jpeg/jpg/png) into
tmp
folder - Rename image cover filename to match video filename (example below)
my_video.mp4
my_video.png
- Run
docker-compose up
in current directory, after building complete, it will upload video to channel/group - Run
docker-compose up --force-recreate --build
if you want to update image/container