Creating a Telegram Bot with Python - Hosted in a Docker Container

preview_player
Показать описание
In this video, we'll show you how to create a Telegram bot using Python and the Telethon library, and host it in a Docker container.

Next, we'll write a `Dockerfile` that will be used to build a Docker image for our bot. This file will contain instructions for installing the necessary libraries and running the bot's code.

Finally, we'll use Docker Compose to build and run the Docker image in a container. We'll then test the bot by sending it commands in the Telegram app.

By the end of the tutorial, you'll have a fully functioning Telegram bot that you can run in a Docker container.

Рекомендации по теме
Комментарии
Автор

grande video finalmente una guida precisa che cercavo! continua cosi

samirzarouali
Автор

Can we then deploy this docker with the telegram bot in a service like AWS, so I my bot can be 24/7 on "serverless"?

Ninjaxftw
Автор

sir make video on video trimmer telegram bot

BHARATHS-vonq
Автор

Hello bro, very good explanation, but I have questions with the api :c, why do I have to create it myself and upload it to some url, right?

bastianneitor
Автор

By running this docker container on our computer, can we increase the upload or download size of telegram file above 50MB?

shahidtk
Автор

Hi, bro! Please, make a video of async telegram bot using aiogram, database postgres and docker compose. 😢

Munchen