- Start bot
- Add it to the chat/channel as admin with full rights if it's private (else, not needed)
/backup {id}
. {id} can be @channelname or -100×××××××- (optional)
/range ××:××
. ×× are the numbers of start:end of posts/messages backup /dump {id}
id of chat/channel where you back it up. Bot MUST be admin with full rights there- (optional, True by default)
/tag {True}/{False}
If you need the forward tag or either send as copy --> will replace by 1/0 for simpler comparison /go
HERE WE GOOOOOOOW ! Sends a message with progressbar, success/fail (fails are mostly due to deleted messages) and when it's done Can take less or more time depending to how many messages
BOT_TOKEN
API_ID
API_HASH
I think it's enough…
Heroku I think… https://www.heroku.com/deploy?template=https://github.com/EDM115/telegram-backup-dump --> NOT READY YET !!!
PyroGram gang forever 💪
Commented