alfred82santa / whalesong

Whalesong is an asyncio python library to manage WebApps remotely. Currently WhatsappWeb is implemented
https://whalesong.readthedocs.io
MIT License
50 stars 19 forks source link

How mark message "Read" #85

Open Tingaev opened 5 years ago

Tingaev commented 5 years ago

Hello, how I mark message is read? How I can set permanent online status while driver work? Thanks

alfred82santa commented 5 years ago

Please, one question per issue, and use labels.

1.- It is marked at chat level: https://whalesong.readthedocs.io/en/latest/api/chat.html#whalesong.managers.chat.ChatManager.send_seen

2.- https://whalesong.readthedocs.io/en/latest/api/display_info.html#whalesong.managers.display_info.DisplayInfoManager.set_available_permanent

Tingaev commented 5 years ago

Thanks you, but method send_seen is not worked And I don't know where add set_available_permanent in minibot.py

alfred82santa commented 5 years ago

set_available_permanent is on display_info manager: https://github.com/alfred82santa/whalesong/blob/master/examples/presencemonitor.py#L39

If send_seen is not working, please check it in a group, not in a contact chat. If it's still not working, create a bug, please.