/telegram-backup-py

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

Primary LanguagePythonMIT LicenseMIT

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