Code Monkey home page Code Monkey logo

backup-d's Introduction

telegram-backup-dump

Backs up a whole (or not) chat/channel by forwarding to another one

Usage

  • 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

Needed variables

  • BOT_TOKEN
  • API_ID
  • API_HASH
    I think it's enough…

Hosting

Heroku I think… https://www.heroku.com/deploy?template=https://github.com/EDM115/telegram-backup-dump --> NOT READY YET !!!

Framework

PyroGram gang forever 💪

Code style

Commented

backup-d's People

Contributors

edm115 avatar renovate[bot] avatar deepsource-autofix[bot] avatar deepsourcebot avatar my-hero-op avatar mend-bolt-for-github[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.