def __init__(self, api_key, chat_id):
        import telegram

        self._api_key = api_key
        self._chat_id = chat_id
        self.bot = telegram.Bot(token=self._api_key)
Initialize the service.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/notify/telegram.py/TelegramNotificationService.__init__