Closed 13100D closed 2 years ago
I'm currently traveling, I'll try to figure it out ASAP
Apparently it's complaining because of the list[str]
operation, which is something I believe was added in recent versions. Maybe we could change it to List[str]
(with List
being imported from typing
).
@13100D uh, did you get it working? Not sure if you closed because of the solution I proposed or if you got it working now.
@YohananDiamond i wasn't sure either, but i've just updated it, i just need to upload it to pip
from whatsappy import whatsapp File "c:\Users[my user]\AppData\Local\Programs\Python\Python38\lib\site-packages\whatsappy__init__.py", line 1, in
from .chat import (
File "c:\Users[my user]\AppData\Local\Programs\Python\Python38\lib\site-packages\whatsappy\chat.py", line 7, in
from .message import *
File "c:\Users[my_user]\AppData\Local\Programs\Python\Python38\lib\site-packages\whatsappy\message.py", line 19, in
class _BaseMessage:
File "c:\Users[my user]\AppData\Local\Programs\Python\Python38\lib\site-packages\whatsappy\message.py", line 64, in _BaseMessage
def forward(self, contacts: list[str]):
TypeError: 'type' object is not subscriptable