telegram channel image download
Use dynaconf to manage configurations
Use pyrogram as telegram api framework
The api_id and api_hash in settings.yaml
are only for format reference. When using it, please create a new .secrets.yaml
and fill in your own api_id and api_hash to prevent leakage.
Running mode (Linux as an example):
# 设置虚拟环境
python3 - m venv venv
# 激活虚拟环境
source venv / bin / activate
# 安装依赖项
pip install - r requirements . txt
# 执行程序
python main . py