mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.03k stars 797 forks source link

How can I get the history messages in a chat? #940

Closed santirlopez1124 closed 3 years ago

santirlopez1124 commented 3 years ago

To get all the messages I need to scroll the page, or in fact how can I automatize the scrolling to get all the history messages.

emiliojab commented 2 years ago

Did you figure it out ?

santirlopez1124 commented 2 years ago

@emiliojab yep, there's a method in init of webdriver, the method is called load_all_messages_in_chat and it charge all the messages and later you need to create a variable using the method to get the messages. I mean you need to load the messages and latter get the messages

emiliojab commented 2 years ago

okay thank you