Skip to content

This robot can read the messages of any channel and put it in a variable

Notifications You must be signed in to change notification settings

amirdecoder/Telegram-channel-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Telegram-channel-copy-message

This robot can read the messages of any channel and put it in a variable


🧑‍🦱 Amirhossein arabahmadi


Prerequisites and libraries are installed automatically Please pay attention to capitalization of words And read the contents of the page carefully

💿 Installation :


  • 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

Open source :

   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)

ℹ️ Short explanation :


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

Amirhossein arabahmadi

🗃️: Social Networks :


CLICK ME

Github :

   https://Github.com/amirdecoder

Instagram :

   https://instagram.com/amirdecoder

Discord :

   amir0026a#6625

Telegram :

   https://t.me/amirdecoder


:feelsgood: : Donate :


CLICK ME

USDT :

   TBF2i8ENeR7491Zd8ZkcyLzEcSzG5w73Mz

BTC :

   1MmBWgLaGyiXfVwPURKULMeaDPNagdZ8nc

About

This robot can read the messages of any channel and put it in a variable

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages