mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Initial attempt at telegram notifications
This commit is contained in:
13
temp.py
Normal file
13
temp.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from telegram_interface import models
|
||||
|
||||
# man = models.TelegramManager(token="135462350:AAEhnE-Nd90fQIYM988H3rfUKVsT2MI24_A")
|
||||
# man.save()
|
||||
|
||||
man = models.TelegramManager.objects.all()[0]
|
||||
|
||||
|
||||
man.lookupUpdates()
|
||||
|
||||
man.broadcastMessage("THIS IS A BROADCAST, CAN YOU HEAR ME?")
|
||||
|
||||
exit()
|
||||
Reference in New Issue
Block a user