Issue: Module telegram
has no attribute File
#214
Labels
question
A question about how the program works.
telegram
has no attribute File
#214
Describe the bug
When i run core.py: "AttributeError
module 'telegram' has no attribute 'File'
File "C:\Users\Саша\Desktop\greed-master\database.py", line 138, in Product
def set_image(self, file: telegram.File):
^^^^^^^^^^^^^
File "C:\Users\Саша\Desktop\greed-master\database.py", line 90, in
class Product(TableDeclarativeBase):
File "C:\Users\Саша\Desktop\greed-master\core.py", line 9, in
import database
AttributeError: module 'telegram' has no attribute 'File'"
Steps to reproduce the behavior
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: