# deno_telegram_bot
**Repository Path**: SuperWindcloud/deno_telegram_bot
## Basic Information
- **Project Name**: deno_telegram_bot
- **Description**: 使用deno运行时的 telegram TrueCaller bot
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-02-27
- **Last Updated**: 2025-02-27
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# TrueCaller搜索机器人
使用非官方TrueCaller API立即查找电话号码信息的电报机器人。这是偶尔使用TrueCaller的替代方法,而不是一直在后台运行其应用程序。
### Setup Telegram Bot
1. Create a new bot using [@BotFather](https://t.me/BotFather).
2. Set the bot commands:
```plaintext
login - Login to Truecaller
installation_id - Login via existing token
logout - Logout from Truecaller
info - Information about the bot
```
3. [Set the webhook URL](https://core.telegram.org/bots/api#setwebhook) after deploying the bot using the following procedure.
### Deno Deploy
1. [Fork](/../../fork) this repo on GitHub.
2. Create a [new Deno Deploy](https://dash.deno.com/new) project from the forked repo.
3. Go to the project's `Settings` tab and add the Environment Variables from [.env.example](.env.example) file. You can skip adding the optional envs as they aren't critical to the service.
4. Grab the deployment URL from the `Overview` tab and set the webhook mentioned in previous section.