A Node.js project to fetch Telegram account ID.
-
Clone this repository:
git clone https://github.com/Semutireng22/cekid-tele.git
-
Navigate to the project directory:
cd cekid-tele
-
Install dependencies:
npm install
-
Create a Telegram bot using BotFather and obtain your bot token.
-
Open
index.js
and replaceYOUR_TELEGRAM_BOT_TOKEN
with your bot token. -
Run the bot:
node index.js
Once the bot is running, you can interact with it on Telegram. Here's how to use it:
-
Getting your Telegram ID: Simply send any message to the bot, and it will reply with your Telegram account ID.
-
Command /start: Sends a greeting message from the bot.
-
Command /help: Sends a help message explaining how to get your Telegram account ID.
/start Bot: Hello! Send any message to get your Telegram account ID.
/help Bot: To get your Telegram account ID, simply send any message.
Hello Bot: Your Telegram account ID is: 123456789.
Contributions are welcome! If you have any ideas, suggestions, or bug fixes, feel free to open an issue or create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.