Modify default path of .whatsappweb4j directory
Hi @Auties00, is it possible to modify the path of the .whatsappweb4j directory so that I can store it elsewhere?
Hi @Auties00, is it possible to modify the path of the .whatsappweb4j directory so that I can store it elsewhere?
Yeah but you'll have to write a custom serializer,, check the readme
Oh, I hadn´t seen it. Thanks
I implemented the CustomSerializer and it works fine. Thank you. With default serialization, for getting keys & store of previous sessions you have Whatsapp.listConnections(). Is there a way to get the List of Whatsapp objects from previous sessions using the location from CustomSerializer?
I implemented the CustomSerializer and it works fine. Thank you. With default serialization, for getting keys & store of previous sessions you have Whatsapp.listConnections(). Is there a way to get the List of Whatsapp objects from previous sessions using the location from CustomSerializer?
Oh well I never thought about that, I should implement a service for that
I implemented the CustomSerializer and it works fine. Thank you. With default serialization, for getting keys & store of previous sessions you have Whatsapp.listConnections(). Is there a way to get the List of Whatsapp objects from previous sessions using the location from CustomSerializer?
In the latest version, I've added a ids() method inside ControllerProvider, previously ControllerSerializer, to handle this use case. Also added documentation to the readme. Thanks for the suggestion