DEV Community

Discussion on: Automating WhatsApp web with alright

Collapse
 
hq063 profile image
Gonzalo HQ063

Really cool feature, any way to use it for sending messages to a group chat?
Thanks

Collapse
 
kalebu profile image
Jordan Kalebu

Not yet, working on it

Collapse
 
kalebu profile image
Jordan Kalebu

Jus updated the package so firstly just upgrade the package

pip install --upgrade alright 
Enter fullscreen mode Exit fullscreen mode

and then instead of using find_user() user find_by_username(group-name)

>>> from alright import WhatsApp
>>> messenger = WhatsApp()
>>> messenger.find_by_username('saved-name or number or group')
Enter fullscreen mode Exit fullscreen mode

Let me know how it goes