Git Product home page Git Product logo

telegram-forward-bot1's Introduction

Telegram Forwarder Bot

This Telegram bot facilitates the forwarding of messages from one channel to another. It ensures that both the source and destination channels have administrative privileges for successful message forwarding. Additionally, it supports authorization and cancellation commands for enterprise and production-level use.

Features

  • Message Forwarding: Seamlessly forward messages from the old channel to the new channel.
  • Authorization Control: Utilize /auth and /unauth commands to manage user access to the bot.
  • Cancellation Support: Employ the /cancel command to halt ongoing message forwarding.

Setup

  1. Fork the repo: Fork the repo with your own name.
  2. Fill Bot Token and User ID: In the main.js file, replace botToken with your bot token and ownerUserId with your ID.
  3. Deploy the Bot: Deploy the bot by clicking the following link: Deploy on Heroku

Usage

Authorization Commands

  • /auth <user_id>: Authorize a user to access the bot.
  • /unauth: Revoke authorization for a user.

Message Forwarding

  1. Start the bot.
  2. Provide the source channel ID, destination channel ID, start message ID, and end message ID when prompted.
  3. The bot will forward messages from the specified range.

Cancellation Command

  • /cancel: Cancel ongoing message forwarding.

Contact

  • Website: Website
  • Telegram: Telegram
  • YouTube: YouTube

Dependencies

License

This project is licensed under the MIT License.

telegram-forward-bot1's People

Contributors

vijaysingh147 avatar devgaganin avatar sonikaji123 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.