danihuge / telegram-backup-py

Python code to backup telegram chat / channel history to files or republish in other channel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

telegram-backup-py

Python3 code to backup telegram chat / channel history to files or republish in other channel

Dependencies

pyrogram - pip3 install pyrogram

Vars to set before running

_session_name = "xxxxxxxxxx"
_api_id = 1234
_api_hash = "xxxxxxxx"
_backup_chat_id = "xxxxxxxxxx"

Check all info in: https://docs.pyrogram.ml/pyrogram/Client

About

Python code to backup telegram chat / channel history to files or republish in other channel

License:MIT License


Languages

Language:Python 100.0%