Skip to content

crlsgms/Telegram-api-msg-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Telegram-api-msg-bot

Shell Script to send messages to Telegram using BOT

To configure your bot, RTFM:

https://core.telegram.org/bots

Install

git clone https://github.com/area31/Telegram-api-msg-bot.git mv Telegram-api-msg-bot /opt

Configure your API KEY in file send-msg-telegram.conf

DEBUG="0"
KEY="KEY HERE"
MSG_FILE="/opt/Telegram-api-msg-bot/msg.txt"
  • To debug, set 1 on $DEBUG

Configure your alerts on correct format in file msg.txt

Time | MSG

Example:

22:40|Hora de dormir
4:20|virjes everywhere

Add to crontab

* * * * * root /opt/Telegram-api-msg-bot/send-msg-telegram msg

About

Shell Script to send messages to Telegram using BOT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%