16 lines
323 B
Python
16 lines
323 B
Python
import telebot
|
|
|
|
|
|
class Notifier:
|
|
"""
|
|
Sends notifications to users about new RSS feed items.
|
|
"""
|
|
|
|
bot: telebot.TeleBot
|
|
|
|
def __init__(self, token: str):
|
|
self.bot = telebot.TeleBot(token)
|
|
|
|
def notify(self, chat_id: int):
|
|
self.bot.send_message(chat_id=chat_id, text="Notification stub")
|