To use the Telegram Username to User ID Converter Bot, follow these steps:
-
Clone the Repository: Clone this repository to your local machine using Git.
git clone https://github.com/ATOUIYakoub/Telegram-Username-to-User-ID-Converter-Bot.git
-
Install Dependencies: Navigate to the project directory and install the required dependencies.
cd telegram-username-to-user-id-bot
-
Replace Telegram Token: Open the
boot.py
file and replace theYOUR_TELEGRAM_TOKEN_HERE
placeholder with your own Telegram bot token. You can obtain a token by creating a new bot using BotFather.# boot.py # Replace 'YOUR_TELEGRAM_TOKEN_HERE' with your own Telegram bot token TOKEN = 'YOUR_TELEGRAM_TOKEN_HERE'
-
Run the Bot: Start the bot by running the
boot.py
file.python boot.py
That's it! The bot should now be up and running, ready to convert Telegram usernames to user IDs.
To use the Telegram Username to User ID Converter Bot, follow these steps:
- Start the Bot: Start a conversation with the bot by searching for it on Telegram and typing "/Start".
- Get User ID: Once the bot welcomes you, send your username to the bot. It will then reply with your user ID.
That's it! The bot will handle the rest.
We welcome contributions to improve the Telegram Username to User ID Converter Bot.
Thank you for contributing!