A Telegram bot that uses an unofficial Truecaller API to look up phone number information instantly. It's an alternative for occasional use of Truecaller than running their app in background all the time.
This is a Deno project currently deployed on Deno Deploy. It uses Deno KV which requires you to join the waitlist first before you get access to it.
-
Create a new bot using @BotFather.
-
Set the bot commands:
login - Login to Truecaller installation_id - Login via existing token logout - Logout from Truecaller info - Information about the bot
-
Set the webhook URL after deploying the bot using the following procedure.
- Fork this repo on GitHub.
- Create a new Deno Deploy project from the forked repo.
- Go to the project's
Settings
tab and add the Environment Variables from .env.example file. You can skip adding the optional envs as they aren't critical to the service. - Grab the deployment URL from the
Overview
tab and set the webhook mentioned in previous section.
Author: Nissan Ahmed (@ni554n)
Donate: PayPal