An open API service indexing awesome lists of open source software.

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

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:

![image](https://user-images.githubusercontent.com/82075/163342093-0b5ec5e1-03f6-4d3f-b6d4-4837666fc62c.png)

## Run the setup

```npx telegram-bot-setup```

Enter the bot token and get the QR code:

![image](https://user-images.githubusercontent.com/82075/163342421-6fd27301-25bb-4c5d-8b95-76336127cf77.png)

## Scan the QR and press start:

The output is the token and the chat id:

![image](https://user-images.githubusercontent.com/82075/163343316-dd1ee8a6-2c88-4195-873a-6b6ac9c27e22.png)