initial
This commit is contained in:
9
telegram_wrapper.py
Normal file
9
telegram_wrapper.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import telebot
|
||||
|
||||
|
||||
class Bot:
|
||||
def __init__(self, token, *args, **kwargs):
|
||||
self.bot = telebot.TeleBot(token, *args, **kwargs)
|
||||
|
||||
def polling(self):
|
||||
self.bot.infinity_polling(interval=0, timeout=20)
|
||||
Reference in New Issue
Block a user