Describe the bug
When using dff version 0.6.4 in combination with pyTelegramBotAPI version 4.22.1, the following error occurs:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\qramt\PycharmProjects\2024\qa-system-mvp\venv\lib\site-packages\dff\messengers\telegram__init.py", line 8, in
from .messenger import TelegramMessenger
File "C:\Users\qramt\PycharmProjects\2024\qa-system-mvp\venv\lib\site-packages\dff\messengers\telegram\messenger.py", line 159, in
_default_messenger = TeleBot("")
File "C:\Users\qramt\PycharmProjects\2024\qa-system-mvp\venv\lib\site-packages\telebot\init.py", line 196, in init__
util.validate_token(self.token)
File "C:\Users\qramt\PycharmProjects\2024\qa-system-mvp\venv\lib\site-packages\telebot\util.py", line 694, in validate_token
raise ValueError('Token must contain a colon')
ValueError: Token must contain a colon
This issue does not occur with earlier versions of pyTelegramBotAPI.
Describe the bug When using dff version 0.6.4 in combination with pyTelegramBotAPI version 4.22.1, the following error occurs: Traceback (most recent call last): File "", line 1, in
File "C:\Users\qramt\PycharmProjects\2024\qa-system-mvp\venv\lib\site-packages\dff\messengers\telegram__init.py", line 8, in
from .messenger import TelegramMessenger
File "C:\Users\qramt\PycharmProjects\2024\qa-system-mvp\venv\lib\site-packages\dff\messengers\telegram\messenger.py", line 159, in
_default_messenger = TeleBot("")
File "C:\Users\qramt\PycharmProjects\2024\qa-system-mvp\venv\lib\site-packages\telebot\ init.py", line 196, in init__
util.validate_token(self.token)
File "C:\Users\qramt\PycharmProjects\2024\qa-system-mvp\venv\lib\site-packages\telebot\util.py", line 694, in validate_token
raise ValueError('Token must contain a colon')
ValueError: Token must contain a colon
This issue does not occur with earlier versions of pyTelegramBotAPI.
To Reproduce pip install dff[telegram]==0.6.4 pyTelegramBotAPI==4.22.1 python -c "from dff.messengers.telegram import PollingTelegramInterface"
Expected behavior The import of the PollingTelegramInterface from dff.messengers.telegram should not raise any errors.
Desktop (please complete the following information):