This robot can read the messages of any channel and put it in a variable
Prerequisites and libraries are installed automatically Please pay attention to capitalization of words And read the contents of the page carefully
-
Windows:
- Download Python 3.8 from here
- Launch installer, click
add python to PATH
- Download Telegram-channel-backup
- Open cmd or powershell in Impulse directory
-
Linux:
sudo apt update
sudo apt install python3 python3-pip git -y
git clone https://github.com/amirdecoder/Telegram-channel-backup
cd Telegram-channel-backup
python3 Smsbomber.py
-
Termux:
pkg update
pkg install python3 python3-pip git -y
git clone https://github.com/amirdecoder/Smsbomber-python
cd Smsbomber-python/
python3 New Project.py
from telethon import TelegramClient, events, sync
api_id = ''
api_hash = ''
phone = ''
username = 'Client'
channel = 'https://t.me/Channel'
client = TelegramClient(username, api_id, api_hash)
client.start()
messages = client.get_messages(channel)
text = ""
for message in messages:
if message.message:
text += f"{message.message} \n"
print(text)
Amirhossein arabahmadi Im programmer In terms of technology limitations are meaningless to me Programming for me is like a restaurant where I cook myself and I enjoy the taste of food I use my hands to help people And with all my being I want to be useful to the world ❤️ I love you all, Amirdecoder
CLICK ME
https://Github.com/amirdecoder
https://instagram.com/amirdecoder
amir0026a#6625
https://t.me/amirdecoder