Skip to content

Kigrok/tg_spam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Spam Bot "TGSpam"

Telegram Python [Telegram] pyrogram live

Banner

The bot collects chat participants (no more than 10,000 people) and sends them a message.


Install

Clone repository

git clone https://github.com/Kigrok/tg_spam.git
cd tg_spam

Installing the virtual environment and packages

python3 -m venv venv
source ./venv/bin/activate
pip3 install -r requirements.txt

Add to config.yml telegram account

  1. Log in Telegram.
  2. Create App.
  3. Add to config file tg_spam/data/config.yml 'api_id', 'api_hash', 'app_title'.

Add message and media

  1. Add media in tg_spam/data (image or video).

    If just a message, don't add anything.

  2. Add message in tg_spam/data/message.py.

Start

python3 spam.py -c <telegram chat (chat name or link)>

Releases

No releases published

Packages

No packages published

Languages