This is a Telegram bot written in Node.js that allows users to forward messages to a specific chat. The bot supports multiple commands for interacting with its features, including subscribing to a premium plan, checking the subscription status, testing the bot's speed, and more.
- Clone the repository:
git clone https://github.com/your_username/telegram-bot.git
cd telegram-bot- Install the required dependencies:
npm install-
Obtain your Telegram Bot API token:
a. Create a new bot on Telegram and get the token from the BotFather.
b. Replace
'YOUR_TOKEN'inmainBot.jswith your actual token.
4
. Replace 'FORWARD_CHAT_ID' in mainBot.js with the chat ID of the chat where you want the forwarded messages to be sent.
To start the bot, run the following command:
node mainBot.jsOnce the bot is up and running, you can interact with it using the available commands.
The bot offers two subscription plans: Free Plan and Premium Plan. Details about the plans and their forwarding limits are mentioned in the documentation.
Contributions are welcome! If you find any issues or have ideas for improvements, feel free to open an issue or submit a pull request.
This Telegram bot is open-source and distributed under the MIT License.
This bot is created and maintained by Your Name.