A Telegram bot that logs phone numbers from user interactions. This bot can be used for managing contact information provided by users in a Telegram chat.
- Captures phone numbers from Telegram user interactions.
- Logs phone numbers to a file or database (depending on setup).
- Node.js installed on your machine.
- A Telegram Bot API Token.
-
Clone or Download this repository:
git clone https://github.com/EnesKeremAYDIN/TelegramPhoneNumberLoggerBot.git cd TelegramPhoneNumberLoggerBot
-
Install Required Packages:
npm install
- Set Up Environment Variables:
- Configure your Telegram Bot API Token in the environment variables or directly in the code if applicable.
Run the bot by executing:
node bot.js
bot.js
: Main script that logs phone numbers from Telegram interactions.
This bot is designed for responsible contact management. Ensure you have user consent before logging any personal information, and comply with privacy laws and Telegram's terms of service.