git clone https://github.com/Kigrok/tg_spam.git
cd tg_spam
python3 -m venv venv
source ./venv/bin/activate
pip3 install -r requirements.txt
- Log in Telegram.
- Create App.
- Add to config file
tg_spam/data/config.yml
'api_id', 'api_hash', 'app_title'.
- Add media in
tg_spam/data
(image or video).If just a message, don't add anything.
- Add message in
tg_spam/data/message.py
.
python3 spam.py -c <telegram chat (chat name or link)>