Table of Contents
This is a simple PyAUTOGUI based script.
- Set UP the script based on instructions below
- Open Telegram
- Run the script
- Enjoy AutoSending of your messages!
-
Clone the repo
git clone https://github.com/turazashvili/telegram-auto-sender.git
-
Install Python Choose latest release for your OS https://www.python.org/downloads/
-
Install all libraries one by one
pip install webbrowser pip install pyautogui pip install threading pip install keyboard
-
Export database from Telegram
- Click on Settings >>> Advanced >>> Export Telegram Data.
- Select the box “Contacts List” only.
- Scroll down and click on Json format.
- Save the file in the same folder with this project and call it contacts
- Delete everything except List category. So it looks like on the screenshot below
-
Run the script
python getlist.py
It will generate the file copyToMain.txt with proper formatting to insert it to Array of clients we want to send our message to!
-
Insert the names from copyToMain.txt to names array and Message you want to send to your contacts.
7.Run the script
python main.py
- Open Telegram (you will have 5 seconds before the script starts sending messages.
- Long Press 'S' key on your keyboard to stop the script!
- Add other ways to extract data from contacts.
- Add more styling to messages.
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Nikoloz Turazashvili - @axrisi - turazashvili@gmail.com
Project Link: https://github.com/turazashvili/telegram-auto-sender/