import requests import time import json class TelegramBot: def __init__(self): token = \'xxxxxxx\' self.url_base = f\'api.telegram.org/bot{token}/\' #