Answer the question
In order to leave comments, you need to log in
Why doesn't the telebot module have a types class?
I'm writing a telegram bot and I'm trying to import the types class from the telebot module, but it throws an error:
Traceback (most recent call last):
File "C:\Users\maksa\Desktop\My Files\bad bot\main.py", line 2, in <module>
from telebot import types
ImportError: cannot import name 'types' from 'telebot' (C:\Program Files\Python39\lib\site-packages\telebot\__init__.py)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question