-
-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue: Module telegram
has no attribute File
#214
Labels
question
A question about how the program works.
Comments
Your Python module |
Steffo99
added
question
A question about how the program works.
and removed
bug
Something that doesn't work as expected.
labels
Oct 6, 2023
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: