@smyak/tg-send
v0.0.3
Published
Simple send message to Telegram group
Downloads
3
Readme
Simple send message with Telegram
Copy .env-sample to .env (if not exists in your project)
Get TELEGRAM_TOKEN from Bot Father and add to .env
Create group and add your bot to group
Get chat id with https://api.telegram.org/botYOUR_BOT_TOKEN/getUpdates (should started with - like -123456789)
Add TELEGRAM_CHAT_ID to .env
require('simpleSendTg')('Any text message');