https://github.com/sashee/telegram-bot-setup
Easily set up a chat with your bot
https://github.com/sashee/telegram-bot-setup
cli nodejs telegram
Last synced: 2 months ago
JSON representation
Easily set up a chat with your bot
- Host: GitHub
- URL: https://github.com/sashee/telegram-bot-setup
- Owner: sashee
- Created: 2022-04-14T07:45:16.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-16T09:10:14.000Z (about 4 years ago)
- Last Synced: 2025-03-04T09:20:38.831Z (over 1 year ago)
- Topics: cli, nodejs, telegram
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Easily set up a chat with your bot
Run the script, scan the QR code, start the chat and get the chat ID. You can then use that in your scripts or automation to send a notification to yourself.
## Register a bot
Chat with [BotFather](https://t.me/botfather/) and get a token:

## Run the setup
```npx telegram-bot-setup```
Enter the bot token and get the QR code:

## Scan the QR and press start:

The output is the token and the chat id:
